MCP directory
WH

WordPress Headless

by github.com/aj-ua · v1.0.0 · updated Nov 9, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • WP_URLrequired

    Base URL of the WordPress site, without a trailing slash

  • MCP_PROFILE

    Tool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools)

  • WP_USER

    WordPress user for the Application Password (editor and dev profiles)

  • WP_APP_PASSWORDsecret

    WordPress Application Password (editor and dev profiles)

  • WP_CACHE_TTL

    Seconds to cache GET requests; 0 turns caching off

  • ACF_JSON_PATH

    Absolute path to the theme's acf-json folder, for ACF labels, schemas, and TypeScript types

  • MCP_CPTS

    Custom post type tools: auto, none, or a JSON array of {postType, singular, plural}

More MCP servers