MCP エキスパート サーバー
Claude AIを活用したインテリジェントなクエリ生成とドキュメント作成支援を提供するモデルコンテキストプロトコルサーバーです。このサーバーはAPIドキュメントを分析し、以下の2つの主要ツールを提供します。
create-query : 自然言語リクエストに基づいてクエリを生成する
ドキュメント: 質問に基づいて関連するドキュメント情報を提供します
前提条件
Node.js >= 18
クロードのAnthropic APIキー
インストール
リポジトリをクローンする
依存関係をインストールします:
Anthropic API キーを使用して
.envファイルを作成します。
設定
サーバーを実行する前に、次のことを行う必要があります。
プロジェクトをビルドし、セットアップ スクリプトを実行します。
これにより、次のようになります。
必要なディレクトリ(
docs/とprompts/)を作成します。デフォルトのプロンプトファイルを作成する
初期のサービス説明を生成する
APIドキュメントファイルを
docs/ディレクトリに追加します(.txt、.md、.jsonファイルをサポートします)。オプションで、
prompts/ディレクトリ内のプロンプトをカスタマイズします。system-prompt.txt: クロードのメインシステムプロンプトtool-metadata.txt: ツールの説明のための追加コンテキストquery-metadata.txt: クエリ生成のための追加コンテキストservice-description.txt: 自動生成されたサービスの説明
使用法
スタンドアロンサーバー
サーバーを起動します。
サーバーは、モデル コンテキスト プロトコルを介して 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?" } }
クロードデスクトップ統合
この構成を Claude Desktop 構成ファイルに追加します。
/ABSOLUTE/PATH/TO/expert-serverサーバーのインストールへの実際の絶対パスに置き換えます。Claude Desktop を再起動します。
ディレクトリ構造
発達
プロジェクトをビルドします。
サーバーはTypeScriptを使用し、モジュール型アーキテクチャを採用しています。
ClaudeとのやりとりはすべてExpertServiceクラスによって処理されます
デバッグログは[DEBUG]プレフィックス付きでstderrに書き込まれます。
トラブルシューティング
接続の問題が発生した場合:
セットアップ スクリプトを実行したことを確認します。
prompts/ディレクトリに必要なファイルがすべて存在することを確認しますANTHROPIC_API_KEYが正しく設定されていることを確認してくださいClaude Desktop の設定で絶対パスを使用する
デバッグログ(stderrに書き込まれる)を確認する
環境変数
ANTHROPIC_API_KEY: Anthropic APIキー(必須)
ライセンス
マサチューセッツ工科大学
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Claude AI を利用してインテリジェントなクエリを生成し、API ドキュメント分析に基づいてドキュメント支援を提供するモデル コンテキスト プロトコル サーバー。
Related Resources
Related MCP Servers
- -security-license-qualityA 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
- Asecurity-licenseAqualityA 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 -2540MIT License
- Asecurity-licenseAqualityA 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 -119453MIT License
- Asecurity-licenseAqualityA 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 -1015416MIT License