WordPress Headless

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

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "wp-headless-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp@1.0.0"
      ],
      "env": {
        "WP_URL": "<your WP_URL>",
        "MCP_PROFILE": "public",
        "WP_APP_PASSWORD": "<your WP_APP_PASSWORD>",
        "WP_CACHE_TTL": "60",
        "MCP_CPTS": "auto"
      }
    }
  }
}
Environment variables
  • WP_URLrequiredBase URL of the WordPress site, without a trailing slash
  • MCP_PROFILETool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools)
  • WP_APP_PASSWORDsecretWordPress Application Password (editor and dev profiles)
  • WP_CACHE_TTLSeconds to cache GET requests; 0 turns caching off
  • MCP_CPTSCustom post type tools: auto, none, or a JSON array of {postType, singular, plural}

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Content & Publishing
Version
1.0.0
Registry
active
Published
11/9/2026
Browse all Content & Publishing →

Add the badge to your site

Show visitors that WordPress Headless is listed here — it’s also the link we check for a free listing.

WordPress Headless — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-aj-ua-wp-headless-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="WordPress Headless — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![WordPress Headless — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-aj-ua-wp-headless-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.