Skip to content
v2.274.0

MCPServerDetailsProperty Struct ​

MCP server configuration.

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

declare const exchangeParameters: any;
const mCPServerDetailsProperty: devopsagent.CfnService.MCPServerDetailsProperty = {
  authorizationConfig: {
    apiKey: {
      apiKeyHeader: 'apiKeyHeader',
      apiKeyName: 'apiKeyName',
      apiKeyValue: 'apiKeyValue',
    },
    bearerToken: {
      tokenName: 'tokenName',
      tokenValue: 'tokenValue',

      // the properties below are optional
      authorizationHeader: 'authorizationHeader',
    },
    oAuthClientCredentials: {
      clientId: 'clientId',
      clientSecret: 'clientSecret',
      exchangeUrl: 'exchangeUrl',

      // the properties below are optional
      clientName: 'clientName',
      exchangeParameters: exchangeParameters,
      scopes: ['scopes'],
    },
  },
  endpoint: 'endpoint',
  name: 'name',

  // the properties below are optional
  description: 'description',
};

Properties ​

authorizationConfigIResolvable | CfnService.MCPServerAuthorizationConfigPropertyauthorization_configtyping.Union[IResolvable, MCPServerAuthorizationConfigProperty]authorizationConfigIResolvableAuthorizationConfigIResolvableAuthorizationConfiginterface{}required#
MCP server authorization configuration.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
Optional description for the MCP server.
endpointstringendpointstrendpointStringEndpointstringEndpoint*stringrequired#
MCP server endpoint URL.
namestringnamestrnameStringNamestringName*stringrequired#
MCP server name.