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

This project bridges the gap between WordPress and AI agents by allowing WordPress functionality to be accessed through the standardized Model Context Protocol (MCP). It enables AI tools to interact with WordPress sites in a consistent, secure, and predictable way.

How it works

The adapter automatically converts WordPress "Abilities" into MCP tools, resources, and prompts. By setting specific metadata on an ability, developers can opt-in to expose it to AI agents. The system supports multiple communication methods, including HTTP and STDIO, and allows for custom error handling, logging, and granular permission checks to ensure only authorized actions are performed.

Who it’s for

It is designed for WordPress developers and AI engineers who want to integrate WordPress content or administrative tasks into AI-powered workflows, such as connecting WordPress to the Claude Desktop app or other MCP-compatible clients.

Highlights

  • Automatically maps WordPress abilities to MCP tools, resources, and prompts.
  • Supports both HTTP and STDIO transports for flexible connectivity.
  • Includes granular permission controls for individual servers and abilities.
  • Extensible architecture allows for custom logging, monitoring, and transport protocols.
  • Secure by default, requiring explicit opt-in to expose any WordPress ability to an AI agent.

Related

  • Project
  • Project
  • Project
  • Project
  • Project