Best Terraform MCP Servers
Terraform is an infrastructure as code tool that enables users to safely and predictably create, change, and improve infrastructure.
Why this server?
Deploys and manages Terraform infrastructure projects to LocalStack environments with automatic configuration detection and parameterized deployments
AlicenseAqualityCmaintenanceA Model Context Protocol (MCP) server for LocalStack that enables management of local AWS development environments, including container lifecycle operations, infrastructure deployments, log analysis with IAM policy generation, chaos injection, and Cloud Pods state management.7216 npm27Apache 2.0Why this server?
Allows guarding of Terraform commands (e.g., terraform destroy) by blocking dangerous infrastructure operations until human approval.

infraveil-guardofficial
AlicenseAqualityCmaintenanceA cooperative guardrail for AI agents that blocks destructive shell commands, SQL statements, or cloud operations until a human approves them out-of-band, with a tamper-evident local ledger.4AGPL 3.0Why this server?
Routes requests to the Terraform MCP server's tools for infrastructure-as-code providers, modules, and registry lookups when IaC assistance is needed.

jev-routerofficial
AlicenseAqualityCmaintenanceEnables agents to connect through a single gateway that has a decision model pick which MCP tools and playbooks are relevant to each request, so the LLM only sees the few schemas it needs, and to then invoke those tools on the underlying servers. This cuts tool-selection cost and prompt size dramatically when many MCP servers are connected.2MITWhy this server?
Includes a Terraform module for provisioning an S3 bucket and a least-privilege IAM user for the notebook.
AlicenseAqualityAmaintenanceA distributed durable notebook MCP server for high-scale agents, providing git-like pull and commit tools with automatic conflict resolution.426MITWhy this server?
Provides comprehensive documentation, configuration generation, error diagnosis, and guidance for Terraform and Terragrunt, enabling AI assistants to manage Terraform configurations and workflows.
AlicenseBqualityAmaintenanceProvides comprehensive Terragrunt documentation, configuration generation, and tooling integration for AI assistants, enabling intelligent assistance with Terragrunt configurations, CLI commands, and HCL syntax.87MITWhy this server?
Queries the Terraform Registry for the latest version of Terraform providers.
AlicenseAqualityCmaintenanceAn MCP server that queries 19 package registries (npm, PyPI, crates.io, etc.) to retrieve the latest version of packages and their metadata.211MITWhy this server?
Analyzes Terraform projects to identify AWS services and provide pre-deployment cost estimates and insights.
AlicenseAqualityDmaintenanceMCP server for generating upfront AWS service cost estimates and providing cost insights.5Apache 2.0Why this server?
Structural definition extraction for Terraform files through the defs profile, exposing declared resources and blocks by name.
AlicenseAqualityAmaintenanceEnables structural code retrieval over MCP by parsing source with tree-sitter and serving symbols, outlines, schemas, docstrings, imports, and AST queries instead of entire files.6148 PyPIMITWhy this server?
Generates Terraform configuration from cloud architecture graphs for infrastructure provisioning.
AlicenseAqualityDmaintenanceEnables AI agents to design cloud architectures, run cost/performance simulations, and draw them on a Pinpole canvas directly from Claude Code, Cursor, and OpenAI Codex.915 npmMIT