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.
Configuration
View docs{
"mcpServers": {
"mfydev-ghost-mcp": {
"command": "npx",
"args": [
"-y",
"@fanyangmeng/ghost-mcp"
],
"env": {
"GHOST_API_URL": "https://yourblog.com",
"GHOST_API_VERSION": "v5.0",
"GHOST_ADMIN_API_KEY": "your_admin_api_key"
}
}
}
}You can connect to Ghost via a Model Context Protocol (MCP) server to securely manage your Ghost blog through powerful natural language interfaces. This server exposes a rich set of operations for posts, users, members, newsletters, offers, tags, tiers, and more, while handling authentication and structured output for clear interactions with your Ghost CMS.
To use the Ghost MCP server with an MCP client, configure the client to connect to the local or remote MCP endpoint that runs the server. You will typically enable secure access to Ghost through the provided Admin API and specify the Ghost site URL, Admin API key, and API version in environment variables. Once configured, you can browse, read, create, update, and delete Ghost entities via natural-language prompts processed by the MCP server.
Prerequisites: You need Node.js and npm installed on your system.
Install and run the MCP server using the provided npm-based command shown in the usage example.
{
"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 MCP server uses JWT-based authentication for Ghost Admin API requests and offers comprehensive access to Ghost resources such as posts, members, newsletters, offers, and webhooks. Ensure you keep your Admin API key secure and rotate it if needed.
Store Ghost API credentials securely in environment variables and limit access to the MCP server. Use environment-specific keys and consider rotating credentials periodically.
If you encounter authentication or connection issues, verify that the GHOST_API_URL, GHOST_ADMIN_API_KEY, and GHOST_API_VERSION values are correct and that the Ghost Admin API is reachable from the MCP server host.
The server integrates with the official Ghost Admin API client for reliable interaction with your Ghost CMS and outputs detailed, human-friendly results for each operation.
List posts with optional filters, pagination, and ordering to locate content quickly.
Retrieve a post by ID or slug for reading or display.
Create a new post with a title, content, and status.
Update an existing post by ID to modify content or status.
Remove a post by ID from Ghost.
List members with filters and pagination to manage subscribers.
Retrieve a member by ID or email to view details.
Create a new member in Ghost.
Update member details such as name or email.
Remove a member from your Ghost site.
List newsletters managed by Ghost.
Retrieve a newsletter by ID for viewing content.
Create a new newsletter in Ghost.
Update newsletter details.
Remove a newsletter.
List offers available to members.
Retrieve an offer by ID.
Create a new offer.
Update offer details.
Remove an offer.
List invites for new users or staff.
Create a new invite.
Remove an invite.
List roles and permissions.
Retrieve a role by ID.
List tags and organize content.
Retrieve a tag by ID or slug.
Create a new tag.
Update tag details.
Remove a tag.
List subscription tiers.
Retrieve a tier by ID.
Create a new tier.
Update tier details.
Remove a tier.
List admin users and staff.
Retrieve a user by ID or slug.
Update user details.
Remove a user.
List webhooks for automated notifications.
Create a new webhook.
Remove a webhook.