Versions in this module Expand all Collapse all v0 v0.1.32 Aug 27, 2026 Changes in this version type Options + Compression server.CompressionLevel + CompressionForceOff bool v0.1.31 Aug 20, 2026 Changes in this version + const DefaultAddr + const DefaultSessionIdleTimeout + type Options struct + Addr string + AllowedOrigins []string + Core *server.Core + EagerStart bool + ExposeManagerTools bool + ExposePrompts bool + ExposeResources bool + Namespace string + ServerVersion string + SessionIdleTimeout time.Duration + Token string + type Server struct + func New(opts Options) (*Server, error) + func (s *Server) ListenAndServe() error + func (s *Server) Serve(l net.Listener) error + func (s *Server) Shutdown(ctx context.Context) error