{"modulePath":"github.com/modelcontextprotocol/go-sdk","version":"v1.8.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\nThe distributed command is an example of a distributed MCP server.\n\nIt forks multiple child processes (according to the -child\\_ports flag), each of which is a streamable HTTP MCP server with the 'inc' tool, and proxies incoming http requests to them.\n\nDistributed MCP servers must be stateless, because there's no guarantee that subsequent requests for a session land on the same backend. However, they may still have logical session IDs, as can be seen with verbose logging (-v).\n\nExample:\n\n\t./distributed -http=localhost:8080 -child_ports=8081,8082\n\n","path":"github.com/modelcontextprotocol/go-sdk/examples/server/distributed","name":"main","synopsis":"The distributed command is an example of a distributed MCP server.","isRedistributable":true}
