mcp

package
v0.1.6-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL