Back to Home
jgardner04 icon

Ghost-MCP-Server

Verified Safe

by jgardner04

Overview

Manages a Ghost CMS instance programmatically by exposing its Admin API as an MCP Server, allowing AI agents or other systems to create, update, delete, and retrieve content (posts, pages, tags, members, newsletters, tiers) and upload images.

Installation

Run Command
node src/mcp_server.js

Environment Variables

  • GHOST_ADMIN_API_URL
  • GHOST_ADMIN_API_KEY

Security Notes

The server implements robust security measures including comprehensive input validation (Zod schemas), NQL injection prevention, HTML sanitization (XSS prevention) for content and notes, and a tightly controlled URL validator (SSRF protection) for image downloads. API keys are loaded from environment variables and handled securely. Rate limiting and graceful shutdown are also implemented. The image URL validator whitelist is very restrictive (only a few popular image hosting domains), which is a strong security choice but could be a functional 'gotcha' for users.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassHigh
Avg Tokens7500
Stars5
Forks2
Last Update2026-01-07

Tags

Ghost CMSAI AgentContent ManagementAPI WrapperHeadless CMS