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 ¶
func (SSEServerConfig) GetType ¶
func (s SSEServerConfig) GetType() string
type STDIOServerConfig ¶
type STDIOServerConfig struct {
Command string `json:"command"`
Args []string `json:"args"`
Env map[string]string `json:"env,omitempty"`
}
func (STDIOServerConfig) GetType ¶
func (s STDIOServerConfig) GetType() string
type ServerConfig ¶
type ServerConfig interface {
GetType() string
}
type ServerConfigWrapper ¶
type ServerConfigWrapper struct {
Config ServerConfig
}
func (ServerConfigWrapper) MarshalJSON ¶
func (w ServerConfigWrapper) MarshalJSON() ([]byte, error)
func (*ServerConfigWrapper) UnmarshalJSON ¶
func (w *ServerConfigWrapper) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.