KosmoKrator

productivity

Ghost CMS MCP Gateway for AI Agents

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

Ghost CMS MCP Gateway

Expose Ghost CMS to MCP clients with `kosmokrator mcp:serve --integration=ghost`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server.

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

Client Notes

Use one scoped MCP gateway entry, then adapt the config location to the client or framework.

Claude Code Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry. Claude Code can launch the local kosmo binary directly from the project MCP config.
Cursor Expose selected local integrations to Cursor through KosmoKrator without configuring each service as its own MCP server. Use the same KosmoKrator install and integration credentials that power terminal and headless runs.
Codex Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy. Keep write access denied or ask-based unless the workspace is trusted.
OpenAI Agents SDK Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway. Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
Claude Agent SDK Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server. Use a narrow integration list so the agent does not load unrelated tools.
Vercel AI SDK Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts. Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
LangChain Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls. Keep the gateway scoped to the integration and operation class needed by the chain.
LangGraph Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions. Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
CrewAI Expose KosmoKrator integrations to CrewAI workers as scoped local tools. Use per-worker integration scopes to avoid giving every worker every tool.
Generic MCP Clients Connect any stdio-compatible MCP client to local KosmoKrator integration tools. Start with read-only write policy and expand only for trusted projects.

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names.

MCP toolSource functionType
integration__ghost__ghost_api_delete ghost.ghost_api_delete Read read
integration__ghost__ghost_api_get ghost.ghost_api_get Read read
integration__ghost__ghost_api_post ghost.ghost_api_post Read read
integration__ghost__ghost_api_put ghost.ghost_api_put Read read
integration__ghost__ghost_create_member ghost.ghost_create_member Write write
integration__ghost__ghost_create_offer ghost.ghost_create_offer Write write
integration__ghost__ghost_create_page ghost.ghost_create_page Write write
integration__ghost__ghost_create_post ghost.ghost_create_post Write write
integration__ghost__ghost_create_tag ghost.ghost_create_tag Write write
integration__ghost__ghost_create_tier ghost.ghost_create_tier Write write
integration__ghost__ghost_create_webhook ghost.ghost_create_webhook Write write
integration__ghost__ghost_delete_member ghost.ghost_delete_member Write write
integration__ghost__ghost_delete_page ghost.ghost_delete_page Write write
integration__ghost__ghost_delete_post ghost.ghost_delete_post Write write
integration__ghost__ghost_delete_tag ghost.ghost_delete_tag Write write
integration__ghost__ghost_delete_webhook ghost.ghost_delete_webhook Write write
integration__ghost__ghost_get_author ghost.ghost_get_author Read read
integration__ghost__ghost_get_current_user ghost.ghost_get_current_user Read read
integration__ghost__ghost_get_member ghost.ghost_get_member Read read
integration__ghost__ghost_get_newsletter ghost.ghost_get_newsletter Read read
integration__ghost__ghost_get_offer ghost.ghost_get_offer Read read
integration__ghost__ghost_get_page ghost.ghost_get_page Read read
integration__ghost__ghost_get_post ghost.ghost_get_post Read read
integration__ghost__ghost_get_site ghost.ghost_get_site Read read
integration__ghost__ghost_get_tag ghost.ghost_get_tag Read read
integration__ghost__ghost_get_tier ghost.ghost_get_tier Read read
integration__ghost__ghost_list_authors ghost.ghost_list_authors Read read
integration__ghost__ghost_list_members ghost.ghost_list_members Read read
integration__ghost__ghost_list_newsletters ghost.ghost_list_newsletters Read read
integration__ghost__ghost_list_offers ghost.ghost_list_offers Read read
integration__ghost__ghost_list_pages ghost.ghost_list_pages Read read
integration__ghost__ghost_list_posts ghost.ghost_list_posts Read read
integration__ghost__ghost_list_tags ghost.ghost_list_tags Read read
integration__ghost__ghost_list_tiers ghost.ghost_list_tiers Read read
integration__ghost__ghost_list_webhooks ghost.ghost_list_webhooks Read read
integration__ghost__ghost_update_member ghost.ghost_update_member Write write
integration__ghost__ghost_update_offer ghost.ghost_update_offer Write write
integration__ghost__ghost_update_page ghost.ghost_update_page Write write
integration__ghost__ghost_update_post ghost.ghost_update_post Write write
integration__ghost__ghost_update_tag ghost.ghost_update_tag Write write
integration__ghost__ghost_update_tier ghost.ghost_update_tier Write write
integration__ghost__ghost_update_webhook ghost.ghost_update_webhook 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.