MCPcopy Index your code
hub / github.com/coder/coder / ServeHTTP

Method ServeHTTP

coderd/mcp/mcp.go:68–70  ·  view source on GitHub ↗

ServeHTTP implements http.Handler interface

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

Source from the content-addressed store, hash-verified

66
67// ServeHTTP implements http.Handler interface
68func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
69 s.streamableServer.ServeHTTP(w, r)
70}
71
72// Register all available MCP tools with the server excluding:
73// - ReportTask - which requires dependencies not available in the remote MCP context

Callers 15

mcpHTTPHandlerMethod · 0.95
NewFunction · 0.45
singleSlashMWFunction · 0.45
TestDERPForceWebSocketsFunction · 0.45
injectSystemActorFunction · 0.45
RoundTripMethod · 0.45
TestStripSlashesMWFunction · 0.45
CustomRoleMWFunction · 0.45
determineCORSBehaviorMethod · 0.45

Calls

no outgoing calls