
mfydev/ghost-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
mfydev/ghost-mcpは、https://github.com/mfydev/ghost-mcp.からインポートされたMCPサーバー候補です。
概要
mfydev/ghost-mcpは、https://github.com/mfydev/ghost-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
ClaudeのようなLLMインターフェースを通じてGhost CMSとやり取りするためのモデルコンテキストプロトコル(MCP)サーバーです。このサーバーは、JWT認証と投稿、ユーザー、メンバー、ティア、オファー、ニュースレターを管理する豊富なMCPツールを活用し、Ghostブログへの安全かつ包括的なアクセスを提供します。
特徴
@tryghost/admin-apiのSecure Ghost Admin APIリクエスト- 投稿、ユーザー、メンバー、ティア、オファー、ニュースレターを含む包括的なエンティティアクセス
- ファジィマッチングと完全マッチングの両方の高度な検索機能
- ゴーストエンティティの詳細で人間が読みやすい出力
- カスタム
GhostError例外を用いた堅牢なエラー処理 - MCPコンテキストを通じた統合ログサポートによるトラブルシューティングの強化
使用法
例えばClaude DesktopなどのMCPクライアントでこれを使用するには、claude_desktop_config.jsonに以下を追加してください:
利用可能なリソース
以下のGhost CMSリソースはこのMCPサーバーを通じて利用可能です:
- 投稿:あなたのGhostサイトに掲載された記事やコンテンツ。
- メンバー:あなたのサイトの登録ユーザーおよび購読者。
- ニュースレター:Ghostを通じて管理・送信されるメールニュースレター。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Ghost MCP Server
A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. This server provides secure and comprehensive access to your Ghost blog, leveraging JWT authentication and a rich set of MCP tools for managing posts, users, members, tiers, offers, and newsletters.
Features
- Secure Ghost Admin API requests with
@tryghost/admin-api - Comprehensive entity access including posts, users, members, tiers, offers, and newsletters
- Advanced search functionality with both fuzzy and exact matching options
- Detailed, human-readable output for Ghost entities
- Robust error handling using custom
GhostErrorexceptions - Integrated logging support via MCP context for enhanced troubleshooting
Usage
To use this with MCP clients, for instance, Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"ghost-mcp": {
"command": "npx",
"args": ["-y", "@fanyangmeng/ghost-mcp"],
"env": {
"GHOST_API_URL": "https://yourblog.com",
"GHOST_ADMIN_API_KEY": "your_admin_api_key",
"GHOST_API_VERSION": "v5.0"
}
}
}
}
Available Resources
The following Ghost CMS resources are available through this MCP server:
- Posts: Articles and content published on your Ghost site.
- Members: Registered users and subscribers of your site.
- Newsletters: Email newsletters managed and sent via Ghost.
- Offers: Promotional offers and discounts for members.
- Invites: Invitations for new users or staff to join your Ghost site.
- Roles: User roles and permissions within the Ghost admin.
- Tags: Organizational tags for posts and content.
- Tiers: Subscription tiers and plans for members.
- Users: Admin users and staff accounts.
- Webhooks: Automated event notifications to external services.
Available Tools
This MCP server exposes a comprehensive set of tools for managing your Ghost CMS via the Model Context Protocol. Each resource provides a set of operations, typically including browsing, reading, creating, editing, and deleting entities. Below is a summary of the available tools:
Posts
- Browse Posts: List posts with optional filters, pagination, and ordering.
- Read Post: Retrieve a post by ID or slug.
- Add Post: Create a new post with title, content, and status.
- Edit Post: Update an existing post by ID.
- Delete Post: Remove a post by ID.
Members
- Browse Members: List members with filters and pagination.
- Read Member: Retrieve a member by ID or email.
- Add Member: Create a new member.
- Edit Member: Update member details.
- Delete Member: Remove a member.
Newsletters
- Browse Newsletters: List newsletters.
- Read Newsletter: Retrieve a newsletter by ID.
- Add Newsletter: Create a new newsletter.
インストール
npx -y @fanyangmeng/ghost-mcp設定
{
"mcpServers": {
"ghost-mcp": {
"command": "npx",
"args": ["-y", "@fanyangmeng/ghost-mcp"],
"env": {
"GHOST_API_URL": "https://yourblog.com",
"GHOST_ADMIN_API_KEY": "your_admin_api_key",
"GHOST_API_VERSION": "v5.0"
}
}
}
}