Ghost MCP 服务器
一个与 Ghost 管理 API 集成的模型上下文协议 (MCP) 服务器。此服务器支持以编程方式访问 Ghost CMS 的功能,包括帖子管理、页面管理、会员管理等。
特征
- 帖子管理(创建、阅读、更新、删除、搜索)
- 页面管理(创建、读取、更新、删除)
- 标签管理
- 作者管理
- 会员管理(创建、阅读、更新、删除、搜索)
- 图片上传支持
先决条件
- Node.js(建议使用 v18 或更高版本)
- Ghost CMS 实例
- Ghost Admin API 密钥
安装
使用 npm 安装包:
配置
- 在 Ghost Admin 仪表板的“设置”>“集成”下创建一个新的自定义集成。
- 设置以下环境变量:
或者,您可以创建一个.env
文件:
用法
安装后,使用以下命令启动服务器:
可用工具
获取帖子
检索博客文章列表。
输入:
获取帖子
通过 ID 检索特定帖子。
输入:
搜索帖子
搜索帖子。
输入:
创建帖子
创建新帖子。
输入:
更新帖子
更新现有帖子。
输入:
删除帖子
删除帖子。
输入:
获取页面
检索页面列表。
输入:
获取成员
检索成员列表。
输入:
搜索成员
搜索成员。
输入:
上传图片
上传图像。
输入:
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
执照
MIT 许可证
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
与 Ghost Admin API 集成,允许以编程方式管理 Ghost CMS 功能,包括帖子、页面、标签、作者、成员和图像上传,提供高效的内容管理功能。
Related Resources
Related MCP Servers
- -securityAlicense-qualityEnables interaction with Ghost CMS via LLM interfaces, providing secure access through JWT authentication for managing posts, users, and newsletters with detailed output and error handling.Last updated -4113738TypeScriptMIT License
- -securityAlicense-qualityEnables management of Payload CMS projects through natural language commands, allowing developers to create, configure, and deploy content models with conversational AI.Last updated -8221MIT License
DevHub CMS MCPofficial
-securityFlicense-qualityModel Context Protocol (MCP) integration for managing content in the DevHub CMS system (blog posts, content, location administration)Last updated -Python- -securityAlicense-qualityAn implementation of the Model Context Protocol Server that allows AI clients like Cursor or Claude Desktop to manage Ghost CMS blogs by exposing capabilities like creating posts, adding tags, and uploading images.Last updated -2JavaScriptMIT License