MCP.so
ログイン

MCP Server Test

@i-icc

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

i-icc

MCP Server Test について

MCP サーバーのテスト

MCP Server Test の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "weather": {
      "command": "python",
      "args": [
        "MY-PATH/mcp-server-test/src/main.py"
      ]
    }
  }
}

MCP Server Test のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is mcp-server-test?

mcp-server-test is a sample MCP server built from the official MCP quickstart. It is configured as a weather server and is intended for testing MCP server setup with Python and pyenv.

How to use mcp-server-test?

Install Python 3.10 or higher using pyenv, then configure your MCP client with the full path to the Python interpreter and the server script (src/main.py) in the command and args fields. Example configuration is provided in the README.

Key features of mcp-server-test

  • Requires Python 3.10 or higher.
  • Uses pyenv for Python version management.
  • Based on the official MCP Python quickstart.
  • Includes troubleshooting for common path errors.
  • Simple JSON configuration for MCP clients.

Use cases of mcp-server-test

  • Testing MCP server setup locally.
  • Learning how to configure an MCP server with custom Python paths.
  • Debugging Python environment issues in MCP integrations.

よくある質問

1

What Python version is required for mcp-server-test?

Python 3.10 or higher is required. The README uses Python 3.11.5 as an example.

2

Why does the error "spawn python ENOENT" occur?

The error means the `python` command is not found in the system PATH. The solution is to use the full path to the Python interpreter (e.g., from `pyenv which python`) in the MCP configuration.

3

How do I configure mcp-server-test in my MCP client?

Add an entry under `mcpServers` in your client settings, setting `command` to the full path of the Python interpreter and `args` to the full path of the server script (`src/main.py`).

4

What does mcp-server-test do?

Based on the official MCP quickstart it references, mcp-server-test serves weather alerts. The configuration key `"weather"` confirms it is a weather server.

5

Where does the server code come from?

The code is taken directly from the official MCP quickstart at https://modelcontextprotocol.io/quickstart/server.

コメント

「開発者ツール」の他のコンテンツ