Skip to main content
Glama
Ghost CMS Admin & Newsletter MCP Server

Ghost CMS Admin & Newsletter MCP Server

by vizionik25

๐Ÿ‘ป Ghost CMS Admin & Newsletter MCP Server

A production-ready Model Context Protocol (MCP) server supporting Streamable HTTP (MCP Specification), SSE, and stdio, allowing AI models (Claude, Cursor, Antigravity, ChatGPT, Cline, Zed, etc.) to manage, curate, draft, publish, and administer self-hosted Ghost CMS Blogs & Newsletters.

Designed for standalone deployment on your VPS alongside your Ghost instance, behind Docker, Coolify, Caddy, or Nginx.


โšก Streamable HTTP Endpoints

Endpoint

Method

Description

/mcp

POST / GET

MCP Streamable HTTP Transport (Official MCP spec endpoint for stateful/stateless LLM requests & streaming)

/sse

GET

Legacy Server-Sent Events (SSE) endpoint for backwards compatibility

/messages

POST

Legacy SSE messages intake endpoint (/messages?sessionId=...)

/health

GET

Health check & Ghost connectivity status verification

/

GET

Overview of server status, endpoints, and Ghost site metadata


Related MCP server: Ghost MCP

๐Ÿ› ๏ธ Included MCP Tools Catalog

๐Ÿ“ 1. Posts & Newsletters

  • ghost_list_posts: Search, filter, and paginate blog posts & newsletter editions (draft, published, scheduled, sent, all).

  • ghost_get_post: Fetch full content, HTML, mobiledoc/lexical, tags, authors, and email click/delivery stats.

  • ghost_create_post: Create blog posts and newsletters directly from Markdown or HTML with SEO metadata, tags, authors, excerpts, and custom scheduling.

  • ghost_update_post: Edit existing posts with automatic concurrency synchronization (updated_at).

  • ghost_delete_post: Permanently delete a post by ID.

  • ghost_publish_and_send_newsletter: One-shot publish & email broadcast to subscriber tiers (all, status:free, status:paid).

๐Ÿ“„ 2. Static Pages

  • ghost_list_pages, ghost_get_page, ghost_create_page, ghost_update_page, ghost_delete_page: Complete static pages lifecycle (About, Contact, Landing pages).

๐Ÿ’Œ 3. Newsletters & Email Configuration

  • ghost_list_newsletters: List all publication email newsletters with member counts and dispatch history.

  • ghost_get_newsletter, ghost_create_newsletter, ghost_update_newsletter: Manage sender names, sender emails, reply-to, and subscriber defaults.

๐Ÿ‘ฅ 4. Members & Subscribers

  • ghost_list_members: Search and filter subscribers by email, name, subscription tier, and labels.

  • ghost_get_member, ghost_create_member, ghost_update_member, ghost_delete_member: Subscriber profile management and complimentary tier assignments.

  • ghost_add_member_labels: Append segmentation labels to members.

๐Ÿท๏ธ 5. Tags, Tiers, Settings, Media & Webhooks

  • Tags: ghost_list_tags, ghost_get_tag, ghost_create_tag, ghost_update_tag, ghost_delete_tag (including internal #tags).

  • Tiers & Offers: ghost_list_tiers, ghost_list_offers (Free & Paid memberships, pricing, coupons).

  • Site Settings & Diagnostics: ghost_get_site_info, ghost_test_connection.

  • Media Uploads: ghost_upload_image (upload local files, web URLs, or base64 images to Ghost for feature images).

  • Webhooks: ghost_list_webhooks, ghost_create_webhook, ghost_delete_webhook.


๐Ÿ“ฆ MCP Resources & Prompts

Resources

  • ghost://site/info โ€“ Publication title, URL, version, and global configuration.

  • ghost://newsletters โ€“ Active email newsletters with subscriber counts.

  • ghost://tiers โ€“ Available membership tiers and pricing models.

  • ghost://posts/recent โ€“ 10 most recent published posts.

  • ghost://members/summary โ€“ Member counts and recent subscriber activities.

Prompts

  • draft-blog-post โ€“ Guided interactive template to create an SEO-optimized blog post with tags, excerpts, and formatting.

  • draft-newsletter โ€“ Structure and write an engaging email newsletter issue ready for broadcast.

  • ghost-content-audit โ€“ Complete editorial review of recent posts, tag hygiene, and audience growth recommendations.


๐Ÿ”‘ Ghost Admin API Setup

  1. Open your Ghost Admin dashboard (https://your-blog.ghost.io/ghost or http://localhost:2368/ghost).

  2. Go to Settings (gear icon) โž” Integrations.

  3. Click Add custom integration.

  4. Name it (e.g. AI Admin Assistant or MCP Server).

  5. Copy:

    • Admin API URL (e.g. http://localhost:2368 or https://blog.yourdomain.com)

    • Admin API Key (e.g. 64a7c8e2b0123456789abcde:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef)


๐Ÿš€ Coolify & VPS Deployment Alongside Ghost

Deploying on Coolify (Zero-Config Reverse Proxy & SSL)

Coolify automatically handles Traefik reverse proxying, Let's Encrypt SSL certificates, Docker networking, and zero-downtime deploys.

  1. Create New Resource in Coolify from your Git Repository.

  2. Set Base Directory to /ghost-admin-mcp (or root if standalone repo).

  3. Set Build Pack to Dockerfile and Port to 8765.

  4. Configure Environment Variables:

    • GHOST_ADMIN_API_URL: https://blog.yourdomain.com

    • GHOST_ADMIN_API_KEY: <your-admin-api-key>

    • MCP_AUTH_TOKEN: <your-random-token>

    • PORT: 8765

    • TRANSPORT: streamable-http

  5. Set Health Check Path to /health.

  6. Set your domain (e.g. https://mcp.yourdomain.com) โ€” Coolify handles SSL automatically!

For multi-container Docker Compose in Coolify, see COOLIFY.md.


๐Ÿ”Œ Connecting Remote AI Clients

Streamable HTTP (MCP Remote Client / Cursor / Claude)

Configure your remote client to connect to:

  • URL: https://mcp.yourdomain.com/mcp

  • Headers:

    {
      "Authorization": "Bearer your_custom_secret_bearer_token"
    }

Local Stdio (Claude Desktop / Cursor local fallback)

{
  "mcpServers": {
    "ghost-admin": {
      "command": "node",
      "args": ["/path/to/ghost-admin-mcp/dist/index.js"],
      "env": {
        "GHOST_ADMIN_API_URL": "https://blog.yourdomain.com",
        "GHOST_ADMIN_API_KEY": "your_key_id:your_secret_key"
      }
    }
  }
}

๐Ÿงช Testing

bun test

๐Ÿ“„ License

MIT

Available Tools

34 tools
ghost_add_member_labelsB

Append one or more labels to an existing member for segmentation.

Inputs: id (required), labels (required).

ghost_create_memberB

Add a new member or subscriber to Ghost CMS.

Inputs: email (required), name, note, comped, +5 more.

ghost_create_newsletterC

Create a new email newsletter channel for the Ghost publication.

Inputs: name (required), description, sender_name, sender_email, +3 more.

ghost_create_pageB

Create a new static page in Ghost CMS.

Inputs: title (required), html, slug, status, +5 more.

ghost_create_postC

Create a new blog post or newsletter draft in Ghost CMS.

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

ghost_create_tagC

Create a new tag (public or internal starting with #).

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

ghost_create_webhookA

Create a new webhook in Ghost CMS for event notifications (e.g. 'post.published', 'member.added').

Inputs: event (required), target_url (required), name, secret.

ghost_delete_memberB

Permanently delete a member from Ghost CMS.

Inputs: id (required).

ghost_delete_pageA

Delete a static page permanently by ID.

Inputs: id (required).

ghost_delete_postA

Delete a post permanently from Ghost CMS by ID.

Inputs: id (required).

ghost_delete_tagA

Delete a tag permanently from Ghost CMS.

Inputs: id (required).

ghost_delete_webhookB

Delete a webhook by ID from Ghost CMS.

Inputs: id (required).

ghost_get_memberA

Get detailed profile, subscription tiers, and email history for a member by ID.

Inputs: id (required).

ghost_get_newsletterA

Get detailed configuration and stats for a specific newsletter by ID.

Inputs: id (required).

ghost_get_pageA

Get full details and content of a static Ghost page by ID or Slug.

Inputs: idOrSlug (required), format.

ghost_get_postA

Get full details and content of a single Ghost post by its ID or Slug.

Inputs: idOrSlug (required), format.

ghost_get_site_infoA

Get full site metadata, settings, title, timezone, version, and navigation structure.

Inputs: no named parameters.

ghost_get_tagB

Get full details for a tag by ID or slug.

Inputs: idOrSlug (required).

ghost_list_membersB

List, search, and filter members/subscribers of the Ghost publication.

Inputs: page, limit, order, filter, +1 more.

ghost_list_newslettersA

List all email newsletters configured on the Ghost CMS publication.

Inputs: include.

ghost_list_offersA

List all active discount offers and promotional codes in Ghost CMS.

Inputs: no named parameters.

ghost_list_pagesA

List static pages in Ghost CMS (e.g. About, Contact, Privacy Policy, Landing pages).

Inputs: page, limit, filter.

ghost_list_postsC

List and search blog posts & newsletters from Ghost CMS with filtering, pagination, and sorting.

Inputs: page, limit, order, filter, +1 more.

ghost_list_tagsA

List all tags (public and internal #tags) used across Ghost posts.

Inputs: limit, order, filter.

ghost_list_tiersA

List all membership and subscription tiers (Free, Paid, Monthly/Yearly pricing, Benefits).

Inputs: no named parameters.

ghost_list_webhooksA

List all configured webhooks in Ghost CMS.

Inputs: no named parameters.

ghost_publish_and_send_newsletterB

Publish a draft post and immediately broadcast it as an email newsletter to subscribers.

Inputs: id (required), email_segment, newsletter_id.

ghost_test_connectionA

Verify authentication and connection to the self-hosted Ghost CMS instance.

Inputs: no named parameters.

ghost_update_memberB

Update an existing member's information, labels, or subscription status.

Inputs: id (required), name, note, email, +4 more.

ghost_update_newsletterB

Update configuration of an existing newsletter by ID.

Inputs: id (required), name, status, description, +3 more.

ghost_update_pageC

Update an existing static page in Ghost CMS.

Inputs: id (required), html, title, status, +5 more.

ghost_update_postB

Update an existing post in Ghost CMS by ID.

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

ghost_update_tagB

Update an existing tag in Ghost CMS.

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

ghost_upload_imageB

Upload an image to Ghost CMS from a local file path, a web URL, or base64 string. Returns the public Ghost image URL for feature images or inline content.

Inputs: purpose, fileName, filePath, imageUrl, +1 more.

Tool Schema Changelog

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

Loading tool schema changelogโ€ฆ

    TDQS

    A3.6/5.0

    Scored across 34 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action (e.g., list_posts vs get_post, create_member vs update_member). The combination of noun (post, page, tag, member, newsletter, webhook) and verb (list, get, create, update, delete) makes each tool's purpose immediately clear, with no overlapping or ambiguous tools.

    Naming Consistency5/5

    All tools follow a uniform 'ghost_<verb>_<noun>' pattern in snake_case. Verbs are consistently action-oriented (list, get, create, update, delete) and nouns correspond to specific entities, with only a few compound verbs like 'publish_and_send' that still adhere to the overall pattern.

    Tool Count4/5

    With 34 tools, the server covers a broad domain (posts, pages, tags, members, newsletters, webhooks, offers, tiers, images, site info). While higher than the typical 3-15 range, it is justified by the number of entities and their CRUD needs, so it remains reasonable and each tool serves a distinct purpose.

    Completeness4/5

    The tool surface covers full lifecycle operations for most core entities (posts, pages, tags, members, webhooks) and provides listing for auxiliary entities like offers and tiers. Minor gaps exist (e.g., no delete for newsletters, no update for webhooks), but these are edge cases and do not block primary workflows.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Ghost CMS content including posts, members, users, tags, tiers, offers, newsletters, invites, roles, and webhooks via the Ghost Admin API.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables to manage Ghost CMS instance using LLM interfaces. Supports comprehensive CRUD operations on posts, members, newsletters, offers, tags, tiers, users, and webhooks.
      MIT