Go MCP 服务生成
原名:go-mcp-server-generator
使用 Go MCP SDK 生成结构清晰、便于部署和测试的 MCP 服务。
中文 Skills 技能说明
适合需要单文件部署或较低运行开销的工具服务。先定义最小权限和传输方式,再实现输入校验、日志和测试;依赖下载与生产接入需确认网络和数据边界。
上游能力依据
上游原始适用说明:Generate a complete Go MCP server project with proper structure, dependencies, and implementation using the official github.com/modelcontextprotocol/go-sdk.
上游 SKILL.md 主要章节(保留原文标题):
- Project Requirements
- Template Structure
- go.mod Template
- main.go Template
- tools/tool1.go Template
- tools/registry.go Template
- config/config.go Template
- maintest.go Template
- README.md Template
- Description
使用边界
先核对运行环境、账号、区域、依赖和最小权限。创建资源、改配置、发布服务或产生费用前必须让使用者确认。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/3f0bba475ec40b9680e1d0311b9caffeec5ad4c3/skills/go-mcp-server-generator
适用范围
平台:linux、macos、windows;标签:MCP 与工具、Go MCP 服务生成
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。