WP-MCP
JSON →Manage and publish WordPress content directly from your AI assistant â no PHP required. Supports both STDIO and Streamable HTTP for broad client compatibility.
Install
npx -y @modelcontextprotocol/inspector Tools · 4
- local config-set Configure database connection for local STDIO MCP server
- local config Review saved database configuration values
- local start Launch local STDIO MCP server connected to WordPress database
- utils list-prims Display available MCP primitives with required capabilities and roles
Environment variables
WP_DB_HOSTWP_DB_PORTLOCAL_DEFAULT_BLOG_IDLOCAL_DEFAULT_SITE_IDREMOTE_URLOAUTH_CLIENT_IDOAUTH_CLIENT_SECRETOAUTH_RESOURCE_URLOAUTH_SERVICE_DOCUMENTATION_URLOAUTH_AUTHORIZATION_URL
Links
★ 8 GitHub stars