golf.json
file is the main configuration file for your Golf project. Place this file in your project root directory to configure your MCP server.
"sse"
- Server-Sent Events"streamable-http"
- HTTP with streaming support"stdio"
- Standard input/output"otlp_http"
- OTLP HTTP exporter (for Jaeger, Grafana Tempo, etc.)"console"
- Console exporter (for debugging)otlp_http
, you must set the OTEL_EXPORTER_OTLP_ENDPOINT
environment variable. See the environment variables section below..env
file:
http://localhost:4318/v1/traces
name
from golf.json.Authorization=Bearer your-token
console
for debugging.env
file{{project_name}}
placeholder will be replaced with your actual project name when you run golf init
.