Ghost MCP Server for Cloudflare Workers
Provides tools for managing Ghost posts through the Ghost Admin API, including listing posts, retrieving editable content by ID or slug, creating drafts or published/scheduled posts from Markdown, updating posts with optimistic locking, and deleting posts after explicit confirmation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Ghost MCP Server for Cloudflare Workers
A Cloudflare Workers-native Model Context Protocol server for securely managing posts in Ghost. It provides a small, post-only tool surface over the Ghost Admin API and is designed for remote MCP clients, Cloudflare MCP Portals, and Workers Builds.
The reference deployment manages Knowledge.Wine at
https://ghost-mcp.vkdesigns.com/mcp.
Features
Runs natively on Cloudflare Workers using the Cloudflare Agents SDK.
Uses short-lived, five-minute Ghost Admin API JWTs generated per request.
Requires bearer authentication at the MCP endpoint.
Returns allowlisted post fields instead of raw Ghost Admin API responses.
Creates drafts by default and requires explicit confirmation to publish or schedule.
Uses Ghost's
updated_atvalue for optimistic locking.Requires explicit confirmation before permanent deletion.
Retrieves bounded writing samples so clients can match an existing publication's style.
The server deliberately excludes pages, members, newsletters, users, integrations, webhooks, themes, and arbitrary image uploads.
Related MCP server: Ghost MCP Server
Tools
Tool | Purpose |
| Browse drafts, scheduled posts, and published posts. |
| Read editable post content by Ghost post ID. |
| Read editable post content by URL slug. |
| Retrieve bounded samples of recently published writing. |
| Create a draft, scheduled, or published post from Markdown. |
| Update a post with optimistic locking. |
| Permanently delete a post after explicit confirmation. |
Architecture
MCP client
-> Cloudflare MCP Portal or direct bearer authentication
-> Cloudflare Worker /mcp
-> Ghost Admin APIAI Gateway is complementary but separate: it governs model inference traffic, not MCP tool traffic or Worker-to-Ghost requests.
Prerequisites
A Cloudflare account with Workers enabled
A Ghost site and a custom integration Admin API key
Node.js and npm
Create the Ghost key under Settings > Advanced > Integrations in Ghost Admin. Treat the key as a secret; it grants administrative access to posts.
Configuration
Install dependencies:
npm ciCustomize wrangler.jsonc for your deployment:
name: Worker nameroutes: custom domain or routeGHOST_ADMIN_API_URL: Ghost site originGHOST_API_VERSION: Ghost API version, such asv6.0GHOST_USER_AGENT: stable identifier sent to Ghost and usable in narrow WAF rulesMCP_ALLOWED_HOSTNAMES: comma-separated hostnames accepted by the MCP handler
Store credentials as encrypted Worker secrets:
npx wrangler secret put GHOST_ADMIN_API_KEY
npx wrangler secret put MCP_API_TOKENThe Ghost key must use the id:secret value provided by a Ghost custom integration.
Generate a high-entropy value for MCP_API_TOKEN.
For local development, place both values in a gitignored .dev.vars file:
GHOST_ADMIN_API_KEY="id:secret"
MCP_API_TOKEN="replace-with-a-random-local-token"Start the development server:
npm run devThe MCP endpoint is /mcp and requires this header:
Authorization: Bearer <MCP_API_TOKEN>Deployment
Validate and deploy with Wrangler:
npm run type-check
npm run deployFor Cloudflare Workers Builds, connect the GitHub repository, choose main as
the production branch, and use npm run deploy as the deploy command. Configure
the two Worker secrets in Cloudflare; never add them to the repository.
Commits to main deploy to production through Workers Builds. Other branches use
npx wrangler preview to create isolated Preview URLs for validation before merge.
The checked-in preview configuration intentionally uses a non-routable Ghost origin
and no production secrets, so previews validate bundling and Worker startup only.
Before every major GitHub update, follow the Knowledge.Wine validation gate in
PROJECT_PLAN.md.
Origin
This implementation is a Cloudflare Workers-native refactor inspired by the narrow
post-management scope of
nautis/ghost-mcp-server. Its
transport and deployment architecture were rewritten for Workers, with the tool
surface deliberately limited to the documented Ghost post CRUD operations. It is
not a GitHub fork and does not share the original Node.js stdio transport.
License
Licensed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, edit, organize, publish, and configure JustBlogged blogs from MCP clients.
Ghost MCP server for ChatGPT, Claude and any AI agent: list posts, create draft post, schedule post, send newsletter, list members and label members in your own Ghost account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Ghost yourself; Cotlet does not store your password and you need no Ghost API key. About the official Ghost API: Ghost has a full REST Admin API, but no official MCP server (checked 17 Oct 2026). The Admin API covers posts, pages, members, labels, newsletters, tiers and offers, and Ghost says everything Ghost Admin can do is also possible with the API. Setup and FAQ: https://cotlet.dev/integrations/ghost-api-mcp-server
Hosted remote MCP for protected account access, permissions, activity history and supported undo.
Remote MCP for Content Rabbit: generate, schedule, publish, and analyze social posts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables management of Ghost blog content (posts, pages, and tags) through the Ghost Admin API with SSE transport support.-
- AlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with Ghost CMS through the Ghost Admin API via LLM interfaces. It provides comprehensive tools for managing posts, members, newsletters, and other site entities through secure JWT authentication.-
- AlicenseNot gradedqualityDmaintenanceMCP server for Ghost CMS that lets Claude manage posts, pages, members, tags, and newsletters via the Ghost Admin API.25 npmMIT
- AlicenseDqualityCmaintenanceMCP server that enables AI assistants to manage Ghost CMS posts, members, tags, tiers, and more, with support for remote hosting on Azure Functions and Entra ID authentication.4266,329 npmMIT