Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

WordPress Headless

by aj-uaversion 1.0.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.aj-ua/wp-headless-mcp

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key Needs WP_APP_PASSWORD · 1 setting to fill in (WP_URL)
  • Category Marketing & social media

Use together with

Skills that teach the AI this kind of work; they work alongside this one

scroll-world

A skill that turn any brand into a scrollable 3D world landing page

by oso95★ 11,0791 skills

Skill · How-to guide

social-auto-upload

自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili

by dreammis★ 16,718 (whole repo)4 skills

Skill · How-to guide

native-subtitle-quote-image

保留视频内嵌字幕,精确取帧并生成 3:4 社交长图的 Agent Skill

by chengyi-ai★ 2,8931 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install WordPress Headless. Follow https://mcp.popnx.com/i/aj-ua-wp-headless-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WordPress Headless for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "wp-headless": { "command": "npx", "args": [ "-y", "wp-headless-mcp" ], "env": { "WP_URL": "your-value", "WP_APP_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WP_APP_PASSWORD, WP_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WordPress Headless tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a WordPress Headless key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WordPress Headless site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • WP_URL Base URL of the WordPress site, without a trailing slash

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "wp-headless": {
          "command": "npx",
          "args": [
            "-y",
            "wp-headless-mcp"
          ],
          "env": {
            "WP_URL": "your-value",
            "WP_APP_PASSWORD": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use WordPress Headless and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using WordPress Headless or shows a WordPress Headless tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_PROFILE Tool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools) · default public
  • WP_USER WordPress user for the Application Password (editor and dev profiles)
  • WP_CACHE_TTL Seconds to cache GET requests; 0 turns caching off · default 60
  • 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} · default auto

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect WordPress Headless yet

WordPress Headless runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect WordPress Headless

  • You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time)
  • You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time)
  • You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time)

B · Others in Marketing & social media that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WordPress Headless for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user wp-headless --env WP_URL=your-value --env WP_APP_PASSWORD=your-value -- npx -y wp-headless-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WP_APP_PASSWORD, WP_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WordPress Headless tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a WordPress Headless key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WordPress Headless site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • WP_URL Base URL of the WordPress site, without a trailing slash

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user wp-headless --env WP_URL=your-value --env WP_APP_PASSWORD=your-value -- npx -y wp-headless-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see WordPress Headless listed as connected

  7. Try it

    Use WordPress Headless and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using WordPress Headless or shows a WordPress Headless tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_PROFILE Tool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools) · default public
  • WP_USER WordPress user for the Application Password (editor and dev profiles)
  • WP_CACHE_TTL Seconds to cache GET requests; 0 turns caching off · default 60
  • 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} · default auto

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WordPress Headless for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "wp-headless": { "command": "npx", "args": [ "-y", "wp-headless-mcp" ], "env": { "WP_URL": "your-value", "WP_APP_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WP_APP_PASSWORD, WP_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WordPress Headless tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a WordPress Headless key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WordPress Headless site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • WP_URL Base URL of the WordPress site, without a trailing slash

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the WordPress Headless settings, WP_APP_PASSWORD, WP_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use WordPress Headless and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using WordPress Headless or shows a WordPress Headless tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_PROFILE Tool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools) · default public
  • WP_USER WordPress user for the Application Password (editor and dev profiles)
  • WP_CACHE_TTL Seconds to cache GET requests; 0 turns caching off · default 60
  • 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} · default auto

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a WordPress Headless key (create it on the maker’s site) · 1 setting(s) to fill in (WP_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WordPress Headless for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "wp-headless": { "type": "stdio", "command": "npx", "args": [ "-y", "wp-headless-mcp" ], "env": { "WP_URL": "your-value", "WP_APP_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WP_APP_PASSWORD, WP_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WordPress Headless tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a WordPress Headless key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WordPress Headless site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • WP_URL Base URL of the WordPress site, without a trailing slash

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the WordPress Headless settings, WP_APP_PASSWORD, WP_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use WordPress Headless and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using WordPress Headless or shows a WordPress Headless tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_PROFILE Tool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools) · default public
  • WP_USER WordPress user for the Application Password (editor and dev profiles)
  • WP_CACHE_TTL Seconds to cache GET requests; 0 turns caching off · default 60
  • 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} · default auto

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use WordPress Headless💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user wp-headless --env WP_URL=your-value --env WP_APP_PASSWORD=your-value -- npx -y wp-headless-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "wp-headless": {
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp"
      ],
      "env": {
        "WP_URL": "your-value",
        "WP_APP_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "wp-headless": {
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp"
      ],
      "env": {
        "WP_URL": "your-value",
        "WP_APP_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "wp-headless": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp"
      ],
      "env": {
        "WP_URL": "your-value",
        "WP_APP_PASSWORD": "your-value"
      }
    }
  }
}

Values you fill in

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

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
1.0.0
Published to registryi
Nov 9, 2026
Code last changedi
Nov 9, 2026
Maker
aj-ua
Packages
npm: wp-headless-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account aj-ua, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 11 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for wp-headless-mcp@1.0.0

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/aj-ua-wp-headless-mcp.svg)](https://mcp.popnx.com/en/servers/aj-ua-wp-headless-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Marketing & social mediai

  • More stars than 0% of the other 4275 servers in this category
  • Published to the registry more recently than 74% of the other 4275 servers in this category
  • Basic checks equal to or better than 99% of the other 4275 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is WordPress Headless safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: WP_APP_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 11 days ago, and the latest version (1.0.0) reached the registry 11 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

ChatbotX

Omnichannel customer messaging, CRM contacts, flows, sequences, broadcasts, and AI automation.

by ChatbotXIOGrowing★ 1.1K Stars for the whole repoUpdated 14 days ago

Runs in the cloud✓ service owner · chatbotx.io

Betterlytics

Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.

by betterlyticsGrowing★ 196Updated 4 months ago

Runs in the cloud✓ service owner · betterlytics.io
Compared with similar ones
This one
WordPress Headless
RelaticleChatbotXX (Twitter) MCP Server by XquikBetterlyticsBibiGPT YouTube Video Summarizer
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoYesNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/44/44/4
LicenseMITAGPL-3.0NOASSERTIONMITAGPL-3.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

wp-headless-mcp

An MCP server that lets AI assistants read, and safely help edit, the content of a WordPress website.

It connects a company's WordPress site (pages, posts, custom post types like projects or services, ACF fields, and Yoast SEO data) to AI clients such as Claude. Then people can ask questions about the site, or get help with its content, in plain language.

Status: feature-complete for its first version and tested against a real WordPress site, with 120 unit tests.


What is MCP?

The Model Context Protocol is an open standard for connecting AI assistants to data and tools. An MCP server describes what it can do as:

  • Tools: actions the AI can call, like "search the site" or "list recent projects".
  • Resources: content the AI can read, like a specific page or the site's content model.
  • Prompts: reusable task templates, like "review this page's SEO".

Any MCP-compatible client (Claude Desktop, Claude Code, the Claude API, and others) can use the same server without custom integration work.

The problem it solves

Many companies already keep their website content in WordPress: services, case studies, team members, FAQs, products. When they build something new on top of it, like a Progressive Web App (PWA), that content is often:

  • Hard for AI to use. A chatbot or assistant needs grounded, current answers, not guesses. Wiring an LLM to the WordPress REST API by hand is repetitive and easy to get wrong.
  • Locked behind admin screens. Content and marketing staff can't quickly ask "which pages have no meta description?" or "draft a post about our new service".
  • Undocumented for developers. PWA developers have to discover post types, ACF field structures, and REST payloads by trial and error.

wp-headless-mcp gives all of these people one well-defined, safe AI gateway to the site.

How it fits with a PWA

                    ┌────────────────────────────┐

│ WordPress website │ │ pages · projects · ACF · │ │ · Yoast SEO │ └─────────────┬──────────────┘ │ REST API ┌───────────────────┴───────────────────┐ │ │ PWA user interface wp-headless-mcp (reads REST API directly: (AI layer: tools, pages, lists, images) resources, prompts) │ ┌──────────────────────┼──────────────────────┐ │ │ │ AI assistant in the PWA Content team in Developers in (via the PWA backend Claude Desktop Claude Code and the Claude API)

The PWA keeps reading content from WordPress directly for its normal screens. The MCP server sits next to it and powers the AI features, plus the tools around the site.

Who it's for

Website visitors (through the PWA)

An AI assistant inside the PWA that answers questions using the company's own content and links to the source page.

  • "What services do you offer for product design?"
  • "Show me projects you've done for retail companies."
  • "How can I get in touch?"

It only sees published, public content and can't change anything.

Content and marketing team

Staff connect Claude Desktop to the site and work with content conversationally.

  • "Which projects are missing a featured image or SEO description?"
  • "Draft a case study for our latest project in the same style as the others."
  • "Update the subtitle on the Acme project." (saved as a draft for review)

Changes are always saved as drafts or pending review. The AI never publishes or deletes content.

PWA developers

Developers connect Claude Code while building the PWA.

  • "What post types and ACF fields does this site have?"
  • "Generate TypeScript types for the project post type, including its ACF fields."
  • "Show me a sample REST payload for a project."
  • "Does this site meet the requirements for headless use?"
Agencies and freelancers

The server isn't tied to one website. Point it at any WordPress site that meets the site requirements to add AI features for a client, audit content, or speed up headless builds. Need help with a client project? See setup and custom work.

What it offers

AreaCapabilitiesProfile
ContentSearch across the site, including ACF fields; get or list posts, pages, and custom post types; categories and tags; Markdown outputAll
ACFCustom field values on any item, with labels and types from acf-jsonAll
Company infoSite name, tagline, organization details and social profiles (from Yoast), and the home page textAll
SEOYoast titles, descriptions, canonical URLs, social images; per-page review and a site-wide issue scanAll (when Yoast is active)
EditingCreate and update drafts, copy published items into drafts, update ACF fields, upload media, list draftseditor
AuditMissing featured images, alt text, meta descriptions, excerpts, and stale contenteditor
Developer toolsContent model, ACF schema, sample payloads, TypeScript type generation, site requirement and health checksdev
PromptsAnswer a visitor, SEO review, write a blog draft, weekly content reportAll / editor

Access profiles

One server, three profiles. The profile decides which tools exist at all, so a public deployment can't expose editing tools even by mistake.

ProfileForCan do
publicAI assistant in the PWARead published content. Never signs in, even if credentials are set
editorContent and marketing teamRead, plus create and update drafts, audits, and menus (menus need an Administrator)
devDevelopersRead, plus schemas, type generation, payload samples, and site checks

The editor and dev profiles sign in with a WordPress Application Password, so WordPress's own user roles and permissions still apply. The server checks the login and the user's capabilities at startup.

Design principles

  • No plugin required. The server reads only the standard WordPress REST API, so nothing extra needs installing on the client's site.
  • Safe by default. Read-only for the public. Drafts only for editors: published items can't be changed, only copied into a draft for review. No delete actions anywhere.
  • Grounded answers. Tools return source URLs so the AI can cite where information came from.
  • Small, clean responses. HTML is converted to Markdown and unused metadata is removed, which keeps AI responses fast and inexpensive.
  • Works across sites. Post types and REST routes are discovered automatically, not hardcoded. Optional integrations such as Yoast SEO only appear when the site has them.

Site requirements

To work fully, a WordPress site should:

  1. Register custom post types that AI clients should see with show_in_rest => true.
  2. Save ACF field groups to the theme's acf-json folder.
  3. Turn on "Show in REST API" for ACF field groups that hold public content.
  4. Keep Application Passwords enabled (the WordPress default) for the editor and dev profiles. Security plugins such as Wordfence can turn them off.

The dev profile's check_site_requirements tool checks these for you.

Known limits: ACF options pages (site-wide settings like phone and email) aren't reachable through the REST API, and menus need a signed-in Administrator.

Getting started

Requirements: Node.js 22 or newer, and a WordPress site whose REST API is reachable.

There's nothing to install: MCP clients start the server with npx -y wp-headless-mcp and pass the settings as environment variables. Set at least WP_URL. For the editor or dev profile, also create an Application Password (wp-admin → Users → Profile → Application Passwords, ideally for a dedicated user with the Editor role) and set WP_USER and WP_APP_PASSWORD. All settings: Configuration.

The server is also listed in the MCP Registry as io.github.aj-ua/wp-headless-mcp.

Try it in the MCP Inspector
npx @modelcontextprotocol/inspector -e WP_URL=http://aj-ua.local -- npx -y wp-headless-mcp

The Inspector opens in the browser. Click Connect, then try the tools, resources, and prompts.

Connect Claude Code
claude mcp add wp-headless-mcp -e WP_URL=http://aj-ua.local -- npx -y wp-headless-mcp

Add -e MCP_PROFILE=editor -e WP_USER=... -e WP_APP_PASSWORD=... for the editing tools.

Connect Claude Desktop

Add the server to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), then restart Claude Desktop:

{

"mcpServers": { "wordpress": { "command": "npx", "args": ["-y", "wp-headless-mcp"], "env": { "WP_URL": "http://aj-ua.local", "MCP_PROFILE": "editor", "WP_USER": "mcp-editor", "WP_APP_PASSWORD": " ", "ACF_JSON_PATH": "/absolute/path/to/wp-content/themes/your-theme/acf-json" } } } }

Connect a PWA backend

Run the server in HTTP mode and call it from the backend. Setup, security, and runnable Claude API examples: docs/PWA_BACKEND.md.

Configuration

All settings are environment variables. MCP clients pass them when they start the server (-e in Claude Code, env in Claude Desktop). When running from source, the npm scripts also read .env.

VariableDefaultPurpose
WP_URLrequiredSite base URL, for example http://aj-ua.local
WP_USER—Application Password user (editor and dev profiles)
WP_APP_PASSWORD—Application Password
MCP_PROFILEpublicpublic, editor, or dev

| WP_CACHE_TTL

Only the beginning is shown; read the rest in the repo