Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdMcpSseServer ¶ added in v0.1.5
func NewCmdMcpSseServer(configOpts *ServerOptions) *cobra.Command
func NewCmdMcpStdioServer ¶
func NewCmdMcpStdioServer(configOpts *ServerOptions) *cobra.Command
Types ¶
type ServerOptions ¶
type ServerOptions struct {
ReadOnly bool
LogFile string
LogCommands bool
Features []string
HTTPAddr string
HTTPPath string
*config.Options
}
ServerOptions is the options for the MCP server commands
func NewMcpServerOptions ¶
func NewMcpServerOptions(configOpts *config.Options) *ServerOptions
func (*ServerOptions) AddFlags ¶
func (o *ServerOptions) AddFlags(cmd *cobra.Command)
func (*ServerOptions) Complete ¶
func (o *ServerOptions) Complete() error
Click to show internal directories.
Click to hide internal directories.