An AWS CDK MCP server that provides guidance on AWS Cloud Development Kit best practices, infrastructure as code patterns, and security compliance with CDK Nag. It offers tools to validate infrastructure designs, explain CDK Nag rules, analyze suppressions, generate Bedrock Agent schemas, and discover Solutions Constructs patterns. Current version: 1.0.15. Release cadence: active development, minor releases as needed.
pip install awslabs-cdk-mcp-serverVerified import paths — ran on the pinned version, not inferred.
Starts the CDK MCP server. The server listens for MCP requests to validate CDK stacks, explain Nag rules, etc. Requires AWS credentials configured.
Upgrade Python to 3.10+ or use a compatible environment.
Import with underscores: from awslabs_cdk_mcp_server import ...
Use 'require_confirmation' if available in newer versions, or monitor changelog.