# McpTargetConfiguration

Abstract base class for MCP target configurations Provides common functionality for all MCP target types.

Implements: [ITargetConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.ITargetConfiguration.html)
Superclass of: [ApiGatewayTargetConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.ApiGatewayTargetConfiguration.html), [LambdaTargetConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.LambdaTargetConfiguration.html), McpServerTargetConfiguration, OpenApiTargetConfiguration, SmithyTargetConfiguration

- Source: [`lib/gateway/targets/target-configuration.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/gateway/targets/target-configuration.ts#L63)

## Initializer

TypeScript:

```ts
new McpTargetConfiguration()
```

Python:

```python
McpTargetConfiguration()
```

Java:

```java
new McpTargetConfiguration()
```

C# / .NET:

```csharp
new McpTargetConfiguration()
```

Golang:

```go
NewMcpTargetConfiguration()
```

## Properties

- `targetType`: [McpTargetType](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.McpTargetType.html) — The target type.

## Methods

- `bind(scope: Construct, gateway: IGateway): TargetConfigurationConfig` — Binds the configuration to a construct scope Sets up permissions and dependencies.
