MCP サーバー プロジェクト
このプロジェクトには、顧客インタビュー、E2Eテスト、本番稼働プロセスなど、様々なタスクを処理するための複数のMCPサーバーが含まれています。各MCPサーバーはFastMCPフレームワークを使用して実装されています。
前提条件
- Python 3.11以上
uv
パッケージ マネージャー (pip
の代わりに使用)
設定
- リポジトリをクローンします。
uv
を使用して依存関係をインストールします。
プロジェクトの実行
特定の MCP サーバーを実行するには、次のコマンドを使用します。
<mcp_server_name>
実行するMCPサーバーの名前に置き換えます。使用可能なオプションは以下のとおりです。
hello
customer_mcp
interview_mcp
go_live_mcp
testing_e2e_mcp
例
customer_mcp
サーバーを実行するには:
これにより、 customer_mcp
サーバーが起動し、次の場所からアクセスできるようになります。
Docker Compose で実行
Docker Compose を使用すると、すべての MCP サーバーを同時に実行できます。各サーバーは異なるポートで公開されます。
実行手順
- すべてのサービスをビルドして開始します。
- 次の URL で MCP サーバーにアクセスします。
hello-mcp
: http://127.0.0.1:8000/hello-server/mcpcustomer-mcp
: http://127.0.0.1:8001/customer-mcp-server/mcpinterview-mcp
: http://127.0.0.1:8002/interview-mcp-server/mcpgo-live-mcp
: http://127.0.0.1:8003/go-live-mcp-server/mcptesting-e2e-mcp
: http://127.0.0.1:8004/testing-e2e-mcp-server/mcp
- すべてのサービスを停止します:
注記
- システムに Docker と Docker Compose がインストールされていることを確認します。
- 各 MCP サーバーは独自のコンテナー内で実行され、それぞれのポートでアクセスできます。
VSCode で MCP サーバーを構成する
VSCode で MCP サーバーを設定するには、 settings.json
ファイルのmcp.servers
セクションにエントリを追加します。これにより、MCP サーバーのエンドポイントを定義および管理し、簡単にアクセスできるようになります。
構成例
hello-mcp-server
を設定するには、 settings.json
ファイルに次のエントリを追加します。
次に、Copilot で#hello <something>
を実行して、hello サーバーのhello
ツールにアクセスできるようになります。
構成を追加する手順
- VSCode の
settings.json
ファイルを開きます。 mcp.servers
セクションを見つけるか作成します。- 上記の例に示すように、目的の MCP サーバーの構成を追加します。
サーバーへのアクセス
設定が完了すると、定義したURLを使用してMCPサーバーとやり取りできるようになります。例えば、 hello-mcp-server
次のURLでアクセスできます。
このセットアップにより、VSCode から直接 MCP サーバーを簡単に管理およびテストできるようになります。
プロジェクト構造
main.py
: MCP サーバーを実行するためのエントリ ポイント。customer_mcp.py
: 顧客インタビュー関連のタスクを処理します。interview_mcp.py
: 顧客インタビューの手順を管理します。go_live_mcp.py
: Go Live プロセスを処理します。testing_e2e_mcp.py
: E2E テストタスクを管理します。hello.py
: テスト用の MCP サーバーの例。
注記
uv
パッケージ マネージャーが正しくインストールされ、構成されていることを確認します。--mcp
引数を使用して、実行する MCP サーバーを指定します。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
FastMCP フレームワークで構築された MCP サーバーのコレクション。顧客インタビュー、E2E テスト、稼働開始プロセスなどのさまざまなタスクを処理し、VSCode を通じて GitHub Copilot とのシームレスな統合を可能にします。
Related MCP Servers
- AsecurityAlicenseAqualityA MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.Last updated -34JavaScriptMIT License
- -securityAlicense-qualityFastMCP is a comprehensive MCP server allowing secure and standardized data and functionality exposure to LLM applications, offering resources, tools, and prompt management for efficient LLM interactions.Last updated -3PythonMIT License
- AsecurityFlicenseAqualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.Last updated -3928
- AsecurityAlicenseAqualityMCP Server for the Peacock extension for VS Code (https://peacockcode.dev), coloring your world, one Code editor at a time. The main goal of the project is to show how an MCP server can be used to interact with APIs.Last updated -1391TypeScriptMIT License