Skip to main content

WordPress Headless

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

v1.0.0Updated Nov 9, 2026stdio · npm

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

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add wp-headless-mcp -e 'WP_URL=<your-wp-url>' -e MCP_PROFILE=public -e WP_CACHE_TTL=60 -e MCP_CPTS=auto -- npx -y [email protected]

Configuration

7 settings.

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

Listed in the official MCP Registry since Nov 9, 2026. Mirrored daily; last checked Nov 26, 2026.