Koskamo

WordPress Headless MCP

This MCP server connects a WordPress site to AI assistants, enabling them to read posts, pages, custom post types, ACF fields, and Yoast SEO data. It supports read-only access, draft-only editing, and developer profiles via stdio and HTTP, built for headless and PWA projects.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

WordPress Headless MCP logo, by aj-uaCommunity listingLocal stdioSource reviewed; not executedPublished by aj-ua
Vendor documentation

What you can do with it

  • Read WordPress posts and pages
  • Access ACF fields and Yoast SEO data
  • Safely edit content drafts
  • Answer questions about site content

Source and maintenance

Community listingRegistry 1.0.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

wp-headless-mcp 1.0.0

npmnpx
wp-headless-mcp package definition
{
  "version": "1.0.0",
  "transport": "stdio",
  "identifier": "wp-headless-mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "WP_URL",
      "format": "string",
      "isRequired": true,
      "description": "Base URL of the WordPress site, without a trailing slash"
    },
    {
      "name": "MCP_PROFILE",
      "format": "string",
      "choices": [
        "public",
        "editor",
        "dev"
      ],
      "default": "public",
      "description": "Tool profile: public (read published content), editor (adds draft-only editing), or dev (adds developer tools)"
    },
    {
      "name": "WP_USER",
      "format": "string",
      "description": "WordPress user for the Application Password (editor and dev profiles)"
    },
    {
      "name": "WP_APP_PASSWORD",
      "format": "string",
      "description": "WordPress Application Password (editor and dev profiles)"
    },
    {
      "name": "WP_CACHE_TTL",
      "format": "number",
      "default": "60",
      "description": "Seconds to cache GET requests; 0 turns caching off"
    },
    {
      "name": "ACF_JSON_PATH",
      "format": "filepath",
      "description": "Absolute path to the theme's acf-json folder, for ACF labels, schemas, and TypeScript types"
    },
    {
      "name": "MCP_CPTS",
      "format": "string",
      "default": "auto",
      "description": "Custom post type tools: auto, none, or a JSON array of {postType, singular, plural}"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "wordpress-headless-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp@1.0.0"
      ],
      "env": {
        "WP_URL": "<YOUR_WP_URL>",
        "MCP_PROFILE": "<YOUR_MCP_PROFILE>",
        "WP_USER": "<YOUR_WP_USER>",
        "WP_APP_PASSWORD": "<YOUR_WP_APP_PASSWORD>",
        "WP_CACHE_TTL": "<YOUR_WP_CACHE_TTL>",
        "ACF_JSON_PATH": "<YOUR_ACF_JSON_PATH>",
        "MCP_CPTS": "<YOUR_MCP_CPTS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "wordpress-headless-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp@1.0.0"
      ],
      "env": {
        "WP_URL": "<YOUR_WP_URL>",
        "MCP_PROFILE": "<YOUR_MCP_PROFILE>",
        "WP_USER": "<YOUR_WP_USER>",
        "WP_APP_PASSWORD": "<YOUR_WP_APP_PASSWORD>",
        "WP_CACHE_TTL": "<YOUR_WP_CACHE_TTL>",
        "ACF_JSON_PATH": "<YOUR_ACF_JSON_PATH>",
        "MCP_CPTS": "<YOUR_MCP_CPTS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "wordpress-headless-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp@1.0.0"
      ],
      "env": {
        "WP_URL": "<YOUR_WP_URL>",
        "MCP_PROFILE": "<YOUR_MCP_PROFILE>",
        "WP_USER": "<YOUR_WP_USER>",
        "WP_APP_PASSWORD": "<YOUR_WP_APP_PASSWORD>",
        "WP_CACHE_TTL": "<YOUR_WP_CACHE_TTL>",
        "ACF_JSON_PATH": "<YOUR_ACF_JSON_PATH>",
        "MCP_CPTS": "<YOUR_MCP_CPTS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "wordpress-headless-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-headless-mcp@1.0.0"
      ],
      "env": {
        "WP_URL": "<YOUR_WP_URL>",
        "MCP_PROFILE": "<YOUR_MCP_PROFILE>",
        "WP_USER": "<YOUR_WP_USER>",
        "WP_APP_PASSWORD": "<YOUR_WP_APP_PASSWORD>",
        "WP_CACHE_TTL": "<YOUR_WP_CACHE_TTL>",
        "ACF_JSON_PATH": "<YOUR_ACF_JSON_PATH>",
        "MCP_CPTS": "<YOUR_MCP_CPTS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like WordPress Headless MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.