Versions in this module Expand all Collapse all v0 v0.1.2 Aug 31, 2026 Changes in this version type Features + ServerInfo *mcp.Implementation v0.1.1 Aug 21, 2026 Changes in this version + func ContextWithRequestHeaders(ctx context.Context, headers http.Header) context.Context + func DownstreamMeta(meta mcp.Meta) mcp.Meta + func NewClient(implementation *mcp.Implementation, callbacks Callbacks) *mcp.Client + func RequestHeadersFromContext(ctx context.Context) http.Header + func WithoutValues(ctx context.Context) context.Context + type AuthorizationError struct + ErrorCode string + ErrorDescription string + ResourceMetadata string + Scope string + Scopes []string + StatusCode int + func (e *AuthorizationError) Error() string + type Callbacks struct + Component string + Frontend *mcp.ServerSession + ListChanged func(context.Context, FeatureFamily) + Logging func(context.Context, *mcp.LoggingMessageParams) + Progress func(context.Context, *mcp.ProgressNotificationParams) + ResourceUpdate func(context.Context, string) + type Discoverer interface + Discover func(context.Context, config.Server) (*Features, error) + type Factory interface + Close func() error + type FeatureFamily string + const FeaturePrompts + const FeatureResources + const FeatureTools + type Features struct + Prompts []*mcp.Prompt + ResourceTemplates []*mcp.ResourceTemplate + Resources []*mcp.Resource + Tools []*mcp.Tool + type FrontendActivityRuntime interface + SetFrontendActivity func(int) + type Invoker interface + CallTool func(context.Context, config.Server, *mcp.CallToolParams) (*mcp.CallToolResult, error) + GetPrompt func(context.Context, config.Server, *mcp.GetPromptParams) (*mcp.GetPromptResult, error) + ReadResource func(context.Context, config.Server, *mcp.ReadResourceParams) (*mcp.ReadResourceResult, error) + Subscribe func(context.Context, config.Server, *mcp.SubscribeParams) error + Unsubscribe func(context.Context, config.Server, *mcp.UnsubscribeParams) error + type Pool struct + func NewPool(factory RuntimeFactory) *Pool + func (p *Pool) Acquire(ctx context.Context, frontend *mcp.ServerSession, fingerprint string, ...) (Runtime, func(), error) + func (p *Pool) Close() error + func (p *Pool) SetFrontendActivity(frontend *mcp.ServerSession, active int) + type RoutingFactory struct + func NewRoutingFactory(httpFactory, stdioFactory Factory) *RoutingFactory + func (f *RoutingFactory) CallTool(ctx context.Context, server config.Server, params *mcp.CallToolParams) (*mcp.CallToolResult, error) + func (f *RoutingFactory) Close() error + func (f *RoutingFactory) Discover(ctx context.Context, server config.Server) (*Features, error) + func (f *RoutingFactory) GetPrompt(ctx context.Context, server config.Server, params *mcp.GetPromptParams) (*mcp.GetPromptResult, error) + func (f *RoutingFactory) OpenRuntime(ctx context.Context, server config.Server, opts RuntimeOptions) (Runtime, error) + func (f *RoutingFactory) ReadResource(ctx context.Context, server config.Server, params *mcp.ReadResourceParams) (*mcp.ReadResourceResult, error) + func (f *RoutingFactory) Subscribe(ctx context.Context, server config.Server, params *mcp.SubscribeParams) error + func (f *RoutingFactory) Unsubscribe(ctx context.Context, server config.Server, params *mcp.UnsubscribeParams) error + type Runtime interface + CallTool func(context.Context, *mcp.CallToolParams) (*mcp.CallToolResult, error) + Close func() error + GetPrompt func(context.Context, *mcp.GetPromptParams) (*mcp.GetPromptResult, error) + ReadResource func(context.Context, *mcp.ReadResourceParams) (*mcp.ReadResourceResult, error) + Subscribe func(context.Context, *mcp.SubscribeParams) error + Unsubscribe func(context.Context, *mcp.UnsubscribeParams) error + type RuntimeFactory interface + OpenRuntime func(context.Context, config.Server, RuntimeOptions) (Runtime, error) + type RuntimeOptions struct + Callbacks Callbacks + FrontendActivity int + IdleTimeout time.Duration + OnClose func() + OnOpen func() v0.1.0 Aug 21, 2026