cmd

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: MIT Imports: 25 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type MCPConfig

type MCPConfig struct {
	MCPServers map[string]ServerConfigWrapper `json:"mcpServers"`
}

type SSEServerConfig added in v0.6.0

type SSEServerConfig struct {
	Url     string   `json:"url"`
	Headers []string `json:"headers,omitempty"`
}

func (SSEServerConfig) GetType added in v0.6.0

func (s SSEServerConfig) GetType() string

type STDIOServerConfig added in v0.6.0

type STDIOServerConfig struct {
	Command string            `json:"command"`
	Args    []string          `json:"args"`
	Env     map[string]string `json:"env,omitempty"`
}

func (STDIOServerConfig) GetType added in v0.6.0

func (s STDIOServerConfig) GetType() string

type ServerConfig added in v0.3.3

type ServerConfig interface {
	GetType() string
}

type ServerConfigWrapper added in v0.6.0

type ServerConfigWrapper struct {
	Config ServerConfig
}

func (ServerConfigWrapper) MarshalJSON added in v0.6.0

func (w ServerConfigWrapper) MarshalJSON() ([]byte, error)

func (*ServerConfigWrapper) UnmarshalJSON added in v0.6.0

func (w *ServerConfigWrapper) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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