Build an internal company MCP with Golf
Quando usar: You want a single authenticated MCP exposing 20+ internal tools (Jira, Grafana, ticketing) to employees via Claude.
Pré-requisitos
- Python 3.11+, uv — astral.sh/uv
Fluxo
-
ScaffoldRun
uvx golf new acme-mcpand cd in.✓ Copiado→ Project with tools/, prompts/, resources/ dirs -
Drop in tool filesCreate tools/list_tickets.py exporting an async function. Golf wires the schema automatically.✓ Copiado→ Tool visible at
/toolslist -
Enable JWT auth tied to your IdPConfigure golf.yaml auth: jwt with your IdP's JWKS URL. Require
mcp:usescope.✓ Copiado→ Unauthenticated calls rejected
Resultado: A deployable MCP that only authorized employees can call, with traces flowing to your APM.
Armadilhas
- Each tool import failure breaks server startup — Golf loads tools eagerly — fix import errors or move heavy deps inside the function