AWS Security ChangesHomeSearch

AWS bedrock-agentcore documentation change

Service: bedrock-agentcore · 2026-04-25 · Documentation low

File: bedrock-agentcore/latest/devguide/gateway-target-MCPservers.md

Summary

Updated documentation for MCP server integration to include prompts and resources alongside tools, added details about DYNAMIC and DEFAULT Listing Modes, and removed note about unsupported JSON Schema reference keywords.

Security assessment

The changes are functional updates expanding the capabilities of MCP servers to include prompts and resources, and introducing operational modes (DYNAMIC/DEFAULT). The removal of the JSON Schema reference keyword restriction indicates a feature enhancement, not a security fix. The note about DYNAMIC mode not being interoperable with outbound three-legged OAuth (3LO) is a functional limitation, not evidence of addressing a security vulnerability.

Diff

diff --git a/bedrock-agentcore/latest/devguide/gateway-target-MCPservers.md b/bedrock-agentcore/latest/devguide/gateway-target-MCPservers.md
index 1303a9f22..ef0eea473 100644
--- a//bedrock-agentcore/latest/devguide/gateway-target-MCPservers.md
+++ b//bedrock-agentcore/latest/devguide/gateway-target-MCPservers.md
@@ -13 +13 @@ MCP servers provide local tools, data access, or custom functions for your inter
-MCP servers host tools that agents can discover and invoke. In Bedrock AgentCore, you use a gateway to associate targets with tools and connect them to your agent runtime. You connect with external MCP servers through the `SynchronizeGatewayTargets` API that performs protocol handshakes and indexes available tools. For more information about installing and using MCP servers, see [Amazon Bedrock AgentCore MCP Server: Vibe coding with your coding assistant](./mcp-getting-started.html).
+MCP servers host tools, prompts, and resources that agents can discover and use. In Bedrock AgentCore, you use a gateway to associate targets with these capabilities and connect them to your agent runtime. You connect with external MCP servers through the `SynchronizeGatewayTargets` API that performs protocol handshakes and indexes available capabilities. For more information about installing and using MCP servers, see [Amazon Bedrock AgentCore MCP Server: Vibe coding with your coding assistant](./mcp-getting-started.html).
@@ -28 +28,10 @@ MCP servers host tools that agents can discover and invoke. In Bedrock AgentCore
-Tool discovery is managed through the synchronization operation provided by the `SynchronizeGatewayTargets` API as follows.
+**Listing Mode**
+
+ListingMode can be set as either DYNAMIC or DEFAULT for MCP server targets.
+
+  * In DYNAMIC mode, clients discover MCP server capabilities when a user invokes an MCP operation. Gateway retrieves server capabilities by forwarding requests to the MCP server. Currently DYNAMIC mode is not interoperable with semantic search or outbound three-legged OAuth (3LO).
+
+  * Unless changed, Listing Mode is set to DEFAULT. In DEFAULT mode, clients discover MCP server capabilities through a synchronization operation provided by the SynchronizeGatewayTargets API.
+
+
+
@@ -32 +41 @@ Tool discovery is managed through the synchronization operation provided by the
-Implicit synchronization is the automatic tool discovery and indexing that occurs during `CreateGatewayTarget` and `UpdateGatewayTarget` operations. Gateway immediately calls the MCP server’s tools/list capability to fetch available tools and make tools available in the unified catalog without requiring separate user action.
+For targets in DEFAULT mode, CreateGatewayTarget and UpdateGatewayTarget operations automatically trigger capability discovery and indexing. When either operation is called, Gateway fetches available tools using MCP’s `tools/list` capability, prompts using `prompts/list`, resources using `resources/list` and `resources/templates/list`, and adds the returned capabilities to the unified catalog.
@@ -36 +45 @@ Implicit synchronization is the automatic tool discovery and indexing that occur
-Manual tool catalog refresh triggered by calling the `SynchronizeGatewayTargets` API. Invoke this when the MCP server has changed its tool definitions. The API performs the discovery process on-demand, allowing users to control when Gateway updates its view of available tools.
+Capability catalogs for Targets in DEFAULT mode, can be manually refreshed by calling the `SynchronizeGatewayTargets` API. When called, it updates the Gateway’s list of available capabilities. You should call the API any time an MCP server’s tool, prompt, resource definitions change.
@@ -38 +47 @@ Manual tool catalog refresh triggered by calling the `SynchronizeGatewayTargets`
-Synchronization is a critical mechanism for maintaining accurate tool catalogs when integrating MCP servers. Implicit synchronization occurs automatically during target creation and updates, where Gateway immediately discovers and indexes tools from the MCP server to ensure tools are available for semantic search and unified listing. Explicit synchronization is performed on-demand through the `SynchronizeGatewayTargets` API, allowing discovery of the MCP tool catalog when MCP servers independently modify their capabilities.
+Synchronization is a critical mechanism for maintaining accurate capability catalogs when integrating MCP servers. Implicit synchronization occurs automatically during target creation and updates, where Gateway immediately discovers and indexes tools, prompts, and resources from the MCP server to ensure capabilities are available for semantic search and unified listing. Explicit synchronization is performed on-demand through the `SynchronizeGatewayTargets` API, allowing discovery of the MCP capability catalog when MCP servers independently modify their capabilities.
@@ -42 +51 @@ Synchronization is a critical mechanism for maintaining accurate tool catalogs w
-Use this API whenever your MCP server’s tools change - whether adding new tools, modifying existing tool schemas, or removing deprecated tools. Since Gateway pre-computes vector embeddings for semantic search and maintains normalized tool catalogs, synchronization ensures users can discover and invoke the latest available tools across all target types.
+Whenever an MCP server target has its Listing Mode set to DEFAULT, use the `SynchronizeGatewayTargets` API after tools, prompts, or resources are added, removed, or modified. Since Gateway pre-computes vector embeddings for semantic search and maintains normalized capability catalogs, synchronization is necessary to ensure your users can discover and invoke the latest available tools, prompts, and resources.
@@ -46 +55 @@ Use this API whenever your MCP server’s tools change - whether adding new tool
-Make a PUT request to /gateways/ { gatewayIdentifier}/synchronize with the target ID in the request body. The API returns a 202 response immediately and processes synchronization asynchronously. Monitor the target status through GetGatewayTarget to track synchronization progress, as the operation can take several minutes for large tool sets.
+Make a PUT request to /gateways/ { gatewayIdentifier}/synchronize with the target ID in the request body. The API returns a 202 response immediately and processes synchronization asynchronously. Monitor the target status through GetGatewayTarget to track synchronization progress, as the operation can take several minutes for large capability sets.
@@ -69 +78 @@ The following must be configured.
-  1. The MCP server must have tool capabilities.
+  1. The MCP server must have tool capabilities. Prompts and resources capabilities are optional and are synced automatically when the server advertises them.
@@ -75,2 +83,0 @@ The following must be configured.
-  4. JSON Schema reference keywords such as `$ref` , `$defs` , `$anchor` , `$dynamicRef` , and `$dynamicAnchor` are not supported in the tool definitions returned by the MCP server’s `tools/list` response. If your MCP server returns tool schemas containing these keywords, the target creation or synchronization will fail. Ensure your MCP server returns fully resolved, self-contained JSON schemas without reference keywords.
-