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?
Provides AST-aware code intelligence for Terraform configurations, enabling structural search, dependency graphs, and refactoring analysis.
AlicenseAqualityBmaintenanceStandard coding agents waste 70% of context tokens re-reading raw files with shell grep. Synapse-MCP indexes your codebase into a sub-millisecond local AST graph—giving Claude Code, Cursor, and Windsurf exact caller trees, 60% lower token spend, and zero-hallucination refactoring.2141MITWhy 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?
Deploys and manages Terraform infrastructure projects to LocalStack environments with automatic configuration detection and parameterized deployments

LocalStack MCP Serverofficial
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.735225Apache 2.0Why this server?
Analyzes Terraform infrastructure definitions for Symfony projects.
AlicenseAqualityAmaintenanceEnables AI assistants to perform read-only introspection of Symfony applications, exposing routes, controllers, services, entities, database schema, migrations, logs, and more via MCP tools.105599MITWhy this server?
Enables running Terraform commands with injected cloud credentials, enforcing policies and masking secrets.
Why this server?
Analyzes Terraform configuration files for infrastructure and security issues within the codebase analysis.
AlicenseAqualityAmaintenanceVerum's MCP server turns any codebase into a deterministic, queryable fact layer — an agent can ask who calls a function, what a change impacts, where the dead code and duplicates are, which client calls hit which routes, and run a full security/quality audit. It returns byte-identical answers in a few hundred tokens instead of grepping and reading whole files.413MITWhy this server?
Enables ingesting Terraform infrastructure-as-code files to add infrastructure context to the knowledge graph.
AlicenseAqualityDmaintenanceCompresses AI chat sessions into a typed knowledge graph (~300–800 tokens). Works file-based in Copilot, Claude Code, Cursor, and Gemini CLI without MCP server mode. Supports local/offline extraction via Ollama — no API key required.92MITWhy 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.
AlicenseAqualityCmaintenanceSecurity 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?
Provides persistent memory storage for Terraform providers and resources, with version tracking and relationship mapping capabilities.
AlicenseAqualityFmaintenanceA custom Memory MCP Server that acts as a cache for Infrastructure-as-Code information, allowing users to store, summarize, and manage notes with a custom URI scheme and simple resource handling.231MIT