mirror of
https://hk.gh-proxy.com/https://github.com/mcp-wp/mcp-server.git
synced 2025-10-03 21:21:17 +08:00
MCP server implementation using the WordPress REST API
.github | ||
bin | ||
src | ||
tests | ||
.distignore | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.markdownlint.json | ||
codecov.yml | ||
composer.json | ||
composer.lock | ||
mcp.php | ||
phpcs.xml.dist | ||
phpstan.neon.dist | ||
phpunit-multisite.xml.dist | ||
phpunit.xml.dist | ||
README.md |
MCP Server for WordPress
Model Context Protocol server using the WordPress REST API.
Try it by installing and activating the latest nightly build on your own WordPress website:
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.
- Install plugin
- Install command
- Run
wp mcp server add "mysite" "https://example.com/wp-json/mcp/v1/mcp"
- Run
wp ai "Greet my friend Pascal"
or so