Labsco
oculairmedia logo

Ghost MCP

โ˜… 2

from oculairmedia

Interact with the Ghost blogging platform using the Model Context Protocol (MCP) with Server-Sent Events (SSE) support.

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

Postiz MCP Server

This repository contains a Model Context Protocol (MCP) server implementation for the Postiz platform.

Features

  • Supports both SSE, HTTP and stdio transports
  • Provides access to Postiz API functionality through MCP tools
  • Manage Postiz content
  • 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:

  • create-post
  • get-posts
  • get-integrations
  • get-self
  • login

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 3084:3084 --env-file .env --rm -it --entrypoint bash oculair/postiz-mcp:latest