Skip to main content
MCP server CX Codex

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

AWS Terraform is an MCP server for Claude Code that provides AWS Infrastructure as Code patterns, applies Terraform best practices, and checks security compliance with Checkov.

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

Open on GitHub

What AWS Terraform does

The server comes from the awslabs/mcp repository to help coding assistants build AWS infrastructure with Terraform. It supplies cloud architecture patterns, enforces Infrastructure as Code conventions, and audits configurations for security compliance using Checkov.

Host tools configure the server locally or remotely via transport mechanisms. The repository supplies setup paths across multiple clients, including .mcp.json for Claude Code, .cursor/mcp.json for Cursor, and cline_mcp_settings.json for Cline.

Running compliance checks requires Checkov in your environment. AWS notes that Agent Toolkit for AWS is the designated successor to these standalone servers, with key capabilities slated to migrate there over time.

What it helps with

  • Structure AWS Terraform modules following established infrastructure patterns
  • Audit Infrastructure as Code configurations against Checkov security rules
  • Connect cloud infrastructure MCP tooling to Claude Code or Cursor

Example prompts for the agent

  • Scan Terraform modules in the infra directory with Checkov and fix policy violations
  • Generate an AWS Terraform template following official infrastructure patterns
  • Review main.tf for AWS security and compliance gaps

How to install AWS Terraform

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 Terraform

How do you configure AWS Terraform in Claude Code?

Add the server entry from the awslabs/mcp repository to your project's .mcp.json configuration file.

What does the AWS Terraform MCP server do?

It delivers AWS infrastructure patterns to your AI assistant, guides Terraform authoring, and enforces security policies via Checkov.

What external dependencies does this server expect?

Security compliance evaluation relies on having Checkov installed in the target environment.

Similar MCP servers

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

From the same set36

The whole set →
AWS CloudTrail AWS CloudTrail lets an agent search CloudTrail events and run SQL against CloudTrail Lake to trace API calls and user activity. CX Codex +1 ★ 9,939repo stars AWS CloudFormation Controls AWS CloudFormation resources through the Cloud Control API directly inside AI assistants. Helpful when building and managing cloud infrastructure. CX Codex +1 ★ 9,939repo stars AWS Cloud Control API AWS Cloud Control API is an MCP server for Claude Code that manages AWS resources through natural-language requests. It is deprecated and no longer maintained; its authors point to AWS IAC MCP Server for future work. CX Codex +1 ★ 9,939repo stars AWS Billing and Cost Management AWS Billing and Cost Management — an MCP server that lets your coding agent read AWS billing data: costs, budgets, anomalies, commitment discounts and invoices. CX Codex +1 ★ 9,939repo stars AWS Pricing The AWS Pricing MCP server pulls current AWS prices, compares regions, and estimates infrastructure costs. Use it when reviewing CDK or Terraform deployments. CX Codex +1 ★ 9,939repo stars Amazon MSK Amazon MSK is a Claude Code MCP server for operations on managed Kafka clusters. It connects agent requests with Amazon MSK tasks. CX Codex +1 ★ 9,939repo stars Amazon Location Service Connects coding assistants to Amazon Location Service for geocoding, place lookups, and route optimization. Useful when an agent needs real geographic coordinates or road routes. CX Codex +1 ★ 9,939repo stars AWS IoT SiteWise Hooks your coding agent up to AWS IoT SiteWise: industrial assets, models, telemetry, gateways and S3 metadata transfers. CX Codex +1 ★ 9,939repo stars

Project sponsors

Companies that keep this analytics open