Versions in this module Expand all Collapse all v0 v0.48.0 Nov 30, 2026 Changes in this version + type Limits struct + MaxResultBytes int + MaxSchemaBytes int + MaxTools int + type Option func(*config) + func WithClientOptions(o *mcp.ClientOptions) Option + func WithLimits(l Limits) Option + func WithPrefix(p string) Option + func WithRequireApproval(b bool) Option + type Session struct + func Connect(ctx context.Context, t mcp.Transport, opts ...Option) (*Session, error) + func (s *Session) Close() error + func (s *Session) RegisterAll(ctx context.Context, reg tools.Registerer) error + func (s *Session) Tools(ctx context.Context) ([]tools.Tool, error)