The WordPress MCP server provides a bridge between AI assistants and WordPress sites, enabling content management operations through the Model Context Protocol. Developed by Leonelberio, this TypeScript implementation leverages the MCP SDK and Axios to offer tools for creating, retrieving, and updating WordPress posts via the WordPress REST API. The server supports authentication through environment variables or request parameters, making it flexible for various deployment scenarios. It's particularly valuable for content creation workflows where AI assistants need to directly interact with WordPress sites without requiring users to manually transfer content.
Creates a new WordPress post. Parameters: siteUrl (optional), username (optional), password (optional), title (string), content (string), status (optional 'draft' | 'publish' | 'private', default: 'draft')
Retrieves WordPress posts. Parameters: siteUrl (optional), username (optional), password (optional), perPage (optional, default: 10), page (optional, default: 1)
Updates an existing WordPress post. Parameters: siteUrl (optional), username (optional), password (optional), postId (string), title (optional), content (optional), status (optional 'draft' | 'publish' | 'private')
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!