> **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.
# McpConfiguration

MCP protocol configuration The configuration for the Model Context Protocol (MCP).

This protocol enables communication between Amazon Bedrock Agent and external tools.

Extends: McpConfiguration
Used as props by: McpProtocolConfiguration

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

## 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 mcpConfiguration: bedrock_agentcore_alpha.McpConfiguration = {
  instructions: 'instructions',
  searchType: bedrock_agentcore_alpha.McpGatewaySearchType.SEMANTIC,
  supportedVersions: [bedrock_agentcore_alpha.MCPProtocolVersion.MCP_2025_06_18],
};
```

## Properties

- `instructions`: string — The instructions for using the Model Context Protocol gateway.

  **Default:** No instructions provided

  These instructions provide guidance on how to interact with the gateway.

- `searchType`: [McpGatewaySearchType](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.McpGatewaySearchType.html) — The search type for the Model Context Protocol gateway.

  **Default:** No search type specified

  This field specifies how the gateway handles search operations.

- `supportedVersions`: [MCPProtocolVersion](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.MCPProtocolVersion.html)[] — The supported versions of the Model Context Protocol.

  **Default:** No specific versions specified

  This field specifies which versions of the protocol the gateway can use.
