Ghost MCP Server logo

Ghost MCP Server

Community
MFYDev

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.

PublisherMFYDev
Repositoryghost-mcp
LanguageTypeScript
Forks
64
Stars
231
Available tools
42
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Ghost MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 42 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    231 stars and 64 forks from the linked repository.

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.

demo

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:

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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "mfydev-ghost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fanyangmeng/ghost-mcp"
      ]
    }
  }
}

Available Tools

  • posts_browse
  • posts_read
  • posts_add
  • posts_edit
  • posts_delete
  • members_browse
  • members_read
  • members_add
  • members_edit
  • members_delete
  • users_browse
  • users_read
  • users_edit
  • users_delete
  • tags_browse
  • tags_read
  • tags_add
  • tags_edit
  • tags_delete
  • tiers_browse
  • tiers_read
  • tiers_add
  • tiers_edit
  • tiers_delete
  • offers_browse
  • offers_read
  • offers_add
  • offers_edit
  • offers_delete
  • newsletters_browse
  • newsletters_read
  • newsletters_add
  • newsletters_edit
  • newsletters_delete
  • invites_browse
  • invites_add
  • invites_delete
  • roles_browse
  • roles_read
  • webhooks_add
  • webhooks_edit
  • webhooks_delete

Use Ghost MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Ghost MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Ghost MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Ghost MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mfydev-ghost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fanyangmeng/ghost-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Ghost MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Ghost MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Ghost MCP Server to help me with this task?
Ghost MCP Server
Sure. I read it.
Here is what I found using Ghost MCP Server.

Frequently asked questions

What is the Ghost MCP Server MCP server used for?

Ghost MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Ghost MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Ghost MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Ghost MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Ghost MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Ghost MCP Server MCP to TypingMind?

Ghost MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Ghost MCP Server MCP provide in TypingMind?

Ghost MCP Server exposes 42 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Ghost MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Ghost MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

blog-info
summarize-post

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇