MCPServerConfigurationProperty Struct
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 | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the MCP server.
enableWebhookUpdatesoptionalboolean | IResolvableenable_webhook_updatesoptionaltyping.Union[bool, IResolvable]enableWebhookUpdatesoptionalBooleanEnableWebhookUpdatesoptionalboolEnableWebhookUpdatesoptionalinterface{} #When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
endpointoptionalstringendpointoptionalstrendpointoptionalStringEndpointoptionalstringEndpointoptional*string #MCP server endpoint URL.
The name of the MCP server.
List of MCP tools that can be used with the association.