Is the WordPress MCP server safe? What it can reach
What the WordPress MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
The official WordPress MCP Adapter, from the WordPress project, exposes your site’s abilities to an agent. It runs as a plugin on your own site, over HTTP or over WP-CLI on stdio, and acts as a WordPress user you choose. Its three built-in tools discover, inspect and run abilities, so what the agent can do depends on which abilities you mark public.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| WordPress/mcp-adapter | Official | active |
It runs as a local process on your machine or as a hosted remote server.
How it signs in
Over stdio, wp mcp-adapter serve runs as the WordPress user you pass with --user. Over HTTP, WordPress’s developer blog says to use application passwords or a custom OAuth implementation through the @automattic/mcp-wordpress-remote proxy. Either way the agent gets that user’s capabilities.
What its tools can do
| Kind | Tools |
|---|---|
| Read | mcp-adapter-discover-abilities, mcp-adapter-get-ability-info |
| Write | none documented |
| Can’t be undone | mcp-adapter-execute-ability |
These are the three meta-tools on the default server. Abilities are private unless a plugin sets meta.mcp.public to true, and each public ability then runs through mcp-adapter-execute-ability. A custom server can list abilities as individual tools instead, and those names are set by the site.
Built-in limits
| Option | What it does |
|---|---|
meta.mcp.public | An ability is hidden from the default server unless it sets meta.mcp.public (or meta.public) to true. |
permission_callback | Each ability checks the user’s capabilities before it runs. The developer blog says each should check the minimum capability needed. |
--user | wp mcp-adapter serve --user=<id |
Custom server | Create a server through the mcp_adapter_init hook and list only the abilities you want as tools. |
Error and observability handlers | You can plug in your own logging and monitoring. |
The risks
- mcp-adapter-execute-ability runs whatever public abilities your plugins register, which can include publishing, editing or deleting content, so an injected instruction gets that reach.
- The agent acts as a real WordPress user, so an administrator account lets it change settings, plugins and users.
- The developer blog warns against permission callbacks that always return true for destructive abilities such as deleting content.
- Site content, comments and form entries are written by outsiders and can carry instructions that an agent reads through a content ability.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add wordpress -- wp mcp-adapter serve --server=mcp-adapter-default-server --user=<wp-user>Claude Code names MCP tools mcp__wordpress__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__wordpress__mcp-adapter-execute-ability"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.wordpress]
command = "wp"
args = ["mcp-adapter", "serve", "--server=mcp-adapter-default-server", "--user=<wp-user>"]Checklist
- Make a dedicated WordPress user with the minimum role the work needs.
- Mark only read-only abilities public on a live site.
- Use a custom server with an explicit ability list for focused jobs.
- Prefer read-only abilities for public HTTP endpoints.
- Turn on logging through the observability handler.
Checked against the vendor documentation on November 25, 2026. WordPress/mcp-adapter README · From Abilities to AI Agents: the WordPress MCP Adapter (Developer Blog) · MCP Adapter CLI usage guide · MCP Adapter default server guide
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing