View a markdown version of this page

AWS::BedrockAgentCore::Gateway MCPGatewayConfiguration - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::BedrockAgentCore::Gateway MCPGatewayConfiguration

The configuration for a Model Context Protocol (MCP) gateway. This structure defines how the gateway implements the MCP protocol.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

Properties

DisableMcpListToolsPagination

Specifies whether the gateway disables pagination for the Model Context Protocol (MCP) tools/list operation. When set to true, the gateway returns the complete list of tools in a single response without a pagination cursor. When set to false or omitted, the gateway returns tools in paginated responses. For information about changing this value on an existing gateway, see UpdateGateway.

Required: No

Type: Boolean

Update requires: No interruption

Instructions

The instructions for using the Model Context Protocol gateway. These instructions provide guidance on how to interact with the gateway.

Required: No

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption

SearchType

The search type for the Model Context Protocol gateway. This field specifies how the gateway handles search operations.

Required: No

Type: String

Allowed values: SEMANTIC

Update requires: No interruption

SessionConfiguration

The session configuration for the MCP gateway. This configuration controls session behavior, including session timeout settings.

Required: No

Type: SessionConfiguration

Update requires: No interruption

StreamingConfiguration

The streaming configuration for the MCP gateway. This configuration controls whether response streaming is enabled for the gateway.

Required: No

Type: StreamingConfiguration

Update requires: No interruption

SupportedVersions

The supported versions of the Model Context Protocol. This field specifies which versions of the protocol the gateway can use.

Required: No

Type: Array of String

Update requires: No interruption