Documentation
¶
Index ¶
- Constants
- func AddServer(name string, config McpServerConfig, scope ConfigScope) error
- func ParseMcpConfigFromFile(filePath string) (McpJsonConfig, []ValidationError)
- func ReconnectServer(ctx context.Context, manager *Manager, serverName string, cwd string) error
- type ConfigScope
- type ConnectServerConfig
- type IntegrationOptions
- type IntegrationResult
- type Manager
- type McpJsonConfig
- type McpServerConfig
- type McpServerType
- type ScopedMcpServerConfig
- type ServerConfig
- type TransportType
- type ValidationError
Constants ¶
View Source
const ( ScopeProject = internalmcp.ScopeProject ScopeUser = internalmcp.ScopeUser ScopeLocal = internalmcp.ScopeLocal ScopeEnterprise = internalmcp.ScopeEnterprise ServerTypeStdio = internalmcp.ServerTypeStdio ServerTypeHTTP = internalmcp.ServerTypeHTTP ServerTypeSSE = internalmcp.ServerTypeSSE ServerTypeWebSocket = internalmcp.ServerTypeWebSocket ServerTypeSDK = internalmcp.ServerTypeSDK )
Variables ¶
This section is empty.
Functions ¶
func AddServer ¶
func AddServer(name string, config McpServerConfig, scope ConfigScope) error
func ParseMcpConfigFromFile ¶
func ParseMcpConfigFromFile(filePath string) (McpJsonConfig, []ValidationError)
Types ¶
type ConfigScope ¶
type ConfigScope = internalmcp.ConfigScope
type ConnectServerConfig ¶
type ConnectServerConfig = internalmcp.ConnectServerConfig
type IntegrationOptions ¶
type IntegrationOptions = internalmcp.IntegrationOptions
type IntegrationResult ¶
type IntegrationResult = internalmcp.IntegrationResult
type Manager ¶
type Manager = internalmcp.MCPClientManager
func GlobalManager ¶
func GlobalManager() *Manager
type McpJsonConfig ¶
type McpJsonConfig = internalmcp.McpJsonConfig
type McpServerConfig ¶
type McpServerConfig = internalmcp.McpServerConfig
type McpServerType ¶
type McpServerType = internalmcp.McpServerType
type ScopedMcpServerConfig ¶
type ScopedMcpServerConfig = internalmcp.ScopedMcpServerConfig
type ServerConfig ¶
type ServerConfig = internalmcp.ServerConfig
type TransportType ¶
type TransportType = internalmcp.TransportType
type ValidationError ¶
type ValidationError = internalmcp.ValidationError
Click to show internal directories.
Click to hide internal directories.