Tmp Cdk MCP Server

MCP server for AWS Cloud Development Kit (CDK) best practices, infrastructure as code patterns, and security compliance with CDK Nag.

Local serverstdioPython

What is the Tmp Cdk MCP server?

Connect Tmp Cdk to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for AWS Cloud Development Kit (CDK) best practices, infrastructure as code patterns, and security compliance with CDK Nag. The tmp cdk mcp server is what makes that connection.

Installation

aws-cdk on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • CDKGeneralGuidance — Get prescriptive advice for building AWS applications with CDK
  • GetAwsSolutionsConstructPattern — Find vetted architecture patterns combining AWS services
  • SearchGenAICDKConstructs — Discover GenAI CDK constructs by name or features
  • GenerateBedrockAgentSchema — Create OpenAPI schemas for Bedrock Agent action groups
  • LambdaLayerDocumentationProvider — Access documentation for Lambda layers implementation
  • ExplainCDKNagRule — Get detailed guidance on CDK Nag security rules
  • CheckCDKNagSuppressions — Validate CDK Nag suppressions in your code

Credentials and setup notes

Configuration is passed through the environment: FASTMCP_LOG_LEVEL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  1. Install uv from Astral or the GitHub README 2. Install Python using uv python install 3.10 3. Install AWS CDK CLI using npm install -g aws-cdk (Note: The MCP server itself doesn't use the CDK CLI directly, but it guides users through CDK application development that requires the CLI)

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Tmp Cdk's toolset — CDKGeneralGuidance, GetAwsSolutionsConstructPattern, SearchGenAICDKConstructs and 4 more — is a fair guide to whether it matches your workflow. It is maintained by AkM-2018; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
CDKGeneralGuidanceGet prescriptive advice for building AWS applications with CDK
GetAwsSolutionsConstructPatternFind vetted architecture patterns combining AWS services
SearchGenAICDKConstructsDiscover GenAI CDK constructs by name or features
GenerateBedrockAgentSchemaCreate OpenAPI schemas for Bedrock Agent action groups
LambdaLayerDocumentationProviderAccess documentation for Lambda layers implementation
ExplainCDKNagRuleGet detailed guidance on CDK Nag security rules
CheckCDKNagSuppressionsValidate CDK Nag suppressions in your code

How to install the Tmp Cdk MCP server

{
  "mcpServers": {
    "awslabs.cdk-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.cdk-mcp-server@latest"],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  1. Install uv from Astral or the GitHub README 2. Install Python using uv python install 3.10 3. Install AWS CDK CLI using npm install -g aws-cdk (Note: The MCP server itself doesn't use the CDK CLI directly, but it guides users through CDK application development that requires the CLI)
VariableDescriptionRequired
FASTMCP_LOG_LEVELConfiguration value read at startup.Optional

Example prompts to try

  • Use Tmp Cdk to CDKGeneralGuidance.
  • Use Tmp Cdk to GetAwsSolutionsConstructPattern.
  • Use Tmp Cdk to SearchGenAICDKConstructs.

Frequently asked questions

It connects Tmp Cdk to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (CDKGeneralGuidance, GetAwsSolutionsConstructPattern, SearchGenAICDKConstructs, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Tmp Cdk directly.