MCPcopy
hub / github.com/grafana/tempo / ServeHTTP

Method ServeHTTP

modules/frontend/mcp.go:95–97  ·  view source on GitHub ↗

ServeHTTP implements http.Handler to handle MCP requests over HTTP

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

93
94// ServeHTTP implements http.Handler to handle MCP requests over HTTP
95func (s *MCPServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
96 s.httpHandler.ServeHTTP(w, r)
97}
98
99// setupResources registers MCP resources for TraceQL documentation
100func (s *MCPServer) setupResources() {

Calls

no outgoing calls