错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Transport Layers

  • Gerald Versluis

摘要

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.