Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MCPConfig ¶
type MCPConfig struct {
MCPServers map[string]ServerConfigWrapper `json:"mcpServers"`
}
type SSEServerConfig ¶ added in v0.6.0
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
Click to show internal directories.
Click to hide internal directories.