This HTTP server provides RESTful access to Ghost CMS through the Model Context Protocol (MCP). It includes streaming support for n8n and other automation tools.
http://localhost:3000 (or your configured port)
Configure your Ghost API credentials via environment variables:
GHOST_API_URL - Your Ghost site URLGHOST_ADMIN_API_KEY - Your Ghost Admin API keyGHOST_API_VERSION - API version (default: v5.0)Check server health status
{"status": "healthy", "service": "ghost-mcp-http", "timestamp": "2025-12-12T13:00:00.000Z"}
Get server capabilities
List all available tools
List all available resources
Execute a tool synchronously
Request Body:{
"arguments": {
"key": "value"
}
}
Response:
{
"success": true,
"result": [...],
"isError": false
}
Execute a tool with Server-Sent Events streaming (ideal for n8n)
Request Body:{
"arguments": {
"key": "value"
}
}
Stream Events:
data: {"type": "start", "toolName": "browse-posts"}
data: {"type": "data", "content": {...}, "isError": false}
data: {"type": "complete", "success": true}
Get a specific resource
Examples:/resources/post/123 - Get post with ID 123/resources/member/[email protected] - Get member by emailSimilar CRUD operations are available for all Ghost resources. See /tools endpoint for complete list.
In n8n, you can use the HTTP Request node:
http://your-server:3000/tools/browse-posts/streamEnvironment variables for containerized deployment:
PORT - Server port (default: 3000)GHOST_API_URL - Ghost site URLGHOST_ADMIN_API_KEY - Ghost Admin API keyGHOST_API_VERSION - API version