MCP Catalogs
Home

golf

by golf-mcp·824·Score 55

Production-ready MCP server framework for building, deploying and scaling secure AI agent infrastructure with authentication, observability, and debugging capabilities.

developer-toolsai-llmops-infra
68
Forks
0
Open issues
this month
Last commit
2d ago
Indexed

Overview

Golf is a Python-based framework designed to streamline the creation of MCP server applications. It allows developers to define servers' capabilities—tools, prompts, and resources—as simple Python files within a conventional directory structure, which the framework automatically discovers and compiles into a runnable MCP server. With version 0.2.0, Golf offers enterprise-grade authentication (JWT, OAuth Server, API key, development tokens), built-in utilities for LLM interactions, and automatic telemetry integration, significantly reducing boilerplate code and accelerating development.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Building production-ready MCP servers with minimal boilerplate code
you:Implementing secure AI agents with enterprise-grade authentication
you:Creating scalable agent infrastructure with built-in observability and debugging
you:What makes Golf different from other MCP frameworks?
you:Can I use Golf to build MCP servers for specific applications?

When to choose this

Choose Golf when building production-ready MCP servers that require enterprise-grade authentication, observability, and a clean Python-based development experience.

When NOT to choose this

Avoid Golf if you need a lightweight solution without authentication, prefer non-Python implementations, or require minimal framework dependencies.

Tools this server exposes

1 tool extracted from the README
  • helloasync def hello(name: str = "World", greeting: str = "Hello") -> Output

    Say hello to the given name.

Comparable tools

mcp-server-sdkmcpserverless-mcpfastmcp

Installation

Installation

  1. Install Golf using pip:
pip install golf-mcp
  1. Initialize a new project:
golf init your-project-name
  1. Run the development server:
cd your-project-name
golf build dev
golf run

For Claude Desktop integration, add to claude_desktop_config.json:

{
  "mcpServers": {
    "golf": {
      "command": "python",
      "args": ["-m", "golf.cli", "run"],
      "env": {}
    }
  }
}

FAQ

What makes Golf different from other MCP frameworks?
Golf provides a production-ready framework with built-in enterprise-grade authentication (JWT, OAuth, API keys), observability, debugging tools, and telemetry integration. It minimizes boilerplate code by automatically discovering and compiling tools, resources, and prompts from a conventional directory structure.
Can I use Golf to build MCP servers for specific applications?
Yes, Golf is designed to be versatile and can be used to build MCP servers for various applications. The framework allows you to define custom tools, resources, and prompts through Python files, giving you full flexibility to implement your specific use case while handling the server infrastructure and authentication.

On Hacker News

Recent discussion from the developer community.

Compare golf with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.