Documentation
¶
Overview ¶
Package cmdutil provides shared command-line helpers for MCP binaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingFlags ¶
LoggingFlags are common flags for configuring slog output.
func (*LoggingFlags) Register ¶
func (flags *LoggingFlags) Register(fs *flag.FlagSet)
Register registers common logging flags on fs.
type TransportFlags ¶
type TransportFlags struct {
Transport string
Addr string
ExposeProvider string
ExposeType string
ExposeConfig string
ExposeName string
DisableLocalhostProtection bool
}
TransportFlags are common MCP server transport flags.
func (*TransportFlags) Register ¶
func (flags *TransportFlags) Register(fs *flag.FlagSet)
Register registers common MCP transport flags on fs.
Click to show internal directories.
Click to hide internal directories.