by MFYDev
Provides a Model Context Protocol server that enables LLMs like Claude to manage Ghost CMS content and settings via secure admin API calls.
Ghost MCP Server exposes Ghost CMS functionality through the Model Context Protocol, allowing large language models to interact with posts, members, newsletters, offers, and other site resources directly from chat interfaces.
npx -y @fanyangmeng/ghost-mcp
).GHOST_API_URL
, GHOST_ADMIN_API_KEY
, and optionally GHOST_API_VERSION
.npx
command and the environment variables.@tryghost/admin-api
client.GhostError
.Q: Do I need Python to run this server? A: No. The server has been rewritten in TypeScript and is distributed as an NPM package.
Q: Which environment variables are required?
A: GHOST_API_URL
(your site URL) and GHOST_ADMIN_API_KEY
(admin key). GHOST_API_VERSION
defaults to v5.0
if omitted.
Q: How is the server started?
A: Include it in the MCP client configuration; the client will invoke npx -y @fanyangmeng/ghost-mcp
automatically.
Q: Can I run the server in Docker? A: Yes. The migration simplifies Docker usage; just set the same environment variables inside the container.
Q: What if I encounter an error?
A: Errors are returned as GhostError
with clear messages; check the logs provided through the MCP context for details.
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.
{ "mcpServers": { "ghost-mcp": { "command": "npx", "args": [ "-y", "@fanyangmeng/ghost-mcp" ], "env": { "GHOST_API_URL": "<YOUR_GHOST_API_URL>", "GHOST_ADMIN_API_KEY": "<YOUR_ADMIN_API_KEY>", "GHOST_API_VERSION": "v5.0" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.