← all repositories
WordPress/mcp-adapter

WordPress learns to speak MCP

An official bridge that lets AI agents discover and invoke WordPress plugin and core abilities through the Model Context Protocol.

1.5k stars PHP Coding Assistants
mcp-adapter
Velocity · 7d
+6.0
★ / day
Trend
accelerating
star history

What it does

The MCP Adapter exposes WordPress’s internal “Abilities API” as standard MCP tools, resources, and prompts. Any AI agent that speaks the Model Context Protocol can now query what a WordPress site can do and actually do it — create posts, tweak settings, whatever abilities plugins and core have registered. It supports both HTTP and STDIO transport, so it works over the network or locally via WP-CLI.

The interesting bit

WordPress has never had a clean, standardized way for external AI agents to inspect its capabilities at runtime. This adapter treats the CMS like a discoverable service mesh: abilities self-register as typed MCP components, complete with validation, permission checks, and observability hooks. The Jetpack Autoloader recommendation hints at the real target — a WordPress ecosystem where multiple plugins all expose MCP surfaces without version collisions.

Key highlights

  • Converts WordPress abilities into MCP tools, resources, and prompts automatically
  • Multi-transport: HTTP (spec-compliant to 2025-06-18) and STDIO for CLI/local use
  • Pluggable error handling and zero-overhead observability via interfaces
  • Granular permission control per transport and server
  • Built-in server discovery and introspection abilities
  • Requires PHP ≥ 7.4, WordPress ≥ 6.9, plus the php-mcp-schema typed DTO package

Caveats

  • The “Abilities API” itself is not explained in the README; it’s unclear whether this is a new WordPress 6.9+ feature or a project-specific abstraction
  • README is heavily truncated, so production readiness and edge-case behavior are hard to assess
  • The 2025-06-18 MCP spec is referenced but the php-mcp-schema dependency claims 2025-11-25 support — a version mismatch that may or may not matter

Verdict

Worth watching if you run WordPress in an AI-heavy stack or build plugins that need programmatic discovery. Skip it if you’re not already bought into MCP or if your WordPress install is below 6.9.

Frequently asked

What is WordPress/mcp-adapter?
An official bridge that lets AI agents discover and invoke WordPress plugin and core abilities through the Model Context Protocol.
Is mcp-adapter open source?
Yes — WordPress/mcp-adapter is open source, released under the GPL-2.0 license.
What language is mcp-adapter written in?
WordPress/mcp-adapter is primarily written in PHP.
How popular is mcp-adapter?
WordPress/mcp-adapter has 1.5k stars on GitHub and is currently accelerating.
Where can I find mcp-adapter?
WordPress/mcp-adapter is on GitHub at https://github.com/WordPress/mcp-adapter.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.