mcp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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)

func ReconnectServer

func ReconnectServer(ctx context.Context, manager *Manager, serverName string, cwd string) error

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

Jump to

Keyboard shortcuts

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