WordPress Ops MCP
Provides tools for interacting with WordPress sites via the REST API, including reading posts, searching, creating drafts, updating posts with optimistic concurrency, and uploading media, all with explicit confirmation gates for safety.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WordPress Ops MCPlist the latest 5 posts from site-a"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WordPress Ops MCP
A small, confirmation-gated MCP server for the standard WordPress REST API. It is configured entirely through environment variables and stores no credentials, sites, or personal data.
Features
Read configured sites and inspect, search, or list posts.
Create posts as drafts only.
Update only approved post fields, with explicit write confirmation. Publishing additionally requires
confirm_publish=true.Optionally use a post's
modifiedvalue as an optimistic-concurrency check before updating it.Upload media only after explicit confirmation.
Related MCP server: WordPress MCP Server
Install
python -m venv .venv
.venv/bin/pip install -e .On Windows, use .venv\\Scripts\\pip install -e ..
Configuration
Use a single site:
WORDPRESS_BASE_URL=https://example.com
WORDPRESS_USERNAME=api-user
WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxxOr configure named sites:
WORDPRESS_SITES_JSON={"site-a":{"base_url":"https://example.com","username":"api-user","app_password":"xxxx"}}Run with python server.py. Do not commit .env files or application passwords.
Safety model
Writes are never performed unless confirm_write=true is passed. New posts are drafts, and publishing an existing post requires a separate confirm_publish=true. The server has no delete endpoint.
Development
python -m unittest -vLicense
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
Live-checks whether a WordPress site is ready to be safely operated by AI agents.
Manage websites, help documents and customer-support conversations with safe, scoped tools.
WordPress MCP server: publish posts, AI images, SEO and full site management, self-hosted
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to interact with WordPress sites through the WordPress REST API. Supports multiple WordPress sites with secure authentication, enabling content management, post operations, and site configuration through natural language.32 npm116MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with WordPress sites through the REST API. Supports multiple WordPress sites with secure authentication, enabling content management, post operations, and site configuration through natural language.32 npmMIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with WordPress sites through REST APIs, allowing programmatic management of posts, users, comments, categories, and tags with secure authentication.2948MIT
- AlicenseNot gradedqualityFmaintenanceEnables interaction with WordPress sites through the REST API, supporting content management for posts, pages, users, plugins, and custom post types with Application Password authentication.1,020 npm2MIT