sandywp / plugins / mcp-adapter

MCP Adapter

5.0 out of 5 stars. 5.0 1 reviews

Expose WordPress abilities as Model Context Protocol (MCP) tools, resources, and prompts for AI agents.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v0.7.1 70,000+ installs WP 6.9+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
MCP Adapter running inside a SandyWP sandbox

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-25 and 2026-07-28. See the getting started guide for endpoint details.

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-adapter to their plugin header. See the README for WP-CLI and wp-env options.

5.0

1 reviews

  • 5 ★ 1
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

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.