一个反常识的判断:到 2026 年底,MCP 协议本身已经不是企业把 Agent 接进外部系统的瓶颈了。真正卡住团队的,是协议之外那一堆没人愿意认领的运维活儿——网关、入站认证、IAM 角色、target、出站凭证、工具发现与同步。11 月底 Amazon Bedrock AgentCore 上线的 connections 公测,改的恰恰不是协议,而是「这些活儿归谁干」。把七步手工活压成三步,听起来像一次控制台体验优化,实际上是把 MCP 连接从「每个 Agent 自己接线」变成「平台侧一个可复用资源」。谁替你运维连接,谁就掌握了工具目录的解释权。这才是这次更新值得拆开看的地方。
发生了什么
先把日期说清楚,因为这里有个容易写错的细节。AWS What's New 公告页标注的发布时间是 2026 年 11 月 29 日,标题是「Simplified external tool integration for AgentCore harness is now available in preview」。一份 11 月 30 日发布的日文实测文(DEV Community 上的机器翻译版)写的是「On November 30, 2026 (JST), connections for AgentCore harness were announced as a public preview」,并在参考列表里把公告日期记为 2026-11-30。AWS 官方 release notes 则把这条归在「November 2026」之下,没有给具体日。三个口径并不矛盾:公告按美区时间落在 11 月 29 日,日本时间已经是 11 月 30 日。若只写「11 月 30 日公测」,严格说是在用 JST 记美区的发布;本文按官方页面写 11 月 29 日,涉及实测文时保留其 11 月 30 日(JST)的原口径。这一点由三个来源相互印证,属于交叉核实后发现的时区差异,不是事实冲突。
公告措辞很短,但把职责划分写得很硬:「Previously, developers needed to manage complex gateway constructions directly in their workflows. With this new console experience, an administrator sets up a tool once and approves the actions agents can take. Developers then attach it to an AgentCore harness without handling credentials or Gateway resources.」翻过来就是:管理员配一次工具并批准 Agent 可执行的动作,开发者挂到 harness 上,全程不碰凭证,也不碰 Gateway 资源。
可用的连接器有明确清单。AWS 官方 release notes 写:「The connector catalog includes Atlassian, Bright Data, Exa, Firecrawl, GitHub, Linear, PagerDuty, Parallel, Smartsheet, Stripe, Tavily, and Zapier.」共 12 个。那篇实测文列出的是同一份 12 个名字,并说明「On the connection creation page in the console (us-east-1), the same 12 were available as providers」。两份独立来源给出的清单完全一致,这是本文可以放心引用的数字。What's New 公告里另外举了 6 个例子(GitHub、Atlassian、Stripe、PagerDuty、Linear、Zapier),是这 12 个的子集,不构成冲突。
发布状态是 public preview,不是 GA。官方文档开头就标明「Connections for AgentCore harness are in public preview release for Amazon Bedrock AgentCore and are subject to change」,可用范围是「all AWS Regions where AgentCore harness is supported」。这两个限定后面还会回来找我们。
关键细节:四个概念,以及七步到底省掉了什么
官方文档给了四个术语,值得逐个拆,因为它们决定了这套抽象的边界在哪里。
Connection(连接) 是「An Amazon Bedrock AgentCore resource that gives harness agents access to the tools of an external service. An administrator creates a connection once. Authorized developers can then attach it to their harnesses. A connection holds the connector configuration and a reference to the credential.」注意两个词:一次创建(once)、持有凭证的引用(a reference to the credential)。它是一个资源,不是一段配置脚本,更不是每个 Agent 各自的一份副本。
Connector(连接器) 是「An AWS-maintained definition for a supported external service. A connector defines the service's public MCP endpoint, the authentication method it supports, and a recommended starting tool set.」三件事:公共 MCP 端点、支持的认证方式、推荐的起始工具集。也就是说,连哪个 URL、怎么认证、默认给哪些工具,都由 AWS 维护的定义说了算,而不是由填配置的人说了算。
Shared credential(共享凭证) 是「The credential that a connection uses to authenticate to the external service, such as an API key, a provider token, or a personal access token (PAT). Every agent that uses the connection acts as the single project, application, machine user, or token owner that the credential belongs to.」最后一句是整套设计里最重的一句:所有使用这个 connection 的 Agent,都以同一个凭证所有者的身份行动。它不是一个「按人授权」的模型。
Managed execution resources(托管执行资源) 是「The gateway and target resources that AgentCore creates and operates to run a connection. AgentCore configures them with managed defaults, keeps the connector's tools synchronized, and handles recovery. You don't manage these resources as part of the normal workflow.」Gateway 并没有消失,它只是被藏到了托管层,连工具同步和故障恢复一起接管了。
理解了这四个词,「七步压三步」才不是营销话术。官方文档自己列了旧流程:「Without connections, connecting an agent to an external MCP service can mean setting up a gateway, inbound identity, IAM roles, targets, outbound authentication, tool discovery, and synchronization before you can test a single tool.」——gateway、入站身份、IAM 角色、target、出站认证、工具发现、工具同步,七项,而且「Teams often repeat that setup for each agent」,每个 Agent 重做一遍。这段是 AWS 官方自述的旧流程口径,实测文原文引用了它,本文按官方口径转述,不把它当成第三方独立测量的结果。
新流程在文档里只有两步:管理员「Selects a connector from the AWS-maintained catalog」并「Provides the credential that the external service requires」;开发者「attach the connection when they create or update a harness」。加上把连接挂上去这个动作,就是常说的三步:选 connector、填凭证、挂到 harness。文档明确列出开发者不再需要配置的东西:「They don't configure the connector endpoint, gateway identity, target protocol, service roles, or tool synchronization.」
被省掉的七步去哪了?实测文给出了一份 us-east-1 的实测答案。这部分只有一个来源,属于单源、未交叉核实的细节,本文按「实测记录」而非「官方承诺」引用:创建一个 GitHub connection 后,系统自动生成了一个名为 <account ID>-default-v1 的 gateway(入站认证为 IAM)、一个名为 github-connections-test 的 gateway target(协议 MCP,路径 /github-connections-test,target type 显示为 Unknown)、一条 AgentCore Identity 出站认证记录(类型 API Key,值存在 Secrets Manager 的 bedrock-agentcore-identity!default/apikey/... 密钥里),以及一个以 AmazonBedrockAgentCoreGatewayDefaultServiceRole 开头的服务角色。实测文还记录 connector 标识为 github (1.0.0),创建页的「Supported tools」列出 45 个工具且为只读展示,页面写明「All of these tools will be available as part of this connection」。换言之,七步不是被取消了,是被产品化成了一次后台编排——Gateway、Identity、Secrets Manager、IAM 一样不少,只是不再由人逐步填写。
这里有个值得停一下的对照:实测文记录的自动建网关行为,与创建页上「This connection uses the default gateway and IAM role that AgentCore has already created」的说明不完全一致,实测结果是「in fact a new gateway was created at the same time as the connection」。这类文档措辞与实际行为的偏差在 preview 阶段很常见,也正好说明为什么不能只看控制台文案判断资源归属。
为什么重要
第一层价值是运维成本的收敛方式变了。旧模型里,N 个 Agent 接 M 个外部服务,是 N×M 组独立的鉴权、协议适配与异常处理;平台把连接做成一次创建、多处挂载的资源后,关系变成 M 次配置加 N 次挂载。更重要的是职责分离:管理员持有凭证,开发者只挂载、不接触凭证。官方文档把它写成「Developers self-serve. Developers attach the connections they have access to without receiving or copying credentials.」对有审计要求的团队,「凭证不落到每个开发者手里」比「少点几下鼠标」值钱得多。
第二层,也是更容易被忽略的一层:谁定义连接器,谁就定义了工具目录。Connector 定义里包含「a recommended starting tool set」,而实测显示这份工具集在 connection 创建页是只读的 45 项、无法逐个挑选,全部开放。于是「Agent 能调用什么」在很大程度上由 AWS 维护的 catalog 决定,最小权限的落点被推到了凭证侧——官方文档给的示例正是用一个「narrowly scoped personal access token (PAT) for a GitHub machine user」,并说明「GitHub limits access to the repositories and permissions granted to the PAT」。这是很实在的工程建议,但也意味着,如果你想按工具粒度裁剪、而不是按凭证粒度裁剪,这套抽象在 preview 阶段给不了你。
第三层是它对 MCP 生态的意味。MCP 解决的是「怎么调」:统一的工具发现、参数提交与结构化返回。但一个协议要真正在企业里铺开,还必须有「连哪个端点、谁保管凭证、工具列表变了谁同步、挂了谁恢复」这套东西。Connections 把后四个问题收进平台,本质上是在协议之上加了一层托管连接服务。所以这次更新的意义不在「MCP 又赢了」,而在于:当协议趋同、互操作不再是卖点之后,竞争会自然上移到「谁替客户把连接运维起来」。AWS 不是第一个做这件事的,但它是把「connector catalog + 共享凭证 + 托管 Gateway 资源」打包成控制台里三步操作、并且明确写出适用边界的大厂之一。
冷水与边界
必须把 preview 的限制念清楚,以下属于 AWS 官方口径:
- 只能挂到 AgentCore harness;只支持「tool connections to publicly reachable remote MCP services only」。私有 VPC 内的目标不在范围内。
- 认证只支持共享凭证。「Per-user OAuth (three-legged OAuth) and on-behalf-of access aren't supported.」文档还专门补了一句:「A connection acts as one shared project, application, machine user, or token owner, so it doesn't preserve each employee's own permissions or attribution in the external service. Services that require per-user access aren't a good fit for connections in the preview.」
- 需要精细网关控制时,官方建议绕开 connections:「If you need gateway-specific identity or networking controls, use AgentCore Gateway directly and attach the gateway to your harness as a tool.」What's New 公告也写了同样的边界:「Customers who need private VPC targets or direct gateway control can keep using AgentCore gateway.」这两条来自两个独立的官方页面,属于已交叉核实的适用边界。
- 外部服务自身的可用性、限流、许可、凭证模型与数据处理条款仍由客户承担;且「Features, quotas, and supported Regions can change before general availability」。
一个有意思的对照:同一个月,AWS 在 2026 年 11 月 12 日发布了 Amazon Cognito 对 OAuth 2.0 令牌交换(RFC 8693)的支持,官方公告里明确举了 MCP 场景——「模型上下文协议(MCP)服务器可以将用户令牌交换为作用域受限的令牌以调用后端 API,同时 act 声明会将 MCP 服务器记录为 actor」,并说明「下游服务便能区分由智能体代表用户发起的请求与用户直接发起的请求」。也就是说,「按人传递身份」这件事,AWS 自己有底层能力;只是 connections 的 preview 没有接上。把它理解成产品分层比理解成技术限制更准确:共享凭证是这次 preview 刻意选的简单模型,不是平台做不到 OBO。对架构师来说这个区分很重要——它决定了你是等 GA,还是现在就改走 Gateway 加自建令牌交换。
几处「没确认」的点需要单独标出来,因为它们直接影响能否上生产。
其一,connector 的目标 URL 在控制台看不到。实测文写得很具体:「The URL that the GitHub connector connects to is not written in the developer guide. In the console, it was not shown on the connection details page, the gateway target details page, or the "Additional settings" of the target. Therefore, whether the destination is the official GitHub MCP server could not be confirmed within the scope of this article.」这是单源、未交叉核实的实测结论,但性质不轻:如果你无法从控制台或文档确认流量最终去了哪个端点,供应链验证和出口白名单就缺了一个输入。preview 阶段可以接受,纳入生产前应当要求厂商给出可核对的端点清单。
其二,公告说的「approves the actions agents can take」,实测文在检查过的控制台页面里没找到对应入口,并明确写道「The operation in the announcement, "approves the actions agents can take," was not found on the console pages I checked」。同时创建页显示 45 个工具全部可用且不可逐个选择。一边是公告里的「批准动作」,一边是实测里的「工具全开、无逐项审批」,这是公告与实测两个来源之间真实存在的口径落差。实测文本身也把结论收得很克制:「Since this is a preview, I would like to check again at GA whether per-tool approval and per-user authentication are supported.」合理的做法是把它当作 preview 待补能力,而不是假定已经具备。
其三,自定义 MCP 端点的路径不在这套流程里。实测总结里写:「The console offers only 12 providers, and I found no option to add one by entering a URL. To specify a URL and authentication headers directly, use "Remote MCP server" in the harness.」注意 What's New 公告提到可以「add a compatible public MCP endpoint」,但实测在控制台只见到 12 个 provider,没有填 URL 的入口。这又是一处公告口径与实测的落差(公告与实测两个来源),同样标注为待确认。
其四,审计归属。实测记录:「The author of the Issue created by the agent is the token owner. Nothing indicates the agent or AgentCore.」单源、未交叉核实,但与官方文档「不保留每个员工的权限或归属」的表述方向一致,可以互相印证,却不算独立交叉。如果业务系统侧的追责要求「这次变更是哪个 Agent、代表谁做的」,共享凭证模型目前给不出这个答案。
最后把数字口径集中交代一下,避免读者把不同可信度的东西混在一起:12 个 connector 清单(AWS 官方 release notes 加实测文,两个独立来源,已交叉核实);11 月 29 日与 11 月 30 日 JST 的日期差异(What's New 页面、实测文、release notes,已交叉核实并解释);四个概念的定义与七步旧流程(AWS 官方 connections 文档,官方自述口径,实测文引用一致);与 Gateway 的适用边界(What's New 公告加 connections 文档,两个官方来源,已交叉核实);preview 不支持 per-user OAuth 与 OBO、仅公网可达 MCP、仅 harness(官方文档,官方一手口径)。而 45 个工具、connector 版本号 1.0.0、自动创建的 gateway / target / Identity / IAM 资源命名、Issue 创建者为 token owner、控制台无 URL 填写入口、单次 Issue 读取耗时 2.2 秒这些,均只来自那一篇实测文,属于单源、未交叉核实,本文按实测记录引用,不作为产品承诺。
小结
Connections 没有让 MCP 变得更强,它让 MCP 变得不用人管。七步手工活被收进一次后台编排,凭证从开发者手里收回管理员手里,连接从「每个 Agent 的一段配置」变成「平台侧一个可挂载的资源」——这三件事合起来,才是 11 月底这次 preview 真正的分量。但要看清它换了什么:换来的是运维外包与上手速度,付出的是凭证归属的粒度、端点可核对性与工具级审批。协议层的胜利早就写完了,接下来决定 MCP 能不能进生产的,是谁替你把连接运维起来,以及运维到什么颗粒度。preview 阶段不妨用来验证「三步能不能跑通」,至于「按人授权、按工具审批、端点可核对」,等 GA 之前,还是自己留一份验收清单更稳妥。
参考来源
- https://aws.amazon.com/about-aws/whats-new/2026/11/agentcore-connections-preview/ (AWS 官方 What's New,页面标注 2026-11-29)——支撑公测发布、公告原文「管理员配一次 / 开发者不碰凭证与 Gateway 资源」、6 个示例 connector,以及「需要私有 VPC 目标或直接网关控制可继续用 AgentCore gateway」的适用边界。
- https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/connections.html (AWS 官方开发者指南,public preview 版本,抓取于 2026-12-01)——支撑 connection / connector / shared credential / managed execution resources 四个概念定义、七步旧流程原文、三步新流程,以及 preview 的五项限制(仅 harness、仅公网可达 MCP、不支持 per-user OAuth 与 OBO、依赖外部服务条款、GA 前可能变化)与「需要精细网关控制请直接用 Gateway」的建议。
- https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/release-notes.html (AWS 官方 release notes,November 2026 条目,抓取于 2026-12-01)——支撑「Harness: Connect agents to external tools with connections (Preview)」条目与 12 个 connector 完整清单,并独立佐证公测状态。
- https://dev.to/aws-builders/aws-simplifying-external-tool-integration-for-agentcore-harness-with-connections-agentcore-4l9p (DEV Community,2026-11-30 发布,日文中译实测文)——支撑 us-east-1 实测细节:11 月 30 日(JST)时间口径、12 个 provider、自动创建的 gateway / target / Identity / IAM 资源、45 个工具只读展示、connector 目标 URL 在控制台不可见、公告「批准动作」未在控制台找到、无 URL 填写入口、Issue 作者为 token owner。除 12 个 provider 外均为单源、未交叉核实。
- https://aws.amazon.com/cn/about-aws/whats-new/2026/11/cognito-token-exchange/ (AWS 官方 What's New,2026-11-12)——支撑 Amazon Cognito 支持 RFC 8693 令牌交换、act 声明标识中间方、官方明确举出的 MCP 服务器换取下游受限令牌场景,以及 Essentials / Plus 功能计划;用于说明「按人传递身份」在 AWS 已有底层能力,与 connections preview 的共享凭证模型形成对照。

评论(0)
暂无评论,来抢沙发~
请 登录 后发表评论