Skip to main content
Glama
vizionik25

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 CMS MCP Server

๐Ÿ› ๏ธ 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

A
license - permissive license
A
quality
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.

  • Publish and manage articles, series, comments, reactions, newsletters and blog analytics.

  • SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vizionik25/self-hosted-ghost-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server