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
AlicenseAqualityBmaintenanceA 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.7298 npm29Apache 2.0Why this server?
Inspects Terraform configurations and provider lock selections for infrastructure-as-code security risks.
AlicenseAqualityBmaintenanceAutonomous AppSec & DAST code and website security scanner across 12 security domains (260+ controls) with 3-Layer Triage.851Apache 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.24MITWhy this server?
Enables running Terraform commands with injected cloud credentials, enforcing policies and masking secrets.
Why this server?
Security auditor for OIDC cloud-trust misconfiguration in Terraform (also CloudFormation, GCP workload-identity, Azure federated credentials), correlating CI and cloud trust policies to detect broad wildcards or missing subject conditions.
AlicenseAqualityDmaintenanceSecurity auditor for CI ecosystems that detects supply-chain and injection flaws in CI/CD configuration files across seven CI platforms, providing taint analysis, remediation, and compliance scoring.2MITWhy this server?
Allows generating architecture diagrams from Terraform code.
AlicenseAqualityDmaintenanceMCP server for generating and editing architecture diagrams from natural language or code, supporting formats like Terraform, docker-compose, Kubernetes, SQL, Mermaid, and PlantUML.2MITWhy this server?
Scans Terraform configurations for security misconfigurations, explains findings, applies safe fixes, provides hardened templates, and maps results to compliance frameworks.
Why this server?
Runs Terraform plan, policy checks, and cost estimation in a sandboxed workdir, and gates terraform apply behind a signed, single-use approval token.
AlicenseAqualityDmaintenanceEnables AI coding agents to plan, policy-check, and cost-estimate Terraform changes while requiring human approval through Slack or CLI before any terraform apply can execute.97 npmMIT