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() {
367
367
mux := http.NewServeMux ()
368
368
369
369
// Add MCP endpoints
370
- server. AddMCPRoutes (mux, s, " /mcp" )
370
+ mux. Handle ( " /mcp" , server. NewStreamableHTTPServer (s) )
371
371
372
372
// Add custom endpoints
373
373
mux.HandleFunc (" /api/status" , handleStatus)
@@ -693,4 +693,4 @@ The headers are automatically populated by the transport layer and are available
693
693
694
694
- ** [ In-Process Transport] ( /transports/inprocess ) ** - Learn about embedded scenarios
695
695
- ** [ 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