Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveServerName ¶
DeriveServerName strips the -mcp suffix and .exe extension from a binary name.
func Run ¶
func Run(info ServerInfo, args []string)
Run executes the register subcommand. args is os.Args[2:] (everything after "register").
Types ¶
type ServerInfo ¶
type ServerInfo struct {
Name string // e.g. "rest-api" (without -mcp suffix)
}
ServerInfo holds the identity of the MCP server being registered.
Click to show internal directories.
Click to hide internal directories.