{"type":"mcp_server","name":"ghost-mcp","description":"The Ghost MCP Server enables interaction with Ghost CMS through LLM interfaces like Claude, providing secure access to manage posts, users, and other entities via the Model Context Protocol. It","category":"Developer Tools","language":"Python","stars":204,"forks":7,"owner":"MFYDev","github_url":"https://github.com/MFYDev/ghost-mcp","homepage":"https://fanyangmeng.blog/introducing-ghost-mcp-a-model-context-protocol-server-for-ghost-cms/","setup":"## Setup\n\n### Installing via Smithery\nTo install Ghost MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@MFYDev/ghost-mcp):\n\n```bash\nnpx -y @smithery/cli install @MFYDev/ghost-mcp --client claude\n```\n\n### Manual Installation\n```bash\n# Clone repository\ngit clone git@github.com/mfydev/ghost-mcp.git\ncd ghost-mcp\n\n# Create virtual environment and install\nuv venv\nsource .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\nuv pip install -e .\n```\n\n## Requirements\n\n- Python â¥ 3.12\n- Running Ghost instance with Admin API access (v5.x+ recommended)\n- Node.js (for testing with MCP Inspector)\n\n## Usage\n\n### Environment Variables\n\n```bash\nGHOST_API_URL=https://yourblog.com  # Your Ghost Admin API URL\nGHOST_STAFF_API_KEY=your_staff_api_key                 # Your Ghost Staff API key\n```\n\n### Usage with MCP Clients\nTo use this with MCP clients, for instance, Claude Desktop, add the following to your `claude_desktop_config.json`:\n```json\n{\n  \"mcpServers\": {\n    \"ghost\": {\n      \"command\": \"/Users/username/.local/bin/uv\",\n      \"args\": [\n        \"--directory\",\n        \"/path/to/ghost-mcp\",\n        \"run\",\n        \"src/main.py\"\n      ],\n      \"env\": {\n        \"GHOST_API_URL\": \"your_ghost_api_url\",\n        \"GHOST_STAFF_API_KEY\": \"your_staff_api_key\"\n      }\n    }\n  }\n}\n```\n\n### Testing with MCP Inspector\n\n```bash\nGHOST_API_URL=your_ghost_api_url GHOST_STAFF_API_KEY=your_staff_api_key npx @modelcontextprotocol/inspector uv --directory /path/to/ghost-mcp run src/main.py\n```","tools":"## Available Tools\n\n1.  Secure JWT Authentication (for Ghost Admin API requests)\n2.  Comprehensive entity access (including posts, users, members, tiers, offers, and newsletters)\n3.  Advanced search functionality (with both fuzzy and exact matching options)\n4.  Detailed, human-readable output (for Ghost entities)\n5.  Robust error handling (using custom `GhostError` exceptions)\n6.  Integrated logging support (via MCP context for enhanced troubleshooting)\n7.  `ghost` tool (Central tool for accessing all Ghost CMS functionality)\n8.  Posts Actions (List, search, read, create, update, delete, and batch update posts)\n9.  Tags Actions (Browse, read, create, update, and delete tags)\n10. Users Actions (List roles, create invite, list, read, and delete users)\n11. Members Actions (List, read, create, and update members)\n12. Tiers Actions (List, read, create, and update tiers)\n13. Offers Actions (List, read, create, and update offers)\n14. Newsletters Actions (List, read, create, and update newsletters)\n15. Webhooks Actions (Create, update, and delete webhooks)","faq":null,"created_at":"2025-02-11T06:23:30+00:00","updated_at":"2025-03-27T07:30:00+00:00","source_url":"https://model-context-protocol.com/servers/ghost-cms-llm-control-model-protocol","related_articles":[]}