KosmoKrator

cms

WordPress MCP Gateway for AI Agents

Expose WordPress tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

8 functions 6 read 2 write API key auth

WordPress MCP Gateway

Expose WordPress to MCP clients with `kosmokrator mcp:serve --integration=wordpress`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=wordpress --write=deny --json
{
  "mcpServers": {
    "kosmokrator-wordpress": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=wordpress",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=wordpress --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__wordpress__wordpress_create_post wordpress.wordpress_create_post Write write
integration__wordpress__wordpress_get_current_user wordpress.wordpress_get_current_user Read read
integration__wordpress__wordpress_get_post wordpress.wordpress_get_post Read read
integration__wordpress__wordpress_list_comments wordpress.wordpress_list_comments Read read
integration__wordpress__wordpress_list_pages wordpress.wordpress_list_pages Read read
integration__wordpress__wordpress_list_posts wordpress.wordpress_list_posts Read read
integration__wordpress__wordpress_list_users wordpress.wordpress_list_users Read read
integration__wordpress__wordpress_update_post wordpress.wordpress_update_post Write write

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.