mcp-server-test
@i-icc
关于 mcp-server-test
MCP サーバーのテスト
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"weather": {
"command": "python",
"args": [
"MY-PATH/mcp-server-test/src/main.py"
]
}
}
}工具
未检测到工具
工具是从 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.
FAQ from mcp-server-test
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.
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.
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).
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.
Where does the server code come from?
The code is taken directly from the official MCP quickstart at https://modelcontextprotocol.io/quickstart/server.
开发工具 分类下的更多 MCP 服务器
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
评论