一个简单的 mcp 查询天气服务端
- 查询天气(高德天气API)
git clone https://github.com/Lucareful/mcp-wather.git
# 生成二进制文件
go build -o forecast .
{
"mcpServers": {
"weather": {
// 程序二进制路径
"command": "/your-path/forecast"
}
}
}