Skip to content
v2.275.0

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.

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',
};

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.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string#
The name of the MCP server.
toolsstring[]toolstyping.List[str]toolsList<String>Toolsstring[]Tools*[]*stringrequired#
List of MCP tools that can be used with the association.