by MFYDev
Ghost-MCP is a Model Context Protocol (MCP) server that enables interaction with Ghost CMS through Large Language Model (LLM) interfaces like Claude. It allows users to manage their Ghost blog by simply using natural language commands via an LLM.
Ghost-MCP is a Model Context Protocol (MCP) server that enables interaction with Ghost CMS through Large Language Model (LLM) interfaces like Claude. It allows users to manage their Ghost blog by simply using natural language commands via an LLM.
Ghost-MCP is available as an NPM package (@fanyangmeng/ghost-mcp
). To use it with MCP clients like Claude Desktop, you need to configure your claude_desktop_config.json
file. This involves specifying the command
to run npx @fanyangmeng/ghost-mcp
and setting environment variables for your Ghost API URL, Admin API Key, and API Version.
@tryghost/admin-api
for secure interactions.GhostError
exceptions for clear troubleshooting.Q: What is the main benefit of using Ghost-MCP?
A: The main benefit is the ability to control and manage your Ghost blog using natural language through LLM interfaces, simplifying content and site administration.
Q: What are the breaking changes from the Python version to the TypeScript version?
A: The TypeScript version (v0.1.0) no longer requires Python dependencies, has a changed configuration method (now using Node.js environment variables), simplified Docker deployment, and a different installation process (now using NPM).
Q: What Ghost CMS resources can be managed with Ghost-MCP?
A: You can manage Posts, Members, Newsletters, Offers, Invites, Roles, Tags, Tiers, Users, and Webhooks.
Q: How does Ghost-MCP handle errors?
A: It uses a custom GhostError
exception to provide clear and descriptive error messages for troubleshooting API communication and processing issues.
I've completely rewritten the Ghost MCP Server from Python to TypeScript in this v0.1.0 release. This major change brings several benefits:
Please see the below updated documentation for details on migrating from the Python version. If you encounter any issues, feel free to open an issue on GitHub.
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.
@tryghost/admin-api
GhostError
exceptionsTo 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"
}
}
}
}
The following Ghost CMS resources are available through this MCP server:
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:
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/
.
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.
MIT
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by ivo-toby
Provides full integration with the Contentful Management API via the Model Context Protocol, enabling CRUD operations on entries, assets, spaces, comments, and bulk actions while handling pagination and supporting both stdio and StreamableHTTP transports.
by devhub
Enables LLMs to manage businesses, locations, blog posts, and media within DevHub CMS through the Model Context Protocol.
by universal-mcp
Hashnode Universal MCP Server provides a standardized interface for interacting with Hashnode's tools and services through a unified API. It enables programmatic content management, automated publishing, and seamless third-party integrations with Hashnode.
by netdata
Real-time, per‑second infrastructure monitoring platform that provides instant insights, auto‑discovery, edge‑based machine‑learning anomaly detection, and lightweight visualizations without requiring complex configuration.
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by daytonaio
Provides a secure, elastic sandbox environment for executing AI‑generated code with isolated runtimes and sub‑90 ms provisioning.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by chaitin
Provides a self‑hosted web application firewall and reverse‑proxy that filters, monitors, and blocks malicious HTTP/S traffic, protecting web applications from attacks such as SQL injection, XSS, brute‑force, bot abuse, and various code injections.