Skip to main content
Glama

コンテンツスタックMCPサーバー

鍛冶屋のバッジ

このモデル コンテキスト プロトコル (MCP) サーバーは Contentstack のコンテンツ管理 API と統合され、Claude などの AI アシスタントが標準化されたプロトコルを通じて Contentstack CMS と対話できるようになります。

**注:**これはContentstack MCP Serverの初期バージョンです。今後の改善点や予定されている機能については、ロードマップをご覧ください。

目次

Related MCP server: mcp-clickup

特徴

利用可能なリソース

  • content-types : すべてのコンテンツタイプを一覧表示します (URI: contentstack://content-types )

  • content-type : UIDでコンテンツタイプを取得します(URI: contentstack://content-type/{uid} )

  • entries : コンテンツタイプ別にエントリを取得します (URI: contentstack://entries/{content_type_uid} )

  • entry : 特定のエントリを取得します (URI: contentstack://entry/{content_type_uid}/{entry_uid} )

  • assets : すべてのアセットを一覧表示します (URI: contentstack://assets )

コンテンツタイプ管理

  • コンテンツタイプの作成、更新、削除

  • スキーマ、オプション、フィールドルール、分類法を定義する

  • グローバルフィールドを管理する

入場管理

  • エントリの作成、更新、削除

  • 環境間でエントリを公開および非公開にする

  • フィルタリング、ページ区切り、並べ替えオプションを使用してエントリをクエリする

グローバルフィールドマネジメント

  • コンテンツ タイプ間で再利用できるようにグローバル フィールドを作成および更新します

  • ページ区切りオプションを使用してグローバルフィールドを取得する

コンテンツワークフロー

  • ガイド付きコンテンツ作成ワークフロー

  • コンテンツ分析と洞察

  • 移行計画支援

インストール

前提条件

  • Node.js (v16.0.0 以上)

  • Contentstackアカウント

  • API 認証情報 (API キーと管理トークン)

NPMのインストール

この MCP サーバーを使用する最も簡単な方法は、NPM を使用することです。

# Install globally
npm install -g @drossman/contentstack-mcp

# Or use directly via npx
npx @drossman/contentstack-mcp

手動インストール

  1. リポジトリをクローンします。

    git clone https://github.com/darekrossman/contentstack-mcp.git
    cd contentstack-mcp
  2. 依存関係をインストールします:

    npm install
  3. 環境変数を設定します。

    cp .env.example .env

    Contentstack の資格情報を使用して.envファイルを編集します。

    CONTENTSTACK_API_KEY=your_api_key_here
    CONTENTSTACK_MANAGEMENT_TOKEN=your_management_token_here
    # Optional: Specify branch if using branches
    CONTENTSTACK_BRANCH=your_branch_name
  4. サーバーをビルドして起動します。

    npm run build
    npm start

Smithery CLI によるインストール

Smithery CLIを使用してこの MCP サーバーをインストールすることもできます。

npx @smithery/cli install contentstack-mcp --client claude

詳細と高度な使用方法については、 Smithery CLI のドキュメントを参照してください。

発達

開発のためのセットアップ

開発には以下を使用できます:

npm run dev

これにより、開発サイクルを高速化するためにts-nodeを使用してサーバーが起動します。

コード品質

このプロジェクトでは、 Biome.jsを使ってリンティングとフォーマットを行っています。Biome.js は一貫したコードスタイルを提供し、潜在的な問題を早期に発見するのに役立ちます。

利用可能なコマンド

  • リントコード:

    npm run lint
  • 糸くずと修正:

    npm run lint:fix
  • フォーマットコード:

    npm run format
  • フォーマットと修正:

    npm run format:fix

構成

認証

このサーバーはContentstackのAPIによる認証が必要です。

管理トークン(必須) :

  • 事前定義された権限を持つスタックレベルのトークン

  • CONTENTSTACK_MANAGEMENT_TOKEN環境変数で設定

  • Contentstackダッシュボードから生成: 設定 > トークン > 管理トークン

APIキー(必須) :

  • 認証用のスタックAPIキー

  • CONTENTSTACK_API_KEY環境変数で設定

ブランチサポート

Contentstack アカウントでブランチを使用する場合は、ブランチを指定できます。

CONTENTSTACK_BRANCH=develop

AIアシスタントとの統合

デスクトップ版クロード

このサーバーをClaude for Desktopで使用するには:

  1. Claude for Desktop 構成ファイルを編集します。

    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. このサーバーをmcpServersセクションに追加します。

    {
      "mcpServers": {
        "contentstack": {
          "command": "npx",
          "args": ["-y", "@drossman/contentstack-mcp"],
          "env": {
            "CONTENTSTACK_API_KEY": "your_api_key_here",
            "CONTENTSTACK_MANAGEMENT_TOKEN": "your_management_token_here"
          }
        }
      }
    }
  3. デスクトップ版のClaudeを再起動する

カーソル

このサーバーを Cursor で使用するには、Contentstack MCP サーバー構成を追加します。

{
   "mcpServers": {
      "contentstack": {
      "command": "npx",
      "args": ["-y", "@drossman/contentstack-mcp"],
      "env": {
         "CONTENTSTACK_API_KEY": "your_api_key_here",
         "CONTENTSTACK_MANAGEMENT_TOKEN": "your_management_token_here",
      }
      }
   }
}

Smitheryでインストール

選択したクライアントを使用してSmithery CLIを使用してこの MCP サーバーをインストールすることもできます。

npx -y @smithery/cli install @drossman/contentstack-mcp --client claude

利用可能なクライアントは次のとおりです:

  • クロード

  • クライン

  • ウィンドサーフィン

  • ルーコード

  • 機知に富んだ

  • 会話

  • カーソル

  • vscode

  • vscodeインサイダー

  • ボルタイ

  • アマゾンの岩盤

  • アマゾン

詳細と高度な使用方法については、 Smithery CLI のドキュメントを参照してください。

ロードマップ

  • [ ]強化されたAIコンテキスト理解:複雑なクエリに対するコンテキストプロビジョニングの改善

  • [ ]高度なクエリとフィルタリング:複数の条件とカスタムフィールドによるフィルタリングをサポート

  • [ ]ワークフローと公開の自動化:AI駆動型コンテンツワークフローアクションを有効にする

  • [ ]資産管理の機能強化:直接的な資産操作機能の追加

  • [ ]一括操作サポート:エントリと資産の一括操作を実装

  • [ ]エラー処理とAIフィードバックの改善:AIが使用するエラーメッセージを改良

  • [ ]ユーザー固有のコンテキストと権限: ユーザーの権限に基づいてアクションをカスタマイズ

  • [ ]カスタムツールの拡張性:拡張フレームワークを作成する

  • [ ]リアルタイムイベント処理:反応型AI動作のためのWebhookサポートを追加

  • [ ]包括的なドキュメント: AIとのやり取りに関する詳細なガイドを作成する

大声で叫ぶ

Ivo Toby氏に心から感謝いたします。このプロジェクトとその作者は、この分野における彼の活動に多大な影響を受けています。

ライセンス

マサチューセッツ工科大学


**免責事項:**このプロジェクトはContentstackと提携、承認、またはサポートされていません。Contentstack APIと連携するように設計された独立したオープンソースプロジェクトです。

Available Tools

15 tools
create_content_typeC

Creates a new content type with the specified schema, options, field rules, and taxonomies.

Inputs: schema (required), title (required), uid (required), field_rules, +2 more.

create_entryC

Creates a new entry for a specified content type.

Inputs: content_type_uid (required), entry (required).

create_global_fieldC

Creates a new global field with the specified title, UID, and schema.

Inputs: schema (required), title (required), uid (required).

delete_content_typeC

Deletes a content type identified by its UID.

Inputs: uid (required).

delete_entryC

Deletes an entry identified by its UID and content type UID.

Inputs: content_type_uid (required), entry_uid (required).

get_all_content_typesC

Retrieves a list of all content types, with options for pagination and including additional details like global field schema and counts.

Inputs: include_branch_info, include_count, include_global_field_schema, include_reference_content_type_uid, +2 more.

get_all_global_fieldsC

Retrieves a list of all global fields, with options for pagination and including branch information.

Inputs: include_branch_info, include_count, limit, skip.

get_content_typeB

Retrieves a specific content type by its UID, optionally including the global field schema.

Inputs: uid (required), include_global_field_schema.

get_entriesC

Retrieves entries for a specified content type, with extensive options for filtering, sorting, pagination, and including related data.

Inputs: content_type_uid (required), asc, desc, except, +13 more.

get_entryA

Retrieves a specific entry by its content type UID and entry UID, with options for locale and including references.

Inputs: content_type_uid (required), entry_uid (required), include_reference_content_type_uid, include_references, +1 more.

publish_entryC

Publishes an entry to a specified environment and locale.

Inputs: content_type_uid (required), entry_uid (required), environment (required), locale.

unpublish_entryC

Unpublishes an entry from a specified environment and locale.

Inputs: content_type_uid (required), entry_uid (required), environment (required), locale.

update_content_typeC

Updates an existing content type identified by its UID. Allows modification of title, schema, options, and field rules.

Inputs: uid (required), field_rules, options, schema, +1 more.

update_entryC

Updates an existing entry identified by its UID and content type UID.

Inputs: content_type_uid (required), entry (required), entry_uid (required).

update_global_fieldB

Updates an existing global field identified by its UID. Allows modification of title and schema.

Inputs: uid (required), schema, title.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific resources (content types, entries, global fields) and actions (create, get, update, delete, publish/unpublish). There is no overlap or ambiguity; for example, get_all_content_types vs. get_content_type are clearly differentiated by scope.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with underscores (e.g., create_content_type, get_entries, update_global_field). The naming is predictable and uniform across all 15 tools, making it easy for agents to understand and use them.

    Tool Count5/5

    With 15 tools, this server is well-scoped for content management operations. Each tool earns its place by covering essential CRUD and lifecycle actions for content types, entries, and global fields, without being overly bloated or sparse.

    Completeness5/5

    The tool surface provides complete CRUD and lifecycle coverage for the content management domain. It includes create, get, update, and delete for all core resources (content types, entries, global fields), plus publishing/unpublishing for entries, with no obvious gaps that would hinder agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers