mcp: storage scaffolding (#5581)

This commit is contained in:
Denis Mishin 2025-04-23 13:39:27 -04:00 committed by GitHub
parent f1a9401ddc
commit db221cb826
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 68 additions and 8 deletions

View file

@ -25,7 +25,7 @@ func (p *Proxy) registerDashboardHandlers(r *mux.Router, opts *config.Options) *
h.Use(middleware.SetHeaders(httputil.HeadersContentSecurityPolicy))
// model context protocol
h.PathPrefix("/mcp").Handler(p.mcp.HandlerFunc())
h.PathPrefix("/mcp").Handler(p.mcp.Load().HandlerFunc())
// special pomerium endpoints for users to view their session
h.Path("/").Handler(httputil.HandlerFunc(p.userInfo)).Methods(http.MethodGet)