Versions in this module Expand all Collapse all v0 v0.9.6 Nov 4, 2025 Changes in this version + var DefaultLoader = &Local + var DefaultRunner = DefaultLoader + type Client struct + ID string + func (c *Client) Capabilities() nmcp.ServerCapabilities + type Config struct + MCPServers map[string]ServerConfig + type Local struct + func (l *Local) Client(server ServerConfig, clientOpts ...nmcp.ClientOption) (*Client, error) + func (l *Local) Close() error + func (l *Local) Load(ctx context.Context, tool types.Tool) (result []types.Tool, _ error) + func (l *Local) LoadTools(ctx context.Context, server ServerConfig, serverName, toolName string) ([]types.Tool, error) + func (l *Local) Run(ctx engine.Context, _ chan<- types.CompletionStatus, tool types.Tool, ...) (string, error) + func (l *Local) ShutdownServer(server ServerConfig) error + type ServerConfig struct + AllowedTools []string + Args []string + BaseURL string + Command string + DisableInstruction bool + Env []string + Headers []string + Scope string + Server string + URL string + func (s *ServerConfig) GetBaseURL() string + type Session struct + Client *nmcp.Client + Config ServerConfig + ID string