sandywp / plugins / mcp-adapter
MCP Adapter
Expose WordPress abilities as Model Context Protocol (MCP) tools, resources, and prompts for AI agents.
Ready in seconds.
v0.7.2 80,000+ installs WP 6.9+ PHP 7.4+

About this plugin
Part of the AI Building Blocks for WordPress initiative.
The MCP Adapter bridges WordPress’s Abilities API with the Model Context Protocol (MCP) specification, providing a standardized way for AI agents to interact with WordPress functionality. It includes HTTP and STDIO transport support, comprehensive error handling, and an extensible architecture for custom integrations.
Features:
- Ability-to-MCP Conversion – Automatically converts WordPress abilities into MCP tools, resources, and prompts.
- Multi-Server Management – Create and manage multiple MCP servers with unique configurations.
- Extensible Transport Layer – Built-in HTTP and STDIO transports, plus support for custom transport protocols.
- Flexible Error Handling – Default WordPress-compatible error logging with support for custom, server-specific handlers.
- Observability – Zero-overhead metrics tracking with configurable handlers.
- Permission Control – Granular, configurable permission checking for all exposed functionality.
Questions
- What is MCP?
Model Context Protocol is an open standard for connecting AI agents to external systems. Instead of every AI client needing its own custom integration, a system exposes what it can do as MCP tools, resources and prompts, and any MCP-compatible client can use them. See modelcontextprotocol.io for the specification.
- What is MCP Adapter?
MCP Adapter is the server and transport layer. It does not provide any AI features itself.
What it exposes comes from the WordPress Abilities API. An ability is a single capability registered by WordPress core or by another plugin, such as reading posts or updating a setting. MCP Adapter takes the abilities registered on your site, makes them available to MCP clients, and handles protocol negotiation, permissions and error handling.
That means you also need abilities on the site for this to be useful, from core or from a plugin that registers its own.
- How do AI agents connect to my site?
The adapter registers MCP endpoints over the built-in HTTP transport. Point an MCP-compatible client at the endpoint and authenticate as a WordPress user. The adapter supports exact MCP revisions
2025-11-25and2026-07-28. See the site-owner guide for step-by-step client setup and troubleshooting.- Does every registered ability get exposed automatically?
No, exposure is opt-in. An ability is only reachable over MCP if it has been marked public, and permission checks still run against the current user before anything executes. See the documentation for how to opt abilities in and out.
- Where do I report bugs or request features?
On the GitHub repository. Security issues should follow the process in SECURITY.md rather than being reported publicly.
Plugin developers should depend on MCP Adapter by adding
Requires Plugins: mcp-adapterto their plugin header. See the README for WP-CLI and wp-env options.
sandywp / also on the shelf
Try another plugin
-
WordPress MCP server for Claude and ChatGPT with limited access, a pause switch, read-only mode, drafts you approve, playbooks…
AgizoAI Agentic Browsing Optimizer
100+ installs
Prepare WordPress for AI agents with an agentic readiness dashboard, llms.txt, WebMCP-style form metadata, read-only discovery…
20+ installs
An admin-curated ability registry for the WordPress Abilities API, with a per-ability on/off switch and optional multisite…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.