MCP server implementation using the WordPress REST API
Find a file
2025-04-03 14:03:17 +02:00
.github Fix coverage file paths 2025-04-03 14:03:17 +02:00
bin Initial commit 2025-04-02 21:24:11 +02:00
src Change prefixes 2025-04-03 11:53:47 +02:00
tests Fix phpunit config 2025-04-03 13:40:31 +02:00
.distignore Cleanup, tests 2025-04-03 11:44:51 +02:00
.editorconfig Initial commit 2025-04-02 21:24:11 +02:00
.gitattributes Initial commit 2025-04-02 21:24:11 +02:00
.gitignore Migrate PHPUnit config 2025-04-03 13:49:50 +02:00
.markdownlint.json Initial commit 2025-04-02 21:24:11 +02:00
codecov.yml Test on CI 2025-04-03 13:31:31 +02:00
composer.json Change repo name 2025-04-03 13:17:16 +02:00
composer.lock Change repo name 2025-04-03 13:17:16 +02:00
mcp.php Initial commit 2025-04-02 21:24:11 +02:00
phpcs.xml.dist Change prefixes 2025-04-03 11:53:47 +02:00
phpstan.neon.dist Cleanup, tests 2025-04-03 11:44:51 +02:00
phpunit-multisite.xml.dist Fix coverage file paths 2025-04-03 14:03:17 +02:00
phpunit.xml.dist Fix coverage file paths 2025-04-03 14:03:17 +02:00
README.md Change repo name 2025-04-03 13:17:16 +02:00

MCP Server for WordPress

Commit activity Code Coverage License

Model Context Protocol server using the WordPress REST API.

Try it by installing and activating the latest nightly build on your own WordPress website:

Download latest nightly build

Usage

Given that no MCP client supports the new Streamable HTTP transport yet, this plugin works best in companion with the WP-CLI AI command.

  1. Install plugin
  2. Install command
  3. Run wp mcp server add "mysite" "https://example.com/wp-json/mcp/v1/mcp"
  4. Run wp ai "Greet my friend Pascal" or so