NestDaddy

WordPress Headless

io.github.aj-ua/wp-headless-mcp · v1.0.0

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

Connect Runs on your machine

Terminal
claude mcp add wp-headless-mcp -e WP_URL=<WP_URL> -e MCP_PROFILE=<MCP_PROFILE> -e WP_USER=<WP_USER> -e WP_APP_PASSWORD=<WP_APP_PASSWORD> -e WP_CACHE_TTL=<WP_CACHE_TTL> -e ACF_JSON_PATH=<ACF_JSON_PATH> -e MCP_CPTS=<MCP_CPTS> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "wp-headless-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "wp-headless-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "wp-headless-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "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>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
WP_URL
Required
Base URL of the WordPress site, without a trailing slash
MCP_PROFILE
Optional
Tool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools)
WP_USER
Optional
WordPress user for the Application Password (editor and dev profiles)
WP_APP_PASSWORD
Optional, secret
WordPress Application Password (editor and dev profiles)
WP_CACHE_TTL
Optional
Seconds to cache GET requests; 0 turns caching off
ACF_JSON_PATH
Optional
Absolute path to the theme's acf-json folder, for ACF labels, schemas, and TypeScript types
MCP_CPTS
Optional
Custom post type tools: auto, none, or a JSON array of {postType, singular, plural}

Details

Package[email protected] (NPM, stdio)
First published9 Nov 2026
Last updated9 Nov 2026
Registry nameio.github.aj-ua/wp-headless-mcp

More browser automation servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.