
kr mcp server
这是一个基于 [MCP-Go] 框架开发的MCP 服务的项目,提供了一系列工具和功能。
Repository Info
About This Server
这是一个基于 [MCP-Go] 框架开发的MCP 服务的项目,提供了一系列工具和功能。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
KR-MCP-Server
这是一个基于 MCP-Go 框架开发的服务器项目,提供了一系列工具和功能。
功能特性
- 天气查询工具
- DNF 金币查询工具
- SSE 服务器支持
- 资源能力支持
- 提示词能力支持
技术栈
- Go
- MCP-Go 框架
- SSE (Server-Sent Events)
- 聚合数据 API
安装说明
- 克隆项目
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
API 配置说明
天气查询 API
本项目使用聚合数据提供的天气查询 API。使用前需要:
- 访问 聚合数据官网 注册账号
- 在控制台申请天气查询 API 的密钥
- 将获取到的 API 密钥设置为环境变量
JUHE_KEY_SIMPLE_WEATHER
项目结构
kr-mcp-server/
├── main.go # 主程序入口
├── tools/ # 工具目录
│ ├── weather.go # 天气查询工具
│ └── dnf_gold.go # DNF金币查询工具
├── go.mod # Go模块定义
└── go.sum # Go依赖版本锁定
使用说明
- 服务器默认运行在
http://localhost:3001 - 支持的工具:
- 天气查询
- DNF金币查询
开发说明
- 项目基于 MCP-Go 框架开发
- 支持添加自定义工具和提示词
- 支持资源能力和提示词能力
许可证
本项目采用 MIT 许可证。
Quick Start
Clone the repository
git clone https://github.com/kirikoko1213/kr-mcp-serverInstall dependencies
cd kr-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.