本项目是基于 [MCP - Go](https://github.com/mark3labs/mcp - go) 框架开发的服务器项目,提供了一系列实用工具和强大功能,能满足多种业务需求。
git clone https://github.com/yourusername/kr - mcp - server.git
go mod download
# 天气查询 API 密钥
export JUHE_KEY_SIMPLE_WEATHER=your_api_key_here
go run main.go
http://localhost:3001git clone https://github.com/yourusername/kr - mcp - server.git
go mod download
# 天气查询 API 密钥
export JUHE_KEY_SIMPLE_WEATHER=your_api_key_here
go run main.go
本项目使用聚合数据提供的天气查询 API。使用前需要完成以下步骤:
JUHE_KEY_SIMPLE_WEATHER。kr - mcp - server/
├── main.go # 程序入口文件
├── tools/ # 工具目录
│ ├── weather.go # 天气查询工具
│ └── dnf_gold.go # DNF 金币查询工具
├── go.mod # Go 模块定义文件
└── go.sum # 依赖项版本锁定文件
本项目采用 MIT 许可证。