Skip to main content
Glama

ghost-admin-mcp

An MCP (Model Context Protocol) server for the Ghost Admin API. Lets any MCP client — Claude, Cursor, obot, etc. — manage a Ghost blog: create and edit posts and pages, manage tags, and upload images.

Unlike Content-API wrappers, this uses the Admin API, so it can write, not just read.

Tools

Tool

Description

posts_browse / posts_read

List post summaries (NQL filters, pagination) / read one with full HTML

posts_create / posts_update / posts_delete

Full write access, including SEO meta, tags, feature image, scheduling

pages_browse / pages_read / pages_create / pages_update / pages_delete

Same, for pages

tags_browse / tags_create / tags_update / tags_delete

Tag management with post counts

images_upload

Upload from a remote URL or local path; returns the Ghost-hosted URL

site_info

Site title, url, Ghost version

Niceties handled for you:

  • updated_at collision check — updates fetch the current value first, so you never see Saving failed! Someone else is editing this post.

  • HTML source — write bodies as plain HTML; Ghost converts to its native format (?source=html).

  • Tags by name — pass ["Recipes", "Dinner"]; unknown tags are created automatically.

Related MCP server: Ghost MCP

Setup

  1. In Ghost Admin: Settings → Integrations → Add custom integration — copy the Admin API Key (id:secret format) and your site URL.

  2. Configure your MCP client:

{
  "mcpServers": {
    "ghost": {
      "command": "npx",
      "args": ["-y", "ghost-admin-mcp"],
      "env": {
        "GHOST_API_URL": "https://your-blog.com",
        "GHOST_ADMIN_API_KEY": "abc123:def456..."
      }
    }
  }
}

Environment variables

Variable

Required

Description

GHOST_API_URL

yes

Your Ghost site URL, no trailing slash needed

GHOST_ADMIN_API_KEY

yes

Admin API key (id:secret) from a custom integration

GHOST_API_VERSION

no

API version header, default v5.0 (works with Ghost 5.x and 6.x)

Docker

docker build -t ghost-admin-mcp .
docker run -e GHOST_API_URL=... -e GHOST_ADMIN_API_KEY=... ghost-admin-mcp

The container speaks MCP over stdio; use your platform's stdio wrapper (e.g. obot's containerized runtime) to expose it over HTTP.

Development

npm install
npm run build
GHOST_API_URL=... GHOST_ADMIN_API_KEY=... node dist/index.js

License

MIT

Available Tools

16 tools
images_uploadA

Upload an image to Ghost from a remote URL or a local file path. Returns the Ghost-hosted URL to use as feature_image or in post HTML.

Inputs: url, file_path.

pages_browseB

List pages (summaries only). Supports Ghost NQL filters and pagination.

Inputs: page, limit, order, filter.

pages_createC

Create a page. Defaults to draft unless status is set.

Inputs: title (required), html, tags, status, +14 more.

pages_deleteB

Permanently delete a page by id. This cannot be undone.

Inputs: id (required).

pages_readA

Read a single page by id or slug, including its full HTML body.

Inputs: id, slug.

pages_updateB

Update a page. Only the provided fields change; the body is replaced only when html is given. Handles Ghost's updated_at collision check automatically.

Inputs: id (required), html, tags, title, +15 more.

posts_browseA

List posts (summaries only). Supports Ghost NQL filters and pagination.

Inputs: page, limit, order, filter.

posts_createC

Create a post. Defaults to draft unless status is set.

Inputs: title (required), html, tags, status, +14 more.

posts_deleteB

Permanently delete a post by id. This cannot be undone.

Inputs: id (required).

posts_readB

Read a single post by id or slug, including its full HTML body.

Inputs: id, slug.

posts_updateB

Update a post. Only the provided fields change; the body is replaced only when html is given. Handles Ghost's updated_at collision check automatically.

Inputs: id (required), html, tags, title, +15 more.

site_infoA

Read basic site information (title, url, version).

Inputs: no named parameters.

tags_browseB

List tags with post counts.

Inputs: page, limit, order, filter.

tags_createC

Create a tag.

Inputs: name (required), slug, meta_title, description, +1 more.

tags_deleteA

Delete a tag by id. Posts keep their other tags.

Inputs: id (required).

tags_updateC

Update a tag by id.

Inputs: id (required), name, slug, meta_title, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 16 tools

    Disambiguation5/5

    Every tool targets a distinct resource+action pair (posts/pages/tags × browse/read/create/update/delete, plus images_upload and site_info). There is no plausible confusion about which tool to call for a given intent.

    Naming Consistency4/5

    The dominant pattern is resource_verb (tags_update, posts_browse, pages_read), applied consistently across all posts/pages/tags tools. The lone deviation is site_info, which is noun_noun rather than verb-based, a minor inconsistency.

    Tool Count4/5

    16 tools slightly exceeds the ideal 3-15 band, but each earns its place: full CRUD for posts and pages, CRUD for tags, plus image upload and site info. Nothing looks redundant or filler.

    Completeness4/5

    Posts, pages, and tags each have full create/read/browse/update/delete coverage, which is strong. Minor gaps exist: no single-tag read, no image listing/deletion, and no author/user or settings operations.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers