Ghost MCP 服务器
一个与 Ghost Admin API 集成的 Model Context Protocol (MCP) 服务器,提供对 Ghost CMS 功能的编程访问。
快速入门
前置条件
- 安装 Node.js(推荐 v18 或更高版本)
- 准备 Ghost CMS 实例和 Ghost Admin API 密钥
安装
使用 npm 安装: npm install @mtane0412/ghost-mcp-server
配置
- 在 Ghost Admin 中创建自定义集成。
- 设置环境变量或创建 .env 文件: GHOST_URL=https://your-ghost-blog.com GHOST_ADMIN_API_KEY=your_admin_api_key
启动
运行以下命令启动服务器: npx @mtane0412/ghost-mcp-server
示例功能
- 获取文章列表:调用 get_posts 工具。
- 创建文章:调用 create_post 工具。
- 搜索成员:调用 search_members 工具。
更多工具和参数请参考 README 文档。