WordPress/mcp-adapter

An MCP adapter that bridges the Abilities API to the Model Context Protocol, enabling MCP clients to discover and invoke WordPress plugin, theme, and core abilities programmatically.

What it solves

It provides a standardized way for AI agents to interact with WordPress functionality. By bridging the WordPress Abilities API with the Model Context Protocol (MCP), it allows AI agents to discover and execute tasks within a WordPress site without requiring custom, one-off integrations for every agent.

How it works

The adapter converts WordPress "abilities" into MCP-compliant tools, resources, and prompts. It supports multiple server configurations, each with its own handlers and transports. Users can expose specific WordPress abilities by marking them as public, which then become accessible to MCP clients via HTTP or STDIO (via WP-CLI).

Who it’s for

Developers building AI agents or WordPress extensions that need to allow LLMs to programmatically manage or interact with a WordPress site.

Highlights

  • Automatic Conversion: Turns WordPress abilities into MCP tools, resources, and prompts.
  • Flexible Transport: Supports both HTTP and STDIO transports, with an interface for adding custom protocols.
  • Handoff Management: Supports running multiple MCP servers simultaneously.
  • Security: Includes granular permissions, per-server transport authentication, and per-ability permission checks.
  • Observability: Features pluggable error handling and monitoring interfaces.

Related

  • Project
  • Project
  • Project
  • Project
  • Project