Back to directory
hrsano645/python-mcp-example

hrsano645/python-mcp-example

@hrsano645

Python MCP SDK 示例,展示如何使用 stdio transport 运行 MCP server

mcppythonexamplestdiosdktool

Installation & Configuration

{
  "mcpServers": {
    "python-mcp-example-stdio": {
      "disabled": false,
      "timeout": 60,
      "command": "/opt/homebrew/bin/uv",
      "args": [
        "--directory",
        "/path/to/server.py/",
        "run",
        "mcp",
        "run",
        "server.py"
      ],
      "transportType": "stdio"
    }
  }
}

Information

Transport
stdio
Language
Python
Created
2026/6/15
Updated
2026/6/17