Transport Layers
摘要
Up to this point, every server we have built communicates through standard input and output. That approach works beautifully for desktop AI clients like Claude Desktop and GitHub Copilot in VS Code, but it is not the only game in town. The MCP specification defines multiple transport layers, and in this chapter, we are going to explore all of them so you can pick the right one for your situation.