Skip to main content

MCP server for generating, validating, and deploying AWS CDK — delegates to AWS MCP servers

Project description

cdk-agent-mcp-server

MCP server that generates, validates, and deploys AWS CDK infrastructure from natural language.

Delegates to AWS MCP servers for validation, documentation, and pricing — no duplicate tooling.

Architecture

cdk-agent-mcp-server (stdio)
  ├── clarify_requirements    → Bedrock (requirements gathering before design)
  ├── design_architecture     → AWS IaC MCP (search_cdk_documentation)
  ├── confirm_plan            → Bedrock (human/agent approval gate)
  ├── generate_cdk_stack      → AWS IaC MCP (search_cdk_documentation + search_cdk_samples_and_constructs)
  ├── validate_and_repair     → real cdk synth + AWS IaC MCP (validate_cloudformation_template + check_cloudformation_template_compliance)
  ├── estimate_cost           → AWS Pricing MCP (get_pricing + generate_cost_report)
  ├── lookup_cdk_construct    → AWS IaC MCP (search_cdk_documentation + search_cdk_samples_and_constructs + cdk_best_practices)
  ├── troubleshoot_deployment → AWS IaC MCP (troubleshoot_cloudformation_deployment)
  ├── deploy_stack            → real cdk deploy (requires approved=true)
  ├── destroy_stack           → CloudFormation DeleteStack (requires approved=true)
  ├── generate_diagram        → local Mermaid generation
  └── full_pipeline           → orchestrates all of the above

HITL (Human-in-the-Loop) Flow

User/Agent describes intent
       │
       ▼
clarify_requirements  →  returns structured questions + defaults
       │
       ▼
User/Agent answers (or accepts defaults)
       │
       ▼
design_architecture   →  generates plan using enriched context
       │
       ▼
confirm_plan          →  summarizes plan for approval (services, cost tier, security)
       │
       ▼
User/Agent approves (or modifies)
       │
       ▼
generate_cdk_stack → validate_and_repair → estimate_cost → deploy_stack

Prerequisites

  • Python 3.10+, Node.js 18+ (for cdk synth/deploy), uv installed
  • AWS CLI configured, Bedrock Claude Sonnet 4 enabled

Install

{
  "mcpServers": {
    "ict-mcp-server": {
      "command": "uvx",
      "args": ["ict-mcp-server"],
      "env": { "AWS_REGION": "us-east-1" }
    }
  }
}

Works with Kiro (~/.kiro/settings/mcp.json), Cursor (.cursor/mcp.json), Claude Code (claude mcp add), Amazon Quick Desktop (Settings → Capabilities → MCP).

Agent

Task Delegates To What It Does
clarify_requirements Bedrock + Knowledge MCP NL → structured clarifying questions with defaults
full_pipeline All below End-to-end: describe → clarify → plan → confirm → diagram → CDK → validate → costs
design_architecture IaC MCP search_cdk_documentation NL + requirements → architecture plan JSON
confirm_plan Bedrock Plan → human-readable summary for approval
generate_cdk_stack IaC MCP search_cdk_documentation + search_cdk_samples_and_constructs Plan → CDK TypeScript
validate_and_repair cdk synth + IaC MCP validate_cloudformation_template + check_cloudformation_template_compliance Validate + auto-repair loop
estimate_cost Pricing MCP get_pricing + generate_cost_report Real AWS pricing data
lookup_cdk_construct IaC MCP search_cdk_documentation + search_cdk_samples_and_constructs + cdk_best_practices CDK docs + samples + best practices
deploy_stack cdk deploy Real deployment (requires approved=true)
destroy_stack CloudFormation DeleteStack Delete stack (requires approved=true)
troubleshoot_deployment IaC MCP troubleshoot_cloudformation_deployment Root cause analysis for failed deploys
generate_diagram Local Architecture plan → Mermaid diagram

What We Don't Reimplement

Capability Provided By
cfn-lint (template validation) AWS IaC MCP Server
cfn-guard (compliance checking) AWS IaC MCP Server
CDK documentation search AWS IaC MCP Server
CDK code samples AWS IaC MCP Server
CDK best practices AWS IaC MCP Server
Deployment troubleshooting AWS IaC MCP Server
AWS service pricing AWS Pricing MCP Server
Cost report generation AWS Pricing MCP Server

Our server only implements: architecture planning (Bedrock), CDK code generation (Bedrock), Mermaid diagrams (local), cdk synth/deploy (subprocess), and the orchestration glue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ict_mcp_server-0.4.2.tar.gz (61.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ict_mcp_server-0.4.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file ict_mcp_server-0.4.2.tar.gz.

File metadata

  • Download URL: ict_mcp_server-0.4.2.tar.gz
  • Upload date:
  • Size: 61.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for ict_mcp_server-0.4.2.tar.gz
Algorithm Hash digest
SHA256 9011a30013dc139f8378b9850e80b0f8d4e0b9ce962dc6a2682faf6eafbe6235
MD5 d332b73dacfc14d0a76127b7295dfb8d
BLAKE2b-256 ddc9aeb0c079b2ae1e73e3ec0a063935ac4f2d3e28ffcd0487ee4d9ed92bced3

See more details on using hashes here.

File details

Details for the file ict_mcp_server-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: ict_mcp_server-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for ict_mcp_server-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37ea95a6c5c4bcf08b245f76aa8fa0d1f994ed5048685199caeeab0bfd9c7954
MD5 af2694805f2ae4543defd6eb6e66440d
BLAKE2b-256 16b3c20f3c2a75427816a16710eb1718c2db753c6af948e2e78b68893c62ebd8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page