AWS官方教你怎么在云上代理和本地工具之间搭桥,不用开端口也不用VPN,跟着步骤就能搞定。
AWS发布技术博客,介绍如何为Amazon Bedrock AgentCore托管的云上AI代理搭建MCP桥接,使其能调用用户笔记本电脑上的本地MCP服务器。方案通过浏览器扩展和Chrome原生消息传递,在现有WebSocket连接上隧道传输签名消息,无需开放端口或VPN。文中详细说明了AgentCore与本地MCP工具之间的安全通信机制,并给出了具体实现步骤。
How we built an MCP bridge to give our AgentCore-hosted AI agent access to local MCP tools
AI agents on Amazon Bedrock AgentCore run in the cloud, but users' tools and files live on their laptops. Learn how to build a secure MCP bridge that lets a cloud-hosted agent call local MCP servers by tunneling signed messages over the existing WebSocket connection through a browser extension and Chrome native messaging, with no open ports or VPN required.