Skip to main content
MCP server CX Codex

AWS CDK — Claude Code MCP server: what it does, how to install

An MCP server that puts AWS CDK knowledge in front of your coding agent: infrastructure-as-code patterns and CDK Nag security checks.

Apache-2.0 ★ 9,939 updated 2026-10-23

Open on GitHub

What AWS CDK does

The server covers one subject: AWS CDK. Your agent gets CDK working practices, infrastructure-as-code patterns, and a pass over security rules with CDK Nag. It earns its keep when you edit an existing stack and want the code to stay idiomatic.

Connection is a local MCP server entry in the client config. In Claude that is .mcp.json, in Cursor .cursor/mcp.json, in Windsurf ~/.codeium/windsurf/mcp_config.json, in VS Code .vscode/mcp.json. The awslabs/mcp repository bundles many servers, so you register the one entry you need.

Licence is Apache-2.0. The repository authors describe the Agent Toolkit for AWS as the successor to these servers, with the most useful projects moving there over time. For anything new, start with the toolkit.

What it helps with

  • check a CDK stack against AWS best practices
  • run CDK Nag rules before a deploy
  • choose an infrastructure-as-code pattern for a new service
  • fix a stack without breaking security rules
  • explain how a CDK resource is wired up

Example prompts for the agent

  • Review lib/app-stack.ts against AWS CDK best practices.
  • Pick an infrastructure-as-code pattern for an S3 bucket and a Lambda function, then explain the trade-offs.
  • Check my CDK stack for security compliance before I deploy.

How to install AWS CDK

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about AWS CDK

How do I install AWS CDK in Claude Code?

Add the server to .mcp.json, the MCP config file for Claude. Other clients keep their own files: .cursor/mcp.json for Cursor, .vscode/mcp.json for VS Code, ~/.codeium/windsurf/mcp_config.json for Windsurf.

What does the AWS CDK MCP server do?

It hands the agent AWS CDK practices, infrastructure-as-code patterns, and a security check against CDK Nag rules.

Which MCP clients can use it?

Any MCP client on the list: Claude, Codex, Cursor, GitHub Copilot, Windsurf, Cline, Zed, Gemini CLI. Only the config file path changes.

Similar MCP servers

All MCP servers for Cloud: AWS, Azure, GCP →

From the same set36

The whole set →
AWS Documentation This MCP server lets an agent search, read, and inspect AWS documentation. Use it when AWS service details need to stay close to the coding task. CX Codex +1 ★ 9,939repo stars AWS Diagram AWS Diagram — a server that turns Python code into AWS, sequence, flow, and class diagrams using the diagrams package. Fits when schemas should live in the repo next to the code. CX Codex +1 ★ 9,939repo stars AWS Data Processing AWS Data Processing connects coding assistants to AWS Glue, Amazon EMR, and Amazon Athena to manage data catalogs, coordinate ETL pipelines, and run SQL queries. CX Codex +1 ★ 9,939repo stars AWS Core AWS Core is an entry point to AWS MCP servers for AI coding tools. Use it when an agent needs AWS context or external tools. CX Codex +1 ★ 9,939repo stars AWS Bedrock Data Automation AWS Bedrock Data Automation — an MCP server to inspect documents, images, video recordings, and audio files via Amazon Bedrock. CX Codex +1 ★ 9,939repo stars AWS Bedrock Custom Model Import The AWS Bedrock Custom Model Import MCP server lets an agent create and track Amazon Bedrock model import jobs, inspect imported models, and remove them when needed. CX Codex +1 ★ 9,939repo stars AWS AppSync Lets an AI assistant build AWS AppSync GraphQL APIs: schemas, resolvers, data sources, API keys. CX Codex +1 ★ 9,939repo stars AWS API AWS API connects your assistant to AWS resources via AWS CLI commands. Useful when you need to manage cloud infrastructure from the chat. CX Codex +1 ★ 9,939repo stars

Project sponsors

Companies that keep this analytics open