Skip to main content
Glama

DevHub CMS MCP

Official
by devhub

DevHub CMS MCP

DevHub CMS システムでコンテンツを管理するためのモデル コンテキスト プロトコル (MCP)統合。

インストール

ローカル システムにuvパッケージ マネージャーがインストールされている必要があります。

Claude Desktopの手動設定

このサーバーをClaude Desktop アプリで使用するには、 claude_desktop_config.jsonの「mcpServers」セクションに次の構成を追加します。

{ "mcpServers": { "devhub_cms_mcp": { "command": "uvx", "args": [ "devhub-cms-mcp" ], "env": { "DEVHUB_API_KEY": "YOUR_KEY_HERE", "DEVHUB_API_SECRET": "YOUR_SECRET_HERE", "DEVHUB_BASE_URL": "https://yourbrand.cloudfrontend.net" } } } }

設定を更新した後、Claude Desktop を再起動します。

カーソルの手動設定

この MCP は、上記と同様の構成をカーソルグローバル環境または個々のプロジェクトに追加することで、カーソルでも使用できます。

例はこちら

Claude Code経由でインストール

Claude Code のコマンド ラインはMCP インストールをサポートします

以下の環境変数を更新することで、 devhub-cms-mcpを追加できます。

claude mcp add devhub-cms-mcp \ -e DEVHUB_API_KEY=YOUR_KEY_HERE \ -e DEVHUB_API_SECRET=YOUR_SECRET_HERE \ -e DEVHUB_BASE_URL=https://yourbrand.cloudfrontend.net \ -- uvx devhub-cms-mcp

Smithery経由でインストール

Smithery経由で Claude Desktop 用の DevHub CMS MCP を自動的にインストールするには:

npx -y @smithery/cli install @devhub/devhub-cms-mcp --client claude

地域開発

リポジトリ(またはフォーク)をクローンする

git clone git@github.com:devhub/devhub-cms-mcp.git

Claude Desktopの手動設定

このサーバーをローカル開発用の Claude Desktop アプリで使用するには、 claude_desktop_config.jsonの "mcpServers" セクションに次の構成を追加します。

{ "mcpServers": { "devhub_cms_mcp": { "command": "uv", "args": [ "--directory", "/YOUR/LOCAL/PATH/devhub-cms-mcp/", "run", "main.py" ], "env": { "DEVHUB_API_KEY": "YOUR_KEY_HERE", "DEVHUB_API_SECRET": "YOUR_SECRET_HERE", "DEVHUB_BASE_URL": "https://yourbrand.cloudfrontend.net" } } } }

設定を更新した後、Claude Desktop を再起動します。

uvを直接実行するための設定

この MCP では、次の環境変数を設定する必要があります。

export DEVHUB_API_KEY="your_api_key" export DEVHUB_API_SECRET="your_api_secret" export DEVHUB_BASE_URL="https://yourbrand.cloudfrontend.net"

次にMCPを実行します

uv run main.py

利用可能なツール

この MCP は、DevHub CMS と対話するための次のツールを提供します。

ロケーション管理

  • get_hours_of_operation(location_id) : 特定のDevHub拠点の営業時間を取得します。曜日ごとの時間範囲の構造化されたリストを返します。
  • update_hours(location_id, new_hours, Hours_type='primary') : DevHub の場所の営業時間を更新します。
  • get_nearest_location(business_id, latitude, longitude) : 地理座標に基づいて最も近い DevHub の場所を検索します。

コンテンツ管理

  • get_blog_post(post_id) : タイトル、日付、HTML コンテンツを含む、ID で単一のブログ投稿を取得します。
  • create_blog_post(site_id, title, content) : 新しいブログ投稿を作成します。コンテンツはHTML形式で、H1タグを含んではいけません。
  • update_blog_post(post_id, title=None, content=None) : 既存のブログ投稿のタイトルやコンテンツを更新します。

メディア管理

  • upload_image(base64_image_content, filename) : DevHub メディアギャラリーに画像をアップロードします。webp、jpeg、png 形式をサポートしています。画像は base64 エンコードされた文字列として提供する必要があります。

LLMでの使用

このMCPは、モデルコンテキストプロトコルをサポートする大規模言語モデルで使用するように設計されています。これにより、LLMはLLMにネイティブに統合されたAPIに直接アクセスすることなく、DevHub CMS内のコンテンツを管理できるようになります。

テスト

このパッケージには、DevHub API への模擬リクエストを含むテスト スイートが含まれており、実際の API 呼び出しを行わずに機能をテストできます。

テストの実行

テストを実行するには、まずテスト依存関係を含むパッケージをインストールします。

uv pip install -e ".[test]"

pytest でテストを実行します。

pytest

より詳細な出力とテスト範囲情報については、以下を参照してください。

pytest -v --cov=devhub_cms_mcp

テスト構造

  • tests/devhub_cms_mcp/test_mcp_integration.py : MCP 統合エンドポイントのテスト
-
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.

DevHub CMS システム内のコンテンツ(ブログ投稿、コンテンツ、場所管理)を管理するためのモデル コンテキスト プロトコル(MCP)統合

  1. インストール
    1. Claude Desktopの手動設定
    2. カーソルの手動設定
    3. Claude Code経由でインストール
    4. Smithery経由でインストール
  2. 地域開発
    1. リポジトリ(またはフォーク)をクローンする
    2. Claude Desktopの手動設定
    3. uvを直接実行するための設定
  3. 利用可能なツール
    1. ロケーション管理
    2. コンテンツ管理
    3. メディア管理
  4. LLMでの使用
    1. テスト
      1. テストの実行
      2. テスト構造

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      A Model Context Protocol (MCP) server for managing social media posts, currently supporting X (formerly Twitter).
      Last updated -
      3
      7
      JavaScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
      Last updated -
      4
      3
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      This MCP server implementation allows users to manage and expose actions as tools from their Integration App workspace through the Model Context Protocol.
      Last updated -
      10
      21
      TypeScript
    • A
      security
      A
      license
      A
      quality
      Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for Upstash Developer API's.
      Last updated -
      16
      58
      27
      TypeScript
      MIT License
      • Linux
      • Apple

    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/devhub/devhub-cms-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server