# WordPress (official)

> WordPress's own MCP Adapter: turns the Abilities that WordPress and your plugins register into MCP tools, under a WordPress user's permissions.

[Canonical HTML page](https://top-mcps.com/mcp/wordpress-mcp-adapter) · [server.json](https://top-mcps.com/mcp/wordpress-mcp-adapter.json) · [methodology](https://top-mcps.com/about/methodology)

## Install

### Claude Desktop — `claude_desktop_config.json`

Paste under mcpServers. Fully quit and reopen Claude after editing.

```json
{
  "mcpServers": {
    "wordpress-mcp-adapter": {
      "command": "npx",
      "args": [
        "-y",
        "@automattic/mcp-wordpress-remote@latest"
      ],
      "env": {
        "WP_API_URL": "${WP_API_URL}",
        "WP_API_USERNAME": "${WP_API_USERNAME}",
        "WP_API_PASSWORD": "${WP_API_PASSWORD}"
      }
    }
  }
}
```

### Claude Code — `CLI or .mcp.json`

Run from your repo. Commit .mcp.json to share with your team.

```shell
# export WP_API_URL=https://example.com/wp-json/mcp/mcp-adapter-default-server
# export WP_API_USERNAME=your-username
# export WP_API_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
claude mcp add wordpress-mcp-adapter -- npx -y @automattic/mcp-wordpress-remote@latest
```

### Cursor — `.cursor/mcp.json`

Global path: ~/.cursor/mcp.json. Reload window after editing.

```json
{
  "mcpServers": {
    "wordpress-mcp-adapter": {
      "command": "npx",
      "args": [
        "-y",
        "@automattic/mcp-wordpress-remote@latest"
      ],
      "env": {
        "WP_API_URL": "${WP_API_URL}",
        "WP_API_USERNAME": "${WP_API_USERNAME}",
        "WP_API_PASSWORD": "${WP_API_PASSWORD}"
      }
    }
  }
}
```

### VS Code — `.vscode/mcp.json`

VS Code uses the "servers" key (not "mcpServers").

```jsonc
{
  "servers": {
    "wordpress-mcp-adapter": {
      "command": "npx",
      "args": [
        "-y",
        "@automattic/mcp-wordpress-remote@latest"
      ],
      "env": {
        "WP_API_URL": "${WP_API_URL}",
        "WP_API_USERNAME": "${WP_API_USERNAME}",
        "WP_API_PASSWORD": "${WP_API_PASSWORD}"
      }
    }
  }
}
```

### Windsurf — `~/.codeium/windsurf/mcp_config.json`

Open via Cascade → hammer icon → Configure.

```json
{
  "mcpServers": {
    "wordpress-mcp-adapter": {
      "command": "npx",
      "args": [
        "-y",
        "@automattic/mcp-wordpress-remote@latest"
      ],
      "env": {
        "WP_API_URL": "${WP_API_URL}",
        "WP_API_USERNAME": "${WP_API_USERNAME}",
        "WP_API_PASSWORD": "${WP_API_PASSWORD}"
      }
    }
  }
}
```

### Cline — `cline_mcp_settings.json`

Open via the Cline sidebar → MCP Servers → Edit.

```json
{
  "mcpServers": {
    "wordpress-mcp-adapter": {
      "command": "npx",
      "args": [
        "-y",
        "@automattic/mcp-wordpress-remote@latest"
      ],
      "env": {
        "WP_API_URL": "${WP_API_URL}",
        "WP_API_USERNAME": "${WP_API_USERNAME}",
        "WP_API_PASSWORD": "${WP_API_PASSWORD}"
      }
    }
  }
}
```

### Continue — `~/.continue/config.json`

Continue uses modelContextProtocolServers with a transport block.

```json
{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "@automattic/mcp-wordpress-remote@latest"
          ],
          "env": {
            "WP_API_URL": "${WP_API_URL}",
            "WP_API_USERNAME": "${WP_API_USERNAME}",
            "WP_API_PASSWORD": "${WP_API_PASSWORD}"
          }
        }
      }
    ]
  }
}
```

### Codex CLI — `~/.codex/config.toml`

Codex uses TOML. Each server is a [mcp_servers.<name>] subtable.

```shell
# ~/.codex/config.toml
[mcp_servers.wordpress-mcp-adapter]
command = "npx"
args = [
  "-y",
  "@automattic/mcp-wordpress-remote@latest",
]
env = { WP_API_URL = "${WP_API_URL}", WP_API_USERNAME = "${WP_API_USERNAME}", WP_API_PASSWORD = "${WP_API_PASSWORD}" }
```

### Zed — `~/.config/zed/settings.json`

Zed calls them "context_servers". Settings live-reload on save.

```jsonc
{
  "context_servers": {
    "wordpress-mcp-adapter": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@automattic/mcp-wordpress-remote@latest"
        ]
      },
      "env": {
        "WP_API_URL": "${WP_API_URL}",
        "WP_API_USERNAME": "${WP_API_USERNAME}",
        "WP_API_PASSWORD": "${WP_API_PASSWORD}"
      }
    }
  }
}
```

### ChatGPT — `ChatGPT → Settings → Connectors (remote URL)`

Paste this into Settings → Connectors → Add custom connector. Requires ChatGPT Pro / Team / Enterprise / Edu with Developer mode enabled. ChatGPT supports remote HTTPS MCP servers only — stdio servers must be hosted on a public HTTPS endpoint first.

```json
{
  "name": "WordPress (official)",
  "transport": "http",
  "url": "https://{your-site}/wp-json/mcp/mcp-adapter-default-server"
}
```

## At a glance

- **Maintainer:** WordPress
- **Transport:** Streamable HTTP, stdio
- **Auth model:** API key
- **Required secrets:** WP_API_URL, WP_API_USERNAME, WP_API_PASSWORD
- **Supported clients:** Claude, Claude Code, Cursor, VS Code, Windsurf, Any MCP-compatible client, WordPress 6.9+
- **License:** GPL-2.0-or-later
- **Language:** PHP
- **Latest version:** latest
- **MCP spec:** 2026-07-28 (current)
- **Stateless:** yes (no initialize handshake or session id)
- **Evidence:** WordPress/mcp-adapter 0.7.1 (2026-10-15, e105211): CHANGELOG 0.7.0 adds MCP 2026-07-28 support with the sessionless server/discover lifecycle; McpVersionNegotiator SUPPORTED_PROTOCOL_VERSIONS are 2025-11-25 and 2026-07-28; readme.txt Requires at least 6.9, Stable tag 0.7.1; client config from docs/getting-started/site-owners.md (@automattic/mcp-wordpress-remote 0.5.5 on npm); not in a Claude or ChatGPT plugin; read 2026-11-10
- **Last verified:** 2026-11-10
- **GitHub stars:** 1,914 (fetched 2026-11-19T09:02:21.985Z)
- **Score:** 81/100 (rubric 2027-01 — see https://top-mcps.com/about/methodology)
- **Source:** https://github.com/WordPress/mcp-adapter
- **Homepage:** https://wordpress.org/plugins/mcp-adapter/

## Tools & permissions

| Tool | Description | Args | Side effects |
|------|-------------|------|--------------|
| `mcp-adapter-discover-abilities` | List the abilities on this site marked public for MCP. | `—` | read |
| `mcp-adapter-get-ability-info` | Return the full input and output schema of one ability. | `—` | read |
| `mcp-adapter-execute-ability` | Run one ability with the given parameters, as the connected user. | `—` | write |

## Security & scope

- **Access scope:** read-write
- **Sandbox:** Runs inside WordPress. Every call runs as the user whose Application Password authenticated it, and each ability performs its own permission check; what the agent can change is the union of public abilities that user may run.
- **Gotchas:**
  - mcp-adapter-execute-ability runs whatever public ability the agent names, including abilities that write; review what your plugins mark public before connecting an Editor or Administrator.
  - An Application Password carries the user's full role. Create a dedicated user with the lowest role that does the job, and revoke the password to switch the assistant off.
  - Over STDIO, `wp mcp-adapter serve --user=admin` runs with that user's capabilities and no password, so keep it to local development sites.

## Quick answer

**What it does.** Adds an MCP endpoint at /wp-json/mcp/mcp-adapter-default-server (and STDIO through `wp mcp-adapter serve`). The default server exposes mcp-adapter-discover-abilities, mcp-adapter-get-ability-info and mcp-adapter-execute-ability over every ability marked public; developers can also create custom servers that list chosen abilities as direct tools. Serves MCP 2025-11-25 and 2026-07-28.

**Best for:**
- Calling abilities that plugins register
- Exposing a small, declared surface to an agent
- Plugin developers adding MCP without writing a server
- Local sites through WP-CLI with no password
- Tracking the current MCP spec on WordPress

**Not for:**
- Full REST-API content management on a stock site
- claude.ai or ChatGPT web connectors (no OAuth)
- WordPress versions before 6.9
- Sites without HTTPS, where Application Passwords are unavailable

## Recipes

### Test the connection and see what the site exposes

```
List the WordPress abilities you can use on my site. For each one, tell me whether it only reads or can change something, based on its description and schema. Do not run any ability that changes content.
```

_Tested with: Claude Desktop, Claude Code, Cursor_

## Description

The MCP Adapter (WordPress/mcp-adapter, GPL-2.0-or-later) is the official WordPress plugin for MCP, part of the AI Building Blocks for WordPress initiative, and needs WordPress 6.9 or later. It does a different job from a REST-API wrapper: it exposes Abilities, the actions WordPress core and plugins register through the Abilities API and mark public, as MCP tools, resources and prompts. The default server shows an agent three meta-tools - discover, get info, execute - so what the agent can do on a given site is exactly what that site's plugins have chosen to publish, run as the connected WordPress user.

## Why it matters

It is the integration point WordPress itself is standardising on: a plugin that registers an ability gets an MCP tool without writing an MCP server, and the permission check is the ability's own, under a real WordPress user and role. For an agent that means a small, declared surface rather than the whole REST API, and for a site owner it means switching the assistant off is revoking one Application Password.

## Key features

- Official WordPress plugin, GPL-2.0-or-later
- Abilities API to MCP tools, resources and prompts
- Three meta-tools keep tools/list small however many abilities exist
- HTTP endpoint plus STDIO through WP-CLI
- MCP 2025-11-25 and 2026-07-28, sessionless server/discover
- Application Password auth; every call runs as that user

## FAQ

### How is this different from the community WordPress MCP?

They do different jobs, which is why both are listed. This adapter exposes only Abilities that WordPress and your plugins register and mark public, through three meta-tools, under the connected user's role. The community server (cvrt-jh/wordpress-mcp) wraps the WordPress REST API directly with 200 tools for posts, pages, media, users, plugins and themes, whether or not any ability exists. Use the adapter for what plugins publish; use the community server for broad content management.

### Why does the agent find nothing to do?

Because no plugin on the site has made an ability public yet. The adapter decides nothing about what a site can do; abilities come from WordPress core and plugins, and are private until marked public with meta.public or meta.mcp.public. Install or update a plugin that registers abilities, or register your own.

### How do I connect a desktop client?

Install MCP Adapter from WordPress.org (WordPress 6.9 or later, HTTPS), create an Application Password under Users > Profile for a dedicated user, then run the @automattic/mcp-wordpress-remote helper with WP_API_URL set to https://your-site/wp-json/mcp/mcp-adapter-default-server and the username and password. Clients that accept a URL and header, such as Claude Code, can connect over HTTP directly with an Authorization: Basic header.

### Can I use it from claude.ai or ChatGPT?

Not on its own. The web versions of Claude and ChatGPT add connectors through OAuth, and WordPress has no OAuth server; the adapter does not add one. Use a desktop client or Claude Code, or a plugin that adds OAuth sign-in to the site.

### Is the npx package the server?

No. The server is the WordPress plugin running on your site. @automattic/mcp-wordpress-remote is a small helper, documented by the adapter, that runs on your computer and forwards a stdio client's requests to the site over HTTP.

## Changelog

- **2026-11-10** — Added alongside the community WordPress server: WordPress's official MCP Adapter, which exposes registered Abilities rather than the REST API.
- **2026-10-15** — v0.7.1 released: site-owner connection guide, clearer errors for unknown abilities.
- **2026-10-02** — v0.7.0 released: MCP 2026-07-28 alongside 2025-11-25.
