Ghost MCP Server
Ghost MCP 服务器
一个与 Ghost 管理 API 集成的模型上下文协议 (MCP) 服务器。此服务器支持以编程方式访问 Ghost CMS 的功能,包括帖子管理、页面管理、会员管理等。
特征
帖子管理(创建、阅读、更新、删除、搜索)
页面管理(创建、读取、更新、删除)
标签管理
作者管理
会员管理(创建、阅读、更新、删除、搜索)
图片上传支持
Related MCP server: Ghost CMS MCP Server
先决条件
Node.js(建议使用 v18 或更高版本)
Ghost CMS 实例
Ghost Admin API 密钥
安装
使用 npm 安装包:
npm install @mtane0412/ghost-mcp-server配置
在 Ghost Admin 仪表板的“设置”>“集成”下创建一个新的自定义集成。
设置以下环境变量:
# macOS/Linux
export GHOST_URL="https://your-ghost-blog.com"
export GHOST_ADMIN_API_KEY="your_admin_api_key"
# Windows (PowerShell)
$env:GHOST_URL="https://your-ghost-blog.com"
$env:GHOST_ADMIN_API_KEY="your_admin_api_key"或者,您可以创建一个.env文件:
GHOST_URL=https://your-ghost-blog.com
GHOST_ADMIN_API_KEY=your_admin_api_key用法
安装后,使用以下命令启动服务器:
npx @mtane0412/ghost-mcp-server可用工具
获取帖子
检索博客文章列表。
输入:
{
"limit": "number", // Optional: Number of posts to retrieve (1-100, default: 10)
"page": "number" // Optional: Page number (default: 1)
}获取帖子
通过 ID 检索特定帖子。
输入:
{
"id": "string" // Required: Post ID
}搜索帖子
搜索帖子。
输入:
{
"query": "string", // Required: Search query
"limit": "number" // Optional: Number of posts to retrieve (1-100, default: 10)
}创建帖子
创建新帖子。
输入:
{
"title": "string", // Required: Post title
"html": "string", // Optional: HTML content
"lexical": "string", // Optional: Lexical content
"status": "string", // Optional: Post status (published/draft/scheduled)
"visibility": "string" // Optional: Visibility level (public/members/paid/tiers)
}更新帖子
更新现有帖子。
输入:
{
"id": "string", // Required: Post ID
"title": "string", // Optional: Post title
"html": "string", // Optional: HTML content
"lexical": "string", // Optional: Lexical content
"status": "string" // Optional: Post status
}删除帖子
删除帖子。
输入:
{
"id": "string" // Required: Post ID
}获取页面
检索页面列表。
输入:
{
"limit": "number", // Optional: Number of pages to retrieve (1-100, default: 10)
"page": "number", // Optional: Page number (default: 1)
"order": "string", // Optional: Sort order
"formats": ["string"], // Optional: Content formats (html/mobiledoc/lexical)
"include": ["string"] // Optional: Related data to include (authors/tags)
}获取成员
检索成员列表。
输入:
{
"limit": "number", // Optional: Number of members to retrieve (1-100, default: 10)
"page": "number", // Optional: Page number (default: 1)
"order": "string", // Optional: Sort order
"include": ["string"] // Optional: Related data to include (labels/newsletters)
}搜索成员
搜索成员。
输入:
{
"query": "string", // Required: Search query
"limit": "number", // Optional: Number of members to retrieve (1-100, default: 10)
"include": ["string"] // Optional: Related data to include (labels/newsletters)
}上传图片
上传图像。
输入:
{
"file": "string", // Required: Base64 encoded image data
"purpose": "string" // Optional: Image purpose (image/profile_image/icon)
}调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspect检查器将提供一个 URL 来访问浏览器中的调试工具。
执照
MIT 许可证
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive management of Ghost CMS instances through the Admin API, supporting content operations (posts, tags), member management, newsletters, tiers, offers, and webhooks through natural language interactions.91MIT
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive automation and management of Ghost CMS blogs through AI assistants, supporting full CRUD operations for posts, pages, members, media uploads, and bulk content management with enterprise-grade security and performance features.242MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with Ghost CMS through the Ghost Admin API via LLM interfaces. It provides comprehensive tools for managing posts, members, newsletters, and other site entities through secure JWT authentication.
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Ghost CMS content including posts, members, users, tags, tiers, offers, newsletters, invites, roles, and webhooks via the Ghost Admin API.
Related MCP Connectors
Publish and manage articles, series, comments, reactions, newsletters and blog analytics.
Publish, schedule, and manage social media posts across major platforms via the Postproxy API.
Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mtane0412/ghost-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server