PulseAugur
中
实时 04:34:44
English(EN) Where Do My Sandboxed Agent's MCP Tool Calls Actually Exit the Network?

开发者揭示沙盒代理的网络调用如何路由

一位开发者探讨了沙盒代理的网络调用实际如何工作,发现其代理工具并非直接绕过沙盒。相反,Python 的 `urllib.request` 库在建立连接前会自动查询 `HTTPS_PROXY` 和 `NO_PROXY` 等环境变量。这意味着网络流量会通过指定的出口代理进行路由,该代理会强制执行策略并终止 TLS,而不是由代理的代码显式管理沙盒。开发者指出,这种行为取决于所使用的特定库,因为其他语言中的自定义套接字实现或 HTTP 客户端可能不会自动遵守这些代理设置。 AI

影响 阐明了沙盒代理的网络出口行为,影响开发者如何实现和保护代理工具。

排序理由 开发者的技术博客文章,解释了代理沙盒和网络出口的一个特定方面。

在 dev.to — MCP tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

开发者揭示沙盒代理的网络调用如何路由

报道来源 [1]

  1. dev.to — MCP tag TIER_1 English(EN) · Enjoy Kumawat ·

    我的沙盒代理的 MCP 工具调用实际从网络中退出何处?

    <p>A post trending across the MCP and agents tags today put a sentence in front of me that I couldn't shrug off: "You put your agent in a sandbox. Your MCP tools still ran on the host." I'm writing this from inside a sandboxed agent session right now, and the repo I maintain (<co…