Ghost MCP server

Content and CMS

A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. Allow you to control your Ghost blog by simply asking Claude etc.

Your AI app calls the Ghost MCP server, which does the content and CMS work and sends the result back to the chat.

About Ghost

Ghost is a community MCP server from MFYDev, filed in our directory under content and cms. A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. Allow you to control your Ghost blog by simply asking Claude etc.

At a glance

Publisher
MFYDev (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
250

How to set up Ghost

  1. Follow the install steps in the Ghost README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Ghost README for keys or settings; the registry lists none that Ghost requires.
  3. Add Ghost to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Ghost tools to confirm the connection.
  5. Run one read-only task with Ghost first, and keep your app asking before each tool call until the results look right.

Ghost compared with similar servers

  • Growth Engineer by GetBrew has fewer GitHub stars than Ghost (221 against 250); both are community servers, and Growth Engineer runs as a remote server and Ghost runs on your own machine.
  • Markmap by jinzcdev has more GitHub stars than Ghost (290 against 250); both are community servers, and both run locally.
  • Sanity by sanity-io has fewer GitHub stars than Ghost (203 against 250); Sanity is official while Ghost is a community server, and Sanity runs as a remote server and Ghost runs on your own machine.

Before you connect Ghost

  • Give Ghost its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Ghost tool call until you trust what it does with them.
  • Treat text that Ghost fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Ghost on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Ghost

How marketing and sales teams put Ghost to work, by company size. Pick the size closest to yours and start Ghost on one use case.

Small business

  • A small business can use Ghost to draft, update and publish site pages from a chat, keeping the site fresh without an agency.
  • Owners can ask Ghost which pages are outdated and get a list of updates in order of traffic.
  • Ghost runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Content teams can connect Ghost to move drafts into the CMS with fields, tags and metadata filled in, ready for an editor.
  • SEO and content teams can use Ghost to refresh old posts at scale, with each change reviewed before it goes live.
  • Start Ghost on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can give Ghost draft-only rights, so agents prepare content while publishing stays with approved editors.
  • Large content orgs can use Ghost to manage many sites and languages, keeping structure and governance consistent.
  • Ghost is a community server, so have security review the code and pin a version before Ghost touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Ghost README

From MFYDev/ghost-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Ghost MCP Server

A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. This server provides secure and comprehensive access to your Ghost blog, leveraging JWT authentication and a rich set of MCP tools for managing posts, users, members, tiers, offers, and newsletters.

Features

  • Secure Ghost Admin API requests with @tryghost/admin-api
  • Comprehensive entity access including posts, users, members, tiers, offers, and newsletters
  • Advanced search functionality with both fuzzy and exact matching options
  • Detailed, human-readable output for Ghost entities
  • Robust error handling using custom GhostError exceptions
  • Integrated logging support via MCP context for enhanced troubleshooting

Usage

To use this with MCP clients, for instance, Claude Desktop, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
      "ghost-mcp": {
        "command": "npx",
        "args": ["-y", "@fanyangmeng/ghost-mcp"],
        "env": {
            "GHOST_API_URL": "https://yourblog.com",
            "GHOST_ADMIN_API_KEY": "your_admin_api_key",
            "GHOST_API_VERSION": "v5.0"
        }
      }
    }
}

Available Resources

The following Ghost CMS resources are available through this MCP server:

  • Posts: Articles and content published on your Ghost site.
  • Members: Registered users and subscribers of your site.
  • Newsletters: Email newsletters managed and sent via Ghost.
  • Offers: Promotional offers and discounts for members.
  • Invites: Invitations for new users or staff to join your Ghost site.
  • Roles: User roles and permissions within the Ghost admin.
  • Tags: Organizational tags for posts and content.
  • Tiers: Subscription tiers and plans for members.
  • Users: Admin users and staff accounts.
  • Webhooks: Automated event notifications to external services.

Available Tools

This MCP server exposes a comprehensive set of tools for managing your Ghost CMS via the Model Context Protocol. Each resource provides a set of operations, typically including browsing, reading, creating, editing, and deleting entities. Below is a summary of the available tools:

Posts
  • Browse Posts: List posts with optional filters, pagination, and ordering.
  • Read Post: Retrieve a post by ID or slug.
  • Add Post: Create a new post with title, content, and status.
  • Edit Post: Update an existing post by ID.
  • Delete Post: Remove a post by ID.
Members
  • Browse Members: List members with filters and pagination.
  • Read Member: Retrieve a member by ID or email.
  • Add Member: Create a new member.
  • Edit Member: Update member details.
  • Delete Member: Remove a member.
Newsletters
  • Browse Newsletters: List newsletters.
  • Read Newsletter: Retrieve a newsletter by ID.
  • Add Newsletter: Create a new newsletter.
  • Edit Newsletter: Update newsletter details.
  • Delete Newsletter: Remove a newsletter.
Offers
  • Browse Offers: List offers.
  • Read Offer: Retrieve an offer by ID.
  • Add Offer: Create a new offer.
  • Edit Offer: Update offer details.
  • Delete Offer: Remove an offer.
Invites
  • Browse Invites: List invites.
  • Add Invite: Create a new invite.
  • Delete Invite: Remove an invite.
Roles
  • Browse Roles: List roles.
  • Read Role: Retrieve a role by ID.
Tags
  • Browse Tags: List tags.
  • Read Tag: Retrieve a tag by ID or slug.
  • Add Tag: Create a new tag.
  • Edit Tag: Update tag details.
  • Delete Tag: Remove a tag.
Tiers
  • Browse Tiers: List tiers.
  • Read Tier: Retrieve a tier by ID.
  • Add Tier: Create a new tier.
  • Edit Tier: Update tier details.
  • Delete Tier: Remove a tier.
Users
  • Browse Users: List users.
  • Read User: Retrieve a user by ID or slug.
  • Edit User: Update user details.
  • Delete User: Remove a user.
Webhooks
  • Browse Webhooks: List webhooks.
  • Add Webhook: Create a new webhook.
  • Delete Webhook: Remove a webhook.

Each tool is accessible via the MCP protocol and can be invoked from compatible clients. For detailed parameter schemas and usage, see the source code in src/tools/.

Error Handling

Ghost MCP Server employs a custom GhostError exception to handle API communication errors and processing issues. This ensures clear and descriptive error messages to assist with troubleshooting.

Contributing

  1. Fork repository
  2. Create feature branch
  3. Commit changes
  4. Create pull request

License

MIT

Questions about Ghost

What is the Ghost MCP server?

A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. Allow you to control your Ghost blog by simply asking Claude etc. Ghost is maintained by MFYDev on GitHub at MFYDev/ghost-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Ghost MCP server?

Ghost doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (MFYDev/ghost-mcp). Like most servers, Ghost ends with a command or URL you paste into your AI app's MCP config.

Does Ghost need an API key?

The registry lists no required keys for Ghost. Check the Ghost README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Ghost an official MCP server?

No. Ghost is a community server maintained by MFYDev. Community servers can be excellent; read the code and the open issues before you give Ghost access to company data.

What license is Ghost under?

Ghost is released under the MIT license, according to its GitHub repository. The license covers the code of Ghost; the service it connects to has its own terms.