Skip to main content
Glama

Ghost MCP

An MCP (Model Context Protocol) server for interacting with Ghost CMS blogs through AI assistants.

Documentation npm

Full documentation: https://workspace.github.io/ghost-mcp/

Quick Start

Local (stdio)

Add to your Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "ghost": {
      "command": "npx",
      "args": ["-y", "@ryukimin/ghost-mcp"],
      "env": {
        "GHOST_URL": "https://your-blog.ghost.io",
        "GHOST_CONTENT_API_KEY": "your-content-api-key",
        "GHOST_ADMIN_API_KEY": "your-admin-id:your-admin-secret"
      }
    }
  }
}

Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Remote (Docker)

docker compose up -d

See Remote Setup for the full guide.

Related MCP server: Ghost CMS MCP

Features

  • Content API (read-only): Browse and read posts, pages, tags, and authors (8 tools)

  • Admin API (full CRUD): Create, update, and delete posts, pages, tags, members, newsletters, tiers, offers, webhooks, and more (46 tools)

  • Dual transport: stdio for local, Streamable HTTP for remote deployment

  • OAuth 2.1: Secure per-user authentication for remote mode

Getting API Keys

  1. In Ghost Admin, go to Settings > Integrations

  2. Create a new Custom Integration

  3. Copy the Content API Key for read-only access

  4. Copy the Admin API Key for full access (id:secret format)

Development

npm install        # Install dependencies
npm run build      # Build TypeScript
npm start          # Run stdio server
npm run start:sse  # Run HTTP/SSE server
npm test           # Run tests
npm run lint       # Lint code

Documentation

License

ISC

Available Tools

8 tools
content_browse_authorsA

Browse public authors from Ghost Content API (read-only).

USE CASE:

  • Display team/contributor page on website

  • Build author archive pages

  • Get post counts per author

INCLUDE OPTIONS:

  • count.posts: Include number of published posts per author

NOTE: Only authors with at least one published post are returned. For all staff users (including those without posts), use admin_browse_users instead.

RETURNS: Array of authors with bio, social links, and optional post counts.

Inputs: include, fields, filter, limit, +2 more.

content_browse_pagesA

Browse published pages from Ghost Content API (read-only, public content).

TIP: Use "fields" param (e.g., "id,title,slug,published_at,excerpt") to reduce response size. Omit html field unless content is needed.

USE CASE:

  • Display static pages (About, Contact, Terms) on a website frontend

  • Build site navigation from published pages

  • List all available pages for sitemap generation

NOTE: Only returns published pages visible to the public. Pages are static content NOT shown in RSS feeds or blog listings. For drafts or all pages, use admin_browse_pages instead.

RETURNS: Array of pages with pagination metadata (page, pages, total).

Inputs: include, fields, formats, filter, +3 more.

content_browse_postsA

Browse published posts from Ghost Content API (read-only, public content).

TIP: Use "fields" param (e.g., "id,title,slug,published_at,excerpt") to reduce response size. Omit html field unless content is needed.

USE CASE:

  • Display a list of blog posts on a website frontend

  • Search for posts by tag, author, or custom NQL filters

  • Build RSS feeds or sitemaps from published content

NOTE: Only returns published posts visible to the public. For drafts, scheduled, or all posts, use admin_browse_posts instead.

FILTER EXAMPLES:

  • tag:getting-started (posts with specific tag)

  • featured:true (featured posts only)

  • author:john (posts by specific author)

RETURNS: Array of posts with pagination metadata (page, pages, total).

Inputs: include, fields, formats, filter, +3 more.

content_browse_tagsA

Browse public tags from Ghost Content API (read-only).

USE CASE:

  • Display tag cloud or category list on website

  • Build tag-based navigation

  • Get post counts for each tag

INCLUDE OPTIONS:

  • count.posts: Include number of posts per tag

NOTE: Only returns public tags (not internal tags starting with #). For all tags including internal, use admin_browse_tags instead.

RETURNS: Array of tags with metadata and optional post counts.

Inputs: include, fields, filter, limit, +2 more.

content_read_authorA

Read a single public author by ID or slug (read-only).

USE CASE:

  • Display author profile page

  • Get author bio and social links for bylines

IDENTIFIER: Provide either 'id' OR 'slug', not both.

NOTE: Only returns authors with published posts. For staff users without published posts, use admin_read_user instead.

RETURNS: Single author object with bio, social links, and optional post count.

Inputs: id, slug, include, fields.

content_read_pageA

Read a single published page by ID or slug (read-only, public content).

USE CASE:

  • Display a static page (About, Contact, etc.) on your website

  • Fetch page content for embedding or rendering

IDENTIFIER: Provide either 'id' OR 'slug', not both.

NOTE: Only returns published pages visible to the public. For drafts or scheduled pages, use admin_read_page instead.

RETURNS: Single page object with requested fields and related data.

Inputs: id, slug, include, fields, +1 more.

content_read_postA

Read a single published post by ID or slug (read-only, public content).

USE CASE:

  • Display a single blog post page on your website

  • Fetch post content for embedding or social sharing

  • Get full post details including HTML content

IDENTIFIER: Provide either 'id' OR 'slug', not both.

NOTE: Only returns published posts visible to the public. For drafts or scheduled posts, use admin_read_post instead.

RETURNS: Single post object with requested fields and related data (tags, authors).

Inputs: id, slug, include, fields, +1 more.

content_read_tagA

Read a single public tag by ID or slug (read-only).

USE CASE:

  • Display tag details on a tag archive page

  • Get tag metadata for SEO purposes

IDENTIFIER: Provide either 'id' OR 'slug', not both.

NOTE: Only returns public tags visible on the website. For internal tags, use admin_read_tag instead.

RETURNS: Single tag object with metadata and optional post count.

Inputs: id, slug, include, fields.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a unique combination of resource (author, page, post, tag) and operation (browse or read), with no overlapping functionality. Descriptions clearly differentiate between list and single retrieval.

    Naming Consistency5/5

    All tools follow a consistent `content_{browse|read}_{resource}` pattern, using snake_case and a clear verb-noun structure. The naming is predictable and uniform across the entire surface.

    Tool Count5/5

    8 tools is ideal for a focused read-only public content API covering four resources with list and single retrieval. Each tool serves a distinct purpose without being excessive or insufficient.

    Completeness5/5

    The tool set fully covers the domain of public content access: all four primary resources (authors, pages, posts, tags) have both browse and read operations. There are no obvious gaps for the intended use cases.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers