Skip to content

[Docs] Add wordpress-mcp to PHP Libraries Using the MCP SDK - #491

Open
Faneraiy14 wants to merge 1 commit into
modelcontextprotocol:mainfrom
Faneraiy14:add-wordpress-mcp-to-readme
Open

[Docs] Add wordpress-mcp to PHP Libraries Using the MCP SDK#491
Faneraiy14 wants to merge 1 commit into
modelcontextprotocol:mainfrom
Faneraiy14:add-wordpress-mcp-to-readme

Conversation

@Faneraiy14

Copy link
Copy Markdown
Contributor

Summary

Adds Faneraiy14/wordpress-mcp to the "PHP Libraries Using the MCP SDK" list.

It's an MCP server for WordPress, built on mcp/sdk (^0.8), running as a WordPress plugin and serving MCP over the REST API at /wp-json/wordpress-mcp/v1/mcp - same pattern as the existing Drupal/CakePHP/Kirby entries in the list (native to its target CMS rather than a standalone server).

Four tools currently, all live-verified against a real WordPress install rather than mocked:

  • get_site_health - runs WordPress's own Site Health checks, returns a critical/recommended/good summary
  • list_posts(limit, status) - recent posts
  • update_post(post_id, title?, content?, status?) - the one write tool, gated per-post by current_user_can('edit_post', ...)
  • list_plugins() - installed plugins with active/inactive status

Test plan

  • composer install + vendor/bin/phpunit - 7/7 passing (the pure formatter/summarizer logic; the WP-runtime glue itself needs a running WordPress to exercise)
  • Live-tested the full MCP handshake (initialize → session → tools/call) against a real local WordPress install with a real authenticated request, for all four tools

MCP server for WordPress built on this SDK, exposing site health,
posts (list/update), and plugins as tools. Runs as a WordPress plugin
serving MCP over the REST API, following the same pattern as the
existing Drupal/CakePHP/Kirby entries in this list (native plugin for
its target CMS, not a standalone server).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant