Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute() int
Execute runs the MCP server against os.Args with stdout as the protocol stream and stderr for diagnostics, returning the process exit code. main.go calls this and os.Exits with it.
func ExecuteArgs ¶
ExecuteArgs runs the MCP server with explicit args and IO streams, returning the exit code. Exported so tests can drive flag parsing and the credential chain deterministically. A successful --version or a flag-parsing failure returns without touching the network; a valid credential set blocks serving stdio until the client disconnects.
Types ¶
This section is empty.