Ghost + Contentful MCP
Ghost + Contentful MCP
An MCP (Model Context Protocol) server that lets AI assistants search across multiple CMS platforms — Ghost and Contentful — from a single interface.
What it does
This server exposes five search tools over the MCP stdio transport:
Tool | Source | Searches across |
| Ghost | Post title, excerpt, and body |
| Ghost | Page title and body |
| Contentful | Learn page title, meta fields, and rich-text body |
| Contentful | Company name, overview, quote, use case, impact, and body |
| Contentful | Internal event pages and event cards (title, description, agenda) |
Each tool accepts a query string and returns matching results with contextual snippets highlighting where the match was found.
Setup
Install dependencies:
yarn installCreate a
.envfile with your API credentials:
GHOST_CONTENT_ENDPOINT=https://your-ghost-instance.com/ghost/api/content
GHOST_API_KEY=your-ghost-content-api-key
CONTENTFUL_SPACE_ID=your-contentful-space-id
CONTENTFUL_ACCESS_TOKEN=your-contentful-access-tokenRun the server:
yarn startMCP client configuration
Add the server to your MCP client config (e.g. Claude Desktop):
{
"mcpServers": {
"cms-search": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/mcp-cms-search/index.ts"]
}
}
}