Versions in this module Expand all Collapse all v0 v0.18.0 Dec 5, 2026 v0.17.0 Dec 5, 2026 Changes in this version + type CORSConfig struct + AllowedHeaders []string + AllowedMethods []string + AllowedOrigins []string + MaxAge int + func DefaultCORSConfig() *CORSConfig + type Server struct + Tools map[string]Tool + func NewServer(cfg *config.Config, logger *zap.Logger) (*Server, error) + func (s *Server) Cleanup() error + func (s *Server) HTTPHandler(token string) http.Handler + func (s *Server) Handler() http.Handler + func (s *Server) MetricsHandler() http.Handler + func (s *Server) SDKServer() *mcp.Server + func (s *Server) SetCORSConfig(config *CORSConfig) + type Tool struct + Description string + Handler func(ctx context.Context, args map[string]interface{}) (interface{}, error) + InputSchema map[string]interface{} + Name string