Labsco
oculairmedia logo

Ghost MCP

from oculairmedia

An MCP server for the Ghost blogging platform with Server-Sent Events (SSE) transport support.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

Ghost MCP Server with SSE Transport

This repository contains a Model Context Protocol (MCP) server implementation for the Ghost blogging platform with Server-Sent Events (SSE) transport support.

Features

  • Supports both SSE and stdio transports
  • Provides access to Ghost Admin API functionality through MCP tools
  • Manage Ghost blog posts, pages, and tags
  • Secure by default with non-root user in Docker
  • Environment variable configuration
  • Health check endpoint

Development

Project Structure

.
โ”œโ”€โ”€ everything/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ core/       # Core server implementation
โ”‚   โ”‚   โ”œโ”€โ”€ tools/      # MCP tool implementations
โ”‚   โ”‚   โ”œโ”€โ”€ transports/ # Transport implementations (SSE, stdio)
โ”‚   โ”‚   โ””โ”€โ”€ index.js    # Main entry point
โ”‚   โ””โ”€โ”€ package.json    # Node.js dependencies
โ”œโ”€โ”€ .env.example        # Example environment variables
โ”œโ”€โ”€ .gitignore          # Git ignore file
โ”œโ”€โ”€ compose.yaml        # Docker Compose configuration
โ”œโ”€โ”€ Dockerfile          # Docker build configuration
โ””โ”€โ”€ README.md           # This file

Available Tools

The server provides the following MCP tools:

  • Posts: create_ghost_post, list_ghost_posts, update_ghost_post, delete_ghost_post
  • Pages: create_ghost_page, list_ghost_pages, update_ghost_page, delete_ghost_page
  • Tags: create_ghost_tag, update_ghost_tag

For detailed information about each tool and its parameters, see the everything/README.md file.

Debugging

To debug the container, you can run it with an interactive shell:

docker run -p 3064:3064 --env-file .env --rm -it --entrypoint bash oculair/ghost-mcp:1.0.0