View a markdown version of this page

MCPGatewayConfiguration - Amazon Bedrock AgentCore Control Plane

MCPGatewayConfiguration

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

Contents

disableMcpListToolsPagination

Specifies whether pagination is disabled 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.

Type: Boolean

Required: No

instructions

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: No

searchType

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

Type: String

Valid Values: SEMANTIC

Required: No

sessionConfiguration

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

Type: SessionConfiguration object

Required: No

streamingConfiguration

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

Type: StreamingConfiguration object

Required: No

supportedVersions

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

Type: Array of strings

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: