Golf MCP Server

Framework for building MCP servers

Local serverstdioPython

What is the Golf MCP server?

Framework for building MCP servers. That is what the golf mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

Golf is a framework designed to streamline the creation of MCP server applications. It allows developers to define server's capabilities—tools, prompts, and resources—as simple Python files within a conventional directory structure. Golf then automatically discovers, parses, and compiles these components into a runnable MCP server, minimizing boilerplate and accelerating development.

What it needs from you

Configuration is passed through the environment: OTEL_TRACES_EXPORTER, OTEL_EXPORTER_OTLP_ENDPOINT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Getting it running

golf-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How to install the Golf MCP server

{
  "mcpServers": {
    "golf": {
      "command": "uvx",
      "args": ["golf-mcp"],
      "env": {
        "OTEL_TRACES_EXPORTER": "your-value",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
OTEL_TRACES_EXPORTERConfiguration value read at startup.Optional
OTEL_EXPORTER_OTLP_ENDPOINTConfiguration value read at startup.Optional

Frequently asked questions

It connects Golf to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Golf directly.