> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# McpProtocolConfiguration

MCP (Model Context Protocol) configuration implementation.

Extends: McpProtocolConfiguration
Implements: IGatewayProtocolConfig

- Source: [`lib/gateway/protocol.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/gateway/protocol.ts#L122)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const mcpProtocolConfiguration = new bedrock_agentcore_alpha.McpProtocolConfiguration(/* all optional props */ {
  instructions: 'instructions',
  searchType: bedrock_agentcore_alpha.McpGatewaySearchType.SEMANTIC,
  supportedVersions: [bedrock_agentcore_alpha.MCPProtocolVersion.MCP_2025_06_18],
});
```

## Initializer

```ts
new McpProtocolConfiguration(props?: McpConfiguration)
```

## Properties

- `instructions`: string — Instructions for using the MCP gateway.

- `protocolType`: string — The protocol type.

- `searchType`: string — The search type for the MCP gateway.

- `supportedVersions`: [MCPProtocolVersion](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.MCPProtocolVersion.html)[] — The supported MCP protocol versions.
