Skip to content
Claude Desktop

WordPress Headless for Claude Desktop

io.github.aj-ua/wp-headless-mcp

Read WordPress content, ACF fields, and Yoast SEO data, and safely edit drafts.

client:Claude Desktop transport:stdio runtime:npm

Install WordPress Headless in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "wp-headless-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp"
      ],
      "env": {
        "WP_URL": "<WP_URL>",
        "MCP_PROFILE": "<MCP_PROFILE>",
        "WP_USER": "<WP_USER>",
        "WP_APP_PASSWORD": "<WP_APP_PASSWORD>",
        "WP_CACHE_TTL": "<WP_CACHE_TTL>",
        "ACF_JSON_PATH": "<ACF_JSON_PATH>",
        "MCP_CPTS": "<MCP_CPTS>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

WordPress Headless in other clients