MCP服务器

MCP服务器是一个用于设置和管理Claude MCP客户端的服务,支持通过JSON配置服务器参数。

  • by SonPhatTranDeveloper
  • Python
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 SonPhatTranDeveloper/mcp-server-demo

使用说明

MCP服务器示例

设置Claude MCP客户端

{
    "mcpServers": {
        "joke-and-weather": {
            // Replace this with the path to your Python
            "command": "/Users/user/Desktop/Python/my-mcp-demo/.venv/bin/python",
            "args": [
                // Replace this with the path to your main.py
                "/Users/user/Desktop/Python/my-mcp-demo/main.py"
            ]
        }
    }
}