WordPress MCP Adapter

Active
GitHub PHP GPL-2.0

Description

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.

Key Features

  • Ability-to-MCP conversion — automatically transforms WordPress Abilities into MCP tools, resources, and prompts
  • Multi-server management — create and manage multiple MCP servers with unique configurations
  • Extensible transport layer — HTTP, STDIO, and custom transport support with multi-transport configuration
  • MCP component support — full Tools, Resources, and Prompts as per the MCP 2025-06-18 specification
  • Granular permission control — configurable transport permissions for all exposed functionality
  • Observability and error handling — built-in metrics tracking, custom error handlers, and server-specific strategies

Use Cases

💡 AI agent WordPress integration — let AI agents discover and invoke WordPress capabilities via MCP protocol
💡 Headless WordPress automation — use CLI-based STDIO transport for automated WordPress management tasks
💡 Multi-site WordPress orchestration — manage multiple WordPress installations through a unified MCP interface
💡 Custom WordPress tool development — extend the adapter with custom abilities for specific business logic
💡 WordPress content AI workflows — expose content as MCP resources for AI-powered content generation and editing

Categories

Quick Start

Install as a WordPress package. The adapter bridges the WordPress Abilities API with MCP, so HTTP and STDIO transports work out of the box. Use `WP-CLI` commands for CLI integration. Configure servers in the McpAdapter and register abilities as MCP tools.

Related Projects