I built wp-mcp — an MCP (Model Context Protocol) server that exposes WordPress management tools to AI clients. It connects directly to your WordPress database through wp-node, a TypeScript library that mirrors WordPress core CRUD operations. The goal is to let AI agents or CLI tools create, edit, and publish WordPress content without PHP or wp-admin.
What it can do:
- Create and update posts
- Manage users, categories, tags and more
- Move drafts through review → publish flows
- Works via STDIO (for local clients like Claude Desktop) and Streamable HTTP (for remote setups)
Proxy and Transport:
- Includes a lightweight proxy utility that runs as a local MCP endpoint and forwards requests to a remote wp-mcp server
- Useful when your AI client doesn’t fully support remote MCP or OAuth
Under the hood:
- Written entirely in TypeScript
- Uses wp-node for strongly typed access to the WordPress database (MySQL/MariaDB)
- Returns structured responses for AI clients
- Early but stable enough for draft-to-publish automation
Docs and quick-start instructions are in the README. https://github.com/rnaga/wp-mcp
Thanks for checking it out.