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_URLEnv var· requiredBase URL of the WordPress site, without a trailing slashWP_APP_PASSWORDEnv var· optional· secretWordPress Application Password (editor and dev profiles)MCP_PROFILEEnv var· optionalTool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools)Default:publicWP_USEREnv var· optionalWordPress user for the Application Password (editor and dev profiles)WP_CACHE_TTLEnv var· optionalSeconds to cache GET requests; 0 turns caching offDefault:60ACF_JSON_PATHEnv var· optionalAbsolute path to the theme's acf-json folder, for ACF labels, schemas, and TypeScript types
Show 1 moreShow fewer
MCP_CPTSEnv var· optionalCustom post type tools: auto, none, or a JSON array of {postType, singular, plural}Default:auto
Links
Listed in the official MCP Registry since Nov 9, 2026. Mirrored daily; last checked Nov 26, 2026.