Labsco
oculairmedia logo

Brandfolio - Make Your Brand Machine-Readable for AI

from oculairmedia

Your brand deserves consistency across every AI interaction. Brandfolio transforms your brand identity into a format that works with AI on every platform.

๐Ÿ”ฅ๐Ÿ”ฅFreeQuick setup

Ghost MCP Server

MCP (Model Context Protocol) server for Ghost CMS blog integration. Enables AI agents and LLMs to manage Ghost blog content through standardized MCP tools.

Directory Structure

.
โ”œโ”€โ”€ index.js              # Main entry point
โ”œโ”€โ”€ core/                 # Core server functionality
โ”‚   โ”œโ”€โ”€ server.js         # GhostServer class with API communication
โ”‚   โ””โ”€โ”€ api-client.js     # Shared Ghost API utilities and JWT auth
โ”œโ”€โ”€ tools/                # MCP tool implementations
โ”‚   โ”œโ”€โ”€ index.js          # Tool registry and handlers
โ”‚   โ”œโ”€โ”€ ghost-tools.js    # Tool exports and definitions
โ”‚   โ”œโ”€โ”€ create-ghost-post.js
โ”‚   โ”œโ”€โ”€ list-ghost-posts.js
โ”‚   โ”œโ”€โ”€ update-ghost-post.js
โ”‚   โ”œโ”€โ”€ delete-ghost-post.js
โ”‚   โ”œโ”€โ”€ create-ghost-page.js
โ”‚   โ”œโ”€โ”€ list-ghost-pages.js
โ”‚   โ”œโ”€โ”€ update-ghost-page.js
โ”‚   โ”œโ”€โ”€ delete-ghost-page.js
โ”‚   โ”œโ”€โ”€ create-ghost-tag.js
โ”‚   โ””โ”€โ”€ update-ghost-tag.js
โ”œโ”€โ”€ transports/           # Server transport implementations
โ”‚   โ”œโ”€โ”€ index.js          # Transport exports
โ”‚   โ”œโ”€โ”€ stdio-transport.js
โ”‚   โ”œโ”€โ”€ sse-transport.js
โ”‚   โ””โ”€โ”€ http-transport.js # Streamable HTTP (default)
โ””โ”€โ”€ __tests__/            # Test files

Available Tools

ToolDescription
create_ghost_postCreate a new blog post
list_ghost_postsList posts with pagination
update_ghost_postUpdate an existing post
delete_ghost_postDelete a post
create_ghost_pageCreate a new page
list_ghost_pagesList pages with pagination
update_ghost_pageUpdate an existing page
delete_ghost_pageDelete a page
create_ghost_tagCreate a new tag
update_ghost_tagUpdate an existing tag

Environment Variables

VariableDescriptionRequired
GHOST_API_URLGhost instance URLYes
GHOST_ADMIN_KEYAdmin API key (format: id:secret)Yes
PORTServer port (default: 3064)No
NODE_ENVEnvironment modeNo

Docker

# Build image
docker build -t ghost-mcp .

# Run container
docker run -p 3064:3064 \
  -e GHOST_API_URL=https://your-ghost-blog.com \
  -e GHOST_ADMIN_KEY=your-key-id:your-key-secret \
  ghost-mcp

API Endpoints

  • POST /mcp - MCP request endpoint
  • GET /mcp - SSE streaming endpoint
  • DELETE /mcp - Session termination
  • GET /health - Health check