项目预览
项目数据
项目介绍
Star 增长趋势
本站每日记录该项目 GitHub 星标变化,观测越久曲线越完整
数据来源:GitHub API 逐日快照 · 收录于 2026-08-09 · 当前星标 ★ 842
使用教程
环境要求
- Python 3.9+
安装与启动步骤
-
1安装
轻量 MCP 框架,pip 一行装完。
pip install golf-mcp -
2定义工具
用装饰器声明工具,参数即入参。
from golf import mcp @mcp.tool() def add(a: int, b: int) -> int:/n return a + b -
3起服务
默认 stdio,也可切 SSE。
python server.py -
4接客户端
把启动命令写进 mcpServers 即可调用。
{"mcpServers":{"golf":{"command":"python","args":["server.py"]}}}
如何确认成功
客户端工具列表里出现 add,调用返回正确结果。
注意事项
- 它的卖点是少写样板代码,适合内部工具快速暴露。
- 工具签名里的类型注解会被用来生成 schema,别省。
核心亮点
- 内置认证授权,开箱即用,省去安全配置麻烦
- 自带调试器和遥测,排查问题直观高效
- 运行时管理简化部署扩展,适合生产环境
不足之处
- 文档/社区待观察
- 早期项目,生态和示例相对有限
适用场景
- 企业级 AI 智能体后端服务开发
- 需要安全认证的 MCP 工具服务器搭建
- AI 智能体生产环境部署与监控
替代项目
FastMCP、mcp-server-framework、LangChain MCP
上一篇:mateclaw
下一篇:sleepless-agent
同类项目推荐
openagent
开源
拖拽搭建深度推理 AI 智能体,支持多智能体协作
What if OpenAI Deep Research and Dify were one platform? OpenAgent — harness archit···
claude-brain
开源
一个文件搞定 Claude 长期记忆,告别数据库,随 Git 带走。
Give Claude Code photographic memory in ONE portable file. No database, no SQLite, n···
CowAgent
开源
养牛场装个助手,喂料看病它都帮你盯着
Open-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skill···
CoordClaw
开源
用自然语言组建AI团队,像经营公司一样管理智能体协作。
CoordClaw: a multi-agent system that runs AI like a one-person company. Built on man···
alfred-dev
开源
给 Claude Code 装上专业团队,自动跑完开发全流程
Tu equipo de desarrolladores en un plugin. 10 agentes, 11 skills planas, 18 comandos···
nanocoder
开源
代码不出自己电脑,社区版 AI 也能独当一面。
An open coding agent for your terminal, built by a community collective rather than ···
agenticmail
开源
给AI装上真实通信手脚,发邮件、发短信、打电话全自动
Email, SMS & phone-call infrastructure for AI agents — send and receive real email ···
Memary
开源
给AI装上长期记忆,让对话越用越懂你
The Open Source Memory Layer For Autonomous Agents
awesome-deepseek-agent
开源
用 DeepSeek 做智能体,一页清单找齐工具和案例
