WordPress Adapter

Content and CMSAgent frameworks and SDKs

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.

Your AI app calls the WordPress Adapter MCP server, which does the content and CMS and agent frameworks and SDKs work and sends the result back to the chat.

About WordPress Adapter

WordPress Adapter is the official MCP server from WordPress, filed in our directory under content and cms and agent frameworks and sdks. 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.

At a glance

Publisher
WordPress, the company behind the product
Runs
See the README for setup
Written in
PHP
License
GPL-2.0
GitHub stars
1,951

How to set up WordPress Adapter

  1. Follow the install steps in the WordPress Adapter README; it is written in PHP, so have that toolchain ready.
  2. Check the WordPress Adapter README for keys or settings; the registry lists none that WordPress Adapter requires.
  3. Add WordPress Adapter to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the WordPress Adapter tools to confirm the connection.
  5. Run one read-only task with WordPress Adapter first, and keep your app asking before each tool call until the results look right.

WordPress Adapter compared with similar servers

  • Wenyan by caol64 has fewer GitHub stars than WordPress Adapter (1.4k against 2k); WordPress Adapter is official while Wenyan is a community server, and both run locally.
  • Markdownify by zcaceres has more GitHub stars than WordPress Adapter (3k against 2k); WordPress Adapter is official while Markdownify is a community server, and both run locally.
  • anymd by SylphxAI has fewer GitHub stars than WordPress Adapter (1.1k against 2k); WordPress Adapter is official while anymd is a community server, and both run locally.

Before you connect WordPress Adapter

  • Give WordPress Adapter its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each WordPress Adapter tool call until you trust what it does with them.
  • Treat text that WordPress Adapter fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for WordPress Adapter on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for WordPress Adapter

How marketing and sales teams put WordPress Adapter to work, by company size. Pick the size closest to yours and start WordPress Adapter on one use case.

Small business

  • A small business can use WordPress Adapter to draft, update and publish site pages from a chat, keeping the site fresh without an agency.
  • Owners can ask WordPress Adapter which pages are outdated and get a list of updates in order of traffic.
  • A small business with a developer can use WordPress Adapter to build one focused agent, such as lead follow-up, without a big platform.
  • WordPress Adapter runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Content teams can connect WordPress Adapter to move drafts into the CMS with fields, tags and metadata filled in, ready for an editor.
  • SEO and content teams can use WordPress Adapter to refresh old posts at scale, with each change reviewed before it goes live.
  • Growth engineering teams can use WordPress Adapter to build agents that combine CRM, analytics and content tools behind one workflow.
  • Start WordPress Adapter on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can give WordPress Adapter draft-only rights, so agents prepare content while publishing stays with approved editors.
  • Large content orgs can use WordPress Adapter to manage many sites and languages, keeping structure and governance consistent.
  • Enterprises can build on WordPress Adapter with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Because WordPress Adapter comes from WordPress, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

WordPress Adapter README

From WordPress/mcp-adapter on GitHub, shared under its GPL-2.0 license. Images are left out; the original has them.

README.md

MCP Adapter

Part of the AI Building Blocks for WordPress initiative

The official WordPress package for MCP integration that exposes WordPress abilities as Model Context Protocol (MCP) tools, resources, and prompts for AI agents.

Overview

MCP Adapter bridges WordPress's Abilities API with the MCP specification, giving AI agents a standardized way 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, WordPress abilities automatically become MCP tools, resources, and prompts
  • Multi-server management, run multiple MCP servers, each with its own transports, abilities, and handlers
  • HTTP and STDIO transports, plus a McpTransportInterface for custom protocols, see Custom Transports
  • Pluggable error handling and observability, swap in your own logging or monitoring via McpErrorHandlerInterface and McpObservabilityHandlerInterface, see Error Handling and Observability
  • Granular permissions, per-server transport authentication and per-ability permission checks, see Transport Permissions

Architecture

See the Architecture Overview for the full component breakdown.

Getting Started

Follow the Quick Start Guide to register your first ability and expose it via MCP, or jump straight to the Basic Examples for complete tool, resource, and prompt samples.

WordPress abilities are private by default. Set meta.public (or meta.mcp.public) to true to expose one, then reach it through the default server's three meta-tools (mcp-adapter/discover-abilities, mcp-adapter/get-ability-info, mcp-adapter/execute-ability), see Creating Abilities for the full opt-in model.

Connecting MCP Clients

Connect via WP-CLI over STDIO, or point an HTTP client at /wp-json/mcp/mcp-adapter-default-server. Configuration examples for Claude Desktop and other MCP clients, both direct STDIO and HTTP-via-proxy, are in the CLI Usage Guide.

Migration

Contributing

See CONTRIBUTING.md for local setup, coding standards, and the contribution workflow, and the Testing Guide for running the test suite.

Attribution

Model Context Protocol, MCP, and the MCP logo are trademarks of LF Projects, LLC, and are used here solely for informational purposes.

License

GPL-2.0-or-later

Questions about WordPress Adapter

What is the WordPress Adapter MCP server?

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. WordPress Adapter is published by WordPress, the company behind the product, on GitHub at WordPress/mcp-adapter, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the WordPress Adapter MCP server?

WordPress Adapter doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (WordPress/mcp-adapter). Like most servers, WordPress Adapter ends with a command or URL you paste into your AI app's MCP config.

Does WordPress Adapter need an API key?

The registry lists no required keys for WordPress Adapter. Check the WordPress Adapter README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is WordPress Adapter an official MCP server?

Yes. WordPress Adapter is published by WordPress, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is WordPress Adapter under?

WordPress Adapter is released under the GPL-2.0 license, according to its GitHub repository. The license covers the code of WordPress Adapter; the service it connects to has its own terms.