Ghost

Ghost

Drive Ghost (open-source publishing platform) from any AI agent: posts, pages, tags, members, newsletters. 12 tools, Admin API JWT auth.

7-day free trial · No credit card · EU-hosted

Ask Ghost anything

Try a real prompt against Ghost via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.

Install Ghost on Cloud
Ghost · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Setup in 2 minutes

  1. 1Start a free trial on cloud.anythingmcp.com.
  2. 2Click Ghost in the connector store. Paste credentials when prompted.
  3. 3Mint an MCP API key and point your AI client at the generated MCP URL.
Install Ghost now

Guides for Ghost

Step-by-step setup for the most popular AI clients.

Setting up Ghost

From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.

This connector uses the Ghost Admin API v5 (ghost.org/docs/admin-api/).

Setup:

  1. Sign in to Ghost Admin → Settings → Advanced → Integrations → Add custom integration.
  2. Copy the Admin API Key — format is <id>:<secret> (e.g. 5f3a...c4:b9d8...e2).
  3. Set:
    • GHOST_ADMIN_API_URL = your Ghost site's admin API base, e.g. https://yoursite.com/ghost/api/admin
    • GHOST_ADMIN_API_KEY = the full id:secret key from step 2

Authentication — JWT generation required: Ghost's Admin API does NOT accept the raw API key. Each request needs a JWT signed with the secret half. The JWT is short-lived (5 min) and has these claims:

  alg: 'HS256', kid: <id_part>, typ: 'JWT'
  exp: now+5min, iat: now, aud: '/admin/'

This connector currently expects the OPERATOR or external orchestrator to generate the JWT and pass it as GHOST_ADMIN_JWT — the engine then sends Authorization: Ghost ${GHOST_ADMIN_JWT}. For a proper LOGIN_TOKEN-style auto-rotation see the Sorare adapter as the reference pattern; that's a future enhancement.

Workaround for testing: use the official @tryghost/admin-api JS SDK to generate a JWT and copy it as GHOST_ADMIN_JWT. Or use the Ghost CLI: ghost generate-jwt.

Content API alternative: for read-only public-published content, the simpler Content API uses a single key as a query parameter — no JWT. Switch baseUrl to /ghost/api/content and use a Content API key.

Post status: draft, published, scheduled, sent.

Mobiledoc vs Lexical: Ghost stores post content in either format. Modern Ghost (v5+) defaults to Lexical (lexical field). Set html on writes — Ghost converts to its internal format.

Pagination: ?page=N&limit=M (max 100 for posts/pages, 15 for some). Response has meta.pagination.

Webhooks out of scope.

Out of scope here: themes, settings, redirects management, oEmbed.

Your AI is two clicks away from Ghost.

Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.