Skip to main content
Glama

MCP Expert Server

MCP エキスパート サーバー

Claude AIを活用したインテリジェントなクエリ生成とドキュメント作成支援を提供するモデルコンテキストプロトコルサーバーです。このサーバーはAPIドキュメントを分析し、以下の2つの主要ツールを提供します。

  • create-query : 自然言語リクエストに基づいてクエリを生成する
  • ドキュメント: 質問に基づいて関連するドキュメント情報を提供します

前提条件

  • Node.js >= 18
  • クロードのAnthropic APIキー

インストール

  1. リポジトリをクローンする
  2. 依存関係をインストールします:
npm install
  1. Anthropic API キーを使用して.envファイルを作成します。
ANTHROPIC_API_KEY=your_api_key_here

設定

サーバーを実行する前に、次のことを行う必要があります。

  1. プロジェクトをビルドし、セットアップ スクリプトを実行します。
npm run build npm run setup

これにより、次のようになります。

  • 必要なディレクトリ( docs/prompts/ )を作成します。
  • デフォルトのプロンプトファイルを作成する
  • 初期のサービス説明を生成する
  1. APIドキュメントファイルをdocs/ディレクトリに追加します( .txt.md.jsonファイルをサポートします)。
  2. オプションで、 prompts/ディレクトリ内のプロンプトをカスタマイズします。
    • system-prompt.txt : クロードのメインシステムプロンプト
    • tool-metadata.txt : ツールの説明のための追加コンテキスト
    • query-metadata.txt : クエリ生成のための追加コンテキスト
    • service-description.txt : 自動生成されたサービスの説明

使用法

スタンドアロンサーバー

サーバーを起動します。

npm start

サーバーは、モデル コンテキスト プロトコルを介して 2 つのツールを公開します。

  • create-query : 自然言語リクエストに基づいてクエリを生成する
    { "name": "create-query", "arguments": { "request": "Find all users who signed up in the last week" } }
  • ドキュメント: ドキュメントから情報を取得する
    { "name": "documentation", "arguments": { "request": "How do I authenticate API requests?" } }

クロードデスクトップ統合

  1. この構成を Claude Desktop 構成ファイルに追加します。
{ "mcpServers": { "expert": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/expert-server/build/index.js"], "env": { "ANTHROPIC_API_KEY": "your_api_key_here" } } } }
  1. /ABSOLUTE/PATH/TO/expert-serverサーバーのインストールへの実際の絶対パスに置き換えます。
  2. Claude Desktop を再起動します。

ディレクトリ構造

. ├── docs/ # Your API documentation files ├── prompts/ # System prompts and metadata │ ├── system-prompt.txt # Main system prompt │ ├── tool-metadata.txt # Tool description context │ ├── query-metadata.txt # Query generation context │ └── service-description.txt # Generated service description ├── src/ # Source code │ ├── index.ts # Entry point │ ├── server.ts # MCP server implementation │ └── services/ # Core services │ └── expertService.ts # Claude integration └── package.json

発達

  • プロジェクトをビルドします。
npm run build
  • サーバーはTypeScriptを使用し、モジュール型アーキテクチャを採用しています。
  • ClaudeとのやりとりはすべてExpertServiceクラスによって処理されます
  • デバッグログは[DEBUG]プレフィックス付きでstderrに書き込まれます。

トラブルシューティング

接続の問題が発生した場合:

  1. セットアップ スクリプトを実行したことを確認します。
npm run setup
  1. prompts/ディレクトリに必要なファイルがすべて存在することを確認します
  2. ANTHROPIC_API_KEYが正しく設定されていることを確認してください
  3. Claude Desktop の設定で絶対パスを使用する
  4. デバッグログ(stderrに書き込まれる)を確認する

環境変数

  • ANTHROPIC_API_KEY : Anthropic APIキー(必須)

ライセンス

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

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Claude AI を利用してインテリジェントなクエリを生成し、API ドキュメント分析に基づいてドキュメント支援を提供するモデル コンテキスト プロトコル サーバー。

  1. 前提条件
    1. インストール
      1. 設定
        1. 使用法
          1. スタンドアロンサーバー
          2. クロードデスクトップ統合
        2. ディレクトリ構造
          1. 発達
            1. トラブルシューティング
              1. 環境変数
                1. ライセンス

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    A comprehensive suite of Model Context Protocol servers designed to extend AI agent Claude's capabilities with integrations for knowledge management, reasoning, advanced search, news access, and workspace tools.
                    Last updated -
                    5
                    TypeScript
                    • Apple
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.
                    Last updated -
                    25
                    29
                    Python
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.
                    Last updated -
                    1
                    635
                    33
                    TypeScript
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables AI assistants like Claude to interact with microCMS content management system through six core tools for performing CRUD operations on microCMS list-type APIs.
                    Last updated -
                    10
                    10
                    11
                    TypeScript
                    MIT License
                    • 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/crazyrabbitLTC/mcp-expert-server'

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