Ghost MCP Server Integration

Empower AI-driven blog automation on Ghost CMS with the Ghost MCP Server, enabling seamless management of posts, users, newsletters, and more via natural language.

Ghost MCP Server Integration

What does “Ghost” MCP Server do?

The Ghost MCP (Model Context Protocol) Server is a specialized tool that connects AI assistants—such as Claude—with your Ghost CMS, enabling seamless blog management through natural language commands. By serving as a bridge between large language models and the Ghost Admin API, the server allows developers and content managers to perform tasks like querying, creating, editing, or deleting posts, managing users, handling newsletters, and more—all securely and programmatically. This not only streamlines typical content operations but also empowers AI-driven workflows for advanced blog automation, real-time data retrieval, and contextual content generation. With robust authentication and detailed error handling, the Ghost MCP Server makes it easy to control your Ghost site’s resources using LLM-powered interfaces.

List of Prompts

No explicit prompt templates are listed in the repository or documentation.

List of Resources

  • 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.

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.

Use Cases of this MCP Server

  • Content Management Automation: Let LLMs handle repetitive blog management tasks such as creating, editing, or deleting posts, freeing up developer and editor time.
  • Subscriber and Member Analytics: Query and manage member lists or analyze engagement through automated scripts and prompts.
  • Newsletter Operations: Automate the creation, editing, and management of newsletters, ensuring timely and consistent outreach to subscribers.
  • Offer and Promotion Management: Seamlessly create and manage offers or promotional campaigns using natural language instructions.
  • Staff and User Administration: Onboard new staff or manage user roles and invitations through AI-powered workflows, improving operational efficiency.

How to set it up

Windsurf

  1. Ensure Node.js is installed on your system.
  2. Locate your Windsurf configuration file.
  3. Add the Ghost MCP server using the following JSON snippet:
    {
      "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"
          }
        }
      }
    }
    
  4. Save the configuration and restart Windsurf.
  5. Verify the server is running by interacting with Ghost MCP features.

Claude

  1. Ensure Node.js is installed.
  2. Edit claude_desktop_config.json.
  3. Insert the following under mcpServers:
    {
      "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"
          }
        }
      }
    }
    
  4. Save and restart Claude Desktop.
  5. Test by issuing Ghost-related commands via your LLM interface.

Cursor

  1. Install Node.js if not already present.
  2. Open Cursor’s configuration file.
  3. Add the Ghost MCP server configuration:
    {
      "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"
          }
        }
      }
    }
    
  4. Save and restart Cursor.
  5. Confirm proper setup by accessing Ghost MCP actions.

Cline

  1. Make sure Node.js is installed.
  2. Edit Cline’s configuration file.
  3. Insert:
    {
      "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"
          }
        }
      }
    }
    
  4. Save and restart Cline.
  5. Verify integration by running Ghost MCP tools.

Securing API Keys

Store sensitive keys as environment variables rather than hardcoding. Example:

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

Set GHOST_ADMIN_API_KEY as an environment variable in your operating system or container.

How to use this MCP inside flows

Using MCP in FlowHunt

To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

FlowHunt MCP flow

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:

{
  "ghost-mcp": {
    "transport": "streamable_http",
    "url": "https://yourmcpserver.example/pathtothemcp/url"
  }
}

Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “ghost-mcp” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.


Overview

SectionAvailabilityDetails/Notes
Overview
List of PromptsNot specified in documentation
List of ResourcesBlog entities (posts, members, newsletters, etc.)
List of ToolsCRUD tools over Ghost CMS entities
Securing API KeysEnvironment variables supported
Sampling Support (less important in evaluation)Not mentioned

Roots support: ⛔ (Not mentioned)


Between the overview and MCP score tables:
Ghost MCP Server offers comprehensive resources and tools for Ghost CMS management with clear setup and security options. Lacking prompt templates, explicit sampling, or roots support, but strong for practical blog automation. I’d rate it a 7/10 for general developer utility and completeness.


MCP Score

Has a LICENSE✅ (MIT)
Has at least one tool
Number of Forks18
Number of Stars59

Frequently asked questions

What is the Ghost MCP Server?

The Ghost MCP Server bridges AI assistants with your Ghost CMS, enabling natural language-driven blog management. It provides secure, programmatic access to posts, members, newsletters, offers, invites, roles, tags, tiers, users, and webhooks.

Which resources and tools can I manage with Ghost MCP?

You can manage posts, members, newsletters, offers, invites, roles, tags, tiers, users, and webhooks. Tools include creating, editing, deleting, and retrieving these resources directly from AI-powered workflows.

How do I securely add my Ghost Admin API key?

Store sensitive API keys as environment variables rather than hardcoding them in config files. Use '${GHOST_ADMIN_API_KEY}' in the configuration and set the variable in your OS or container environment.

What are typical use cases for this integration?

Automate blog content management, perform member analytics, manage newsletters, create promotional offers, and handle user administration—all with AI-powered automation and natural language commands.

How do I connect Ghost MCP to FlowHunt?

Add the MCP component to your FlowHunt flow, insert the Ghost MCP server details in the configuration, and connect it to your AI agent. Your agent can then use all Ghost MCP tools as part of its workflow.

Connect Your Ghost CMS with FlowHunt

Streamline content operations and enable advanced automations on Ghost using the Ghost MCP Server with FlowHunt. Try it now or book a demo to see it in action.

Learn more