项目预览
项目数据
项目介绍
Star 增长趋势
本站每日记录该项目 GitHub 星标变化,观测越久曲线越完整
数据来源:GitHub API 逐日快照 · 收录于 2026-08-09 · 当前星标 ★ 843
使用教程
环境要求
- 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
同类项目推荐
Aetox-Harness
开源
本地优先的 Windows AI 工作台,助手加开发者双入口
Aetox harness: a local-first Windows AI environment - model, skills, team and memory···
sage
开源
多模型AI评审团,实时把关编码代理每一步操作。
An LLM council that reviews your coding agent's every move
locally-uncensored
开源
一键安装,本地离线运行无审查 AI,聊天、生图、视频全搞定。
The all-in-one local AI studio for your desktop: chat, image and video generation an···
manus--ai
开源
让大模型在沙箱里动手干活,而不只是聊天
AI Manus is a general-purpose AI Agent system that supports running various tools an···
solace-agent-mesh
开源
用事件驱动编排多智能体,让 AI 协作像消息流一样顺滑
Platform for building and running AI agents across the full lifecycle — build, test···
craft-agents-oss
开源
用 TypeScript 快速搭出能自主干活的 AI 智能体
AgentTeams
开源
把 AI 智能体拉进群聊干活,人类随时围观插话
An open-source Collaborative Multi-Agent OS for transparent, human-in-the-loop task ···
Apeireth
开源
纯 Rust 写的 AGI 微内核,让智能体带记忆和安全跑在 U 盘里
Apeireth — a digital companion that grows with you. Pure Safe Rust AGI cognitive mi···
GraphAgent
开源
让大模型看懂图数据,用对话完成复杂图推理
[EMNLP2025] "GraphAgent: Agentic Graph Language Assistant"
