Skip to main content
Glama

Ghost MCP Server

by oculairmedia

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

Quick Start

Environment Setup

  1. Copy the example environment file:
    cp .env.example .env
  2. Edit the .env file with your Ghost API credentials:
    GHOST_URL=https://your-ghost-blog.com GHOST_KEY_ID=your_ghost_key_id_here GHOST_KEY_SECRET=your_ghost_key_secret_here PORT=3064 NODE_ENV=production

Using Docker Compose

The easiest way to run the server is with Docker Compose:

docker-compose up -d

This will build the image if needed and start the server in detached mode.

Using Docker Directly

You can also build and run the Docker image directly:

# Build the image docker build -t oculair/ghost-mcp:1.0.0 . # Run the container docker run -p 3064:3064 --env-file .env --rm -it oculair/ghost-mcp:1.0.0

Multi-Architecture Build

To build for multiple architectures (amd64 and arm64):

  1. Enable Docker Buildx:
    docker buildx create --use --name multiarch-builder docker buildx inspect --bootstrap
  2. Build and push:
    docker buildx build --platform linux/amd64,linux/arm64 \ -t oculair/ghost-mcp:1.0.0 \ --push .
  3. Verify the multi-architecture image:
    docker manifest inspect oculair/ghost-mcp:1.0.0

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

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{ "mcpServers": { "ghost": { "url": "http://localhost:3064/sse", "disabled": false, "alwaysAllow": [] } } }
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that enables management of Ghost blog content (posts, pages, and tags) through the Ghost Admin API with SSE transport support.

  1. Features
    1. Quick Start
      1. Environment Setup
      2. Using Docker Compose
      3. Using Docker Directly
      4. Multi-Architecture Build
    2. Development
      1. Project Structure
      2. Available Tools
      3. Debugging
    3. Usage with Claude Desktop

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        Integrates with the Ghost Admin API to allow programmatic management of Ghost CMS features, including posts, pages, tags, authors, members, and image uploads, providing efficient content management capabilities.
        Last updated -
        8
        1
        TypeScript
        • Apple
        • Linux
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
        Last updated -
        12
        Python
        MIT License
        • Linux
        • Apple
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enables integration with the TESS API, allowing users to list and manage agents, execute agents with custom messages, and manage files through natural language interfaces.
        Last updated -
        TypeScript
      • -
        security
        A
        license
        -
        quality
        An implementation of the Model Context Protocol Server that allows AI clients like Cursor or Claude Desktop to manage Ghost CMS blogs by exposing capabilities like creating posts, adding tags, and uploading images.
        Last updated -
        2
        JavaScript
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/oculairmedia/plane-projectmanagement_mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server