# MCPServerConfigurationProperty

Configuration for MCP (Model Context Protocol) server integration.

Defines the server name, endpoint URL, available tools, optional description, and webhook update settings for custom MCP servers.

- Source: Generated at build time
- Type last changed: v2.257.0 · 21 May 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const mCPServerConfigurationProperty: devopsagent.CfnAssociation.MCPServerConfigurationProperty = {
  tools: ['tools'],

  // the properties below are optional
  description: 'description',
  enableWebhookUpdates: false,
  endpoint: 'endpoint',
  name: 'name',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

m_cp_server_configuration_property = devopsagent.CfnAssociation.MCPServerConfigurationProperty(
    tools=["tools"],

    # the properties below are optional
    description="description",
    enable_webhook_updates=False,
    endpoint="endpoint",
    name="name"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;

MCPServerConfigurationProperty mCPServerConfigurationProperty = MCPServerConfigurationProperty.builder()
        .tools(List.of("tools"))

        // the properties below are optional
        .description("description")
        .enableWebhookUpdates(false)
        .endpoint("endpoint")
        .name("name")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;

var mCPServerConfigurationProperty = new MCPServerConfigurationProperty {
    Tools = new [] { "tools" },

    // the properties below are optional
    Description = "description",
    EnableWebhookUpdates = false,
    Endpoint = "endpoint",
    Name = "name"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

mCPServerConfigurationProperty := &MCPServerConfigurationProperty{
	Tools: []*string{
		jsii.String("tools"),
	},

	// the properties below are optional
	Description: jsii.String("description"),
	EnableWebhookUpdates: jsii.Boolean(false),
	Endpoint: jsii.String("endpoint"),
	Name: jsii.String("name"),
}
```

## Properties

- `description`: string — The description of the MCP server.

- `enableWebhookUpdates`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

- `endpoint`: string — MCP server endpoint URL.

- `name`: string — The name of the MCP server.

- `tools`: string[] (required) — List of MCP tools that can be used with the association.
