MCP WordPress Post Server is an MCP server that connects AI assistants to WordPress websites via the REST API for content and media management. Built primarily for bloggers, content marketers, and developers, it enables large language models to manage posts and upload media files directly through native local file paths rather than Base64 encoding. By referencing files by path, the server uploads images using standard multipart/form-data via the WordPress media API, preventing the data loss and memory overhead associated with string-encoded uploads. The server exposes tools to create new posts, update existing entries, retrieve individual articles, and list published or draft posts with pagination support. Authors can structure content with image placeholders, and the server automatically attaches the files, lets WordPress perform responsive srcset generation, and updates the final markup. This setup allows users to control the complete publishing lifecycle, including drafting, reviewing, and publishing blog content directly from an MCP client interface.
Category: CRM, ERP & E-commerce
Tags: blogging, cms, content-management, media-upload, wordpress
Visit MCP WordPress Post Server
bash git clone https://github.com/kentaroh7777/mcp-wordpress-post cd mcp-wordpress-post 2. Install dependencies and compile the TypeScript code: bash npm install npm run build 3. Configure your WordPress credentials by copying .env.example to .env and adding your site URL, username, and application password. 4. Add the server entry to your MCP client configuration (e.g., Claude Desktop config): json { "mcpServers": { "wordpress-post": { "command": "node", "args": ["/path/to/mcp-wordpress-post/build/posts-only.js"] } } } 5. Restart your MCP client to load the tools.Part of MCP Servers
MCP WordPress Post Server enables an MCP client to interact with WordPress. It allows AI models to draft, update, retrieve, and paginate blog posts, as well as upload images directly from local file paths using standard multipart/form-data requests.
To install it, clone the repository from GitHub, install dependencies with npm install, configure your WordPress credentials in a .env file, run npm run build, and register the compiled posts-only.js script under your MCP client configuration file.
Any standard Model Context Protocol client works with this server, including Claude Desktop, Cursor, and custom agent runtimes configured to execute local Node.js processes over standard input/output.
Yes, MCP WordPress Post Server is open source software released under the MIT License, and the source code is publicly accessible on GitHub.
Using local file paths eliminates Base64 encoding overhead, cutting memory usage by approximately 33 percent, avoiding data corruption on large uploads, and letting WordPress natively process images and generate responsive srcset variants.