File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
www/docs/pages/transports Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ func main() {
367367 mux := http.NewServeMux ()
368368
369369 // Add MCP endpoints
370- server. AddMCPRoutes (mux, s, " /mcp" )
370+ mux. Handle ( " /mcp" , server. NewStreamableHTTPServer (s) )
371371
372372 // Add custom endpoints
373373 mux.HandleFunc (" /api/status" , handleStatus)
@@ -693,4 +693,4 @@ The headers are automatically populated by the transport layer and are available
693693
694694- ** [ In-Process Transport] ( /transports/inprocess ) ** - Learn about embedded scenarios
695695- ** [ Client Development] ( /clients ) ** - Build MCP clients for HTTP transport
696- - ** [ Server Basics] ( /servers/basics ) ** - Review fundamental server concepts
696+ - ** [ Server Basics] ( /servers/basics ) ** - Review fundamental server concepts
You can’t perform that action at this time.
0 commit comments