Skip to main content
Glama

Ghost MCP Server

by mtane0412

ゴーストMCPサーバー

Ghost Admin APIと統合されたモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、投稿管理、ページ管理、メンバー管理など、Ghost CMSの機能へのプログラムによるアクセスを可能にします。

特徴

  • 投稿管理(作成、閲覧、更新、削除、検索)
  • ページ管理(作成、読み取り、更新、削除)
  • タグ管理
  • 著者管理
  • メンバー管理(作成、読み取り、更新、削除、検索)
  • 画像アップロードサポート

前提条件

  • Node.js(v18以上を推奨)
  • Ghost CMSインスタンス
  • Ghost Admin APIキー

インストール

npm を使用してパッケージをインストールします。

npm install @mtane0412/ghost-mcp-server

構成

  1. Ghost 管理ダッシュボードの「設定」>「統合」で、新しいカスタム統合を作成します。
  2. 次の環境変数を設定します。
# 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

利用可能なツール

get_posts

ブログ投稿のリストを取得します。

入力:

{ "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 }

get_pages

ページのリストを取得します。

入力:

{ "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) }

get_members

メンバーのリストを取得します。

入力:

{ "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ライセンス

-
security - not tested
F
license - not found
-
quality - not tested

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 機能をプログラムで管理できるようにし、効率的なコンテンツ管理機能を提供します。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 構成
          1. 使用法
            1. 利用可能なツール
              1. get\_posts
              2. 取得投稿
              3. 検索投稿
              4. 投稿を作成
              5. 更新投稿
              6. 投稿を削除
              7. get\_pages
              8. get\_members
              9. 検索メンバー
              10. アップロード画像
              11. デバッグ
            2. ライセンス

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                Enables 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 -
                41
                137
                38
                TypeScript
                MIT License
                • Linux
              • -
                security
                A
                license
                -
                quality
                Enables management of Payload CMS projects through natural language commands, allowing developers to create, configure, and deploy content models with conversational AI.
                Last updated -
                82
                21
                MIT License
                • Linux
                • Apple
              • -
                security
                F
                license
                -
                quality
                Model Context Protocol (MCP) integration for managing content in the DevHub CMS system (blog posts, content, location administration)
                Last updated -
                Python
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                An 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 -
                2
                JavaScript
                MIT License

              View all related MCP servers

              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