Get started with your first GolfMCP project from scratch.
Install GolfMCP
Initialize your project
init
command:my_awesome_server
with the following structure:golf.json
: Configures your server’s name, port, transport, etc. (see Configuration)auth.py
: Dedicated file for authentication setup (see Authentication)tools/
, resources/
, prompts/
: Directories where you’ll define your server’s capabilities (see Component Specification)Set up authentication
auth.py
:
Create your first tool
tools/hello.py
:Build for development
Run your server