# AWS CDK

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

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 9939 repo stars
- Author: awslabs
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/awslabs/mcp/tree/HEAD/src/cdk-mcp-server
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/aws-cdk

## What it 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.

## Requirements
- Needs: Docker
- Works with: AWS

## Install

### Claude Code (native platform)

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

## When to use it
- 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
- 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.

## Similar
- [aws-cdk](https://affpapa.org/en/nevibecode/skills/aws-cdk.md) — skill · 10800 installs
- [aws-cdk-development](https://affpapa.org/en/nevibecode/skills/aws-cdk-development.md) — skill · 1200 installs
- [pulumi-cdk-to-pulumi](https://affpapa.org/en/nevibecode/skills/pulumi-cdk-to-pulumi.md) — skill · 928 installs
- [aws-blocks](https://affpapa.org/en/nevibecode/skills/aws-blocks.md) — skill · 6400 installs
- [aws-development](https://affpapa.org/en/nevibecode/skills/aws-development.md) — skill · 741 installs
- [aws-solution-architect](https://affpapa.org/en/nevibecode/skills/borghei-aws-solution-architect.md) — skill · 150 installs

From the same set: [awslabs/mcp](https://affpapa.org/en/nevibecode/by/awslabs/mcp.md) — 36 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
