You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ cd your-project-name
62
62
golf build dev
63
63
golf run
64
64
```
65
-
This will start the FastMCP server, typically on `http://127.0.0.1:3000` (configurable in `golf.json`).
65
+
This will start the FastMCP server, typically on `http://localhost:3000` (configurable in `golf.json`).
66
66
67
67
That's it! Your Golf server is running and ready for integration.
68
68
@@ -133,7 +133,7 @@ The `golf.json` file is the heart of your Golf project configuration. Here's wha
133
133
{
134
134
"name":"{{project_name}}", // Your MCP server name (required)
135
135
"description":"A Golf project", // Brief description of your server's purpose
136
-
"host":"127.0.0.1", // Server host - use "0.0.0.0" to listen on all interfaces
136
+
"host":"localhost", // Server host - use "0.0.0.0" to listen on all interfaces
137
137
"port":3000, // Server port - any available port number
138
138
"transport":"sse", // Communication protocol:
139
139
// - "sse": Server-Sent Events (recommended for web clients)
@@ -163,7 +163,7 @@ The `golf.json` file is the heart of your Golf project configuration. Here's wha
163
163
-`"sse"` is ideal for web-based clients and real-time communication
164
164
-`"streamable-http"` provides HTTP streaming for traditional API clients
165
165
-`"stdio"` enables integration with command-line tools and scripts
166
-
-**`host` & `port`**: Control where your server listens. Use `"127.0.0.1"` for local development or `"0.0.0.0"` to accept external connections.
166
+
-**`host` & `port`**: Control where your server listens. Use `"localhost"` for local development or `"0.0.0.0"` to accept external connections.
167
167
-**`stateless_http`**: When true, makes the streamable-http transport stateless by creating a new session for each request. This ensures that server restarts don't break existing client connections, making the server truly stateless.
168
168
-**`health_check_enabled`**: When true, enables a health check endpoint for Kubernetes readiness/liveness probes and load balancers
169
169
-**`health_check_path`**: Customizable path for the health check endpoint (defaults to "/health")
0 commit comments