Skip to main content
Watch: Grok Bot Built My AI Video Arena While I Tested 8 Models

Cloud and hosting - official AWS server

AWS Infrastructure as Code MCP server

Open source local MCP server from AWS Labs for CloudFormation template validation and compliance checks, deployment troubleshooting, and CDK and CloudFormation documentation, samples and best practices. It runs locally from awslabs.aws-iac-mcp-server (pypi); the notes below cover how it authenticates.

Last verified 9 tools4 sources

Install

Terminal
claude mcp add aws-iac uvx awslabs.aws-iac-mcp-server@latest

Generic

JSON
{
  "mcpServers": {
    "awslabs.aws-iac-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.aws-iac-mcp-server@latest"],
      "env": {
        "AWS_PROFILE": "your-named-profile",
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Tools

read_iac_documentation_page
Fetches and converts any Infrastructure as Code (CDK or CloudFormation) documentation page to markdown format.
validate_cloudformation_template
Validates CloudFormation template syntax, schema, and resource properties using cfn-lint.
check_cloudformation_template_compliance
Validates CloudFormation templates against security and compliance rules using cfn-guard.
troubleshoot_cloudformation_deployment
Analyzes failed CloudFormation stacks and provides resolution guidance.
search_cloudformation_documentation
Searches AWS CloudFormation documentation knowledge bases and returns relevant best practices.
get_cloudformation_pre_deploy_validation_instructions
Returns instructions for CloudFormation's pre-deployment validation feature that validates templates during change set creation.
search_cdk_documentation
Searches AWS CDK documentation knowledge bases and returns relevant excerpts.
search_cdk_samples_and_constructs
Searches CDK code samples, examples, constructs, and patterns documentation.
cdk_best_practices
Provides CDK best practices for application configuration, coding, constructs, security, and testing.

As documented on November 1, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • Part of the awslabs/mcp monorepo, whose README links 57 servers.
  • AWS says the Agent Toolkit for AWS is the successor to the AWS Labs MCP servers; the repo keeps working and useful projects will move into the toolkit over time.
  • Replaces the deprecated Cloud Control API MCP Server.
  • Uses local AWS credentials (AWS_PROFILE).

FAQ

What does the AWS Infrastructure as Code MCP server do?

Open source local MCP server from AWS Labs for CloudFormation template validation and compliance checks, deployment troubleshooting, and CDK and CloudFormation documentation, samples and best practices. The vendor documents 9 tools, including read_iac_documentation_page, validate_cloudformation_template, check_cloudformation_template_compliance and troubleshoot_cloudformation_deployment.

How do I add the AWS Infrastructure as Code MCP server to Claude Code?

Run claude mcp add aws-iac uvx awslabs.aws-iac-mcp-server@latest, copied from AWS's docs. This page also has snippets for Generic.

Does the AWS Infrastructure as Code MCP server need authentication?

It uses a scheme other than OAuth or an API key, such as the session of the app or instance it runs in; the notes on this page describe it. Transport: stdio. Status: Unlabelled, last checked November 1, 2026.

Sources

Last verified against 4 AWS pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.