参考
- https://www.youtube.com/watch?v=-8k9lGGQ6g
- https://github.com/techwithtim/PythonMCPServer
设置MCP服务器
- 安装
uv
- 对于Linux/macOS: curl -LsSf https://astral.sh/uv/install.sh | sh - 对于Windows(PowerShell): iwr -useb https://astral.sh/uv/install.ps1 | iex
- 将脚本注册为本地MCP客户端的MCP服务器
- uv run mcp install .\main.py - \[克劳德桌面\] 需要重新启动以反映更改
