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?
Allows guarding of Terraform commands (e.g., terraform destroy) by blocking dangerous infrastructure operations until human approval.
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.Last updated4AGPL 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.Last updated777123Apache 2.0Why this server?
Supports Terraform export format for architecture designs, enabling infrastructure-as-code provisioning of generated system architectures.
Why this server?
Generates Terraform infrastructure as code from architecture specifications, with provider-specific modules for AWS, GCP, Azure, and Databricks.
AlicenseAqualityBmaintenanceAI-powered cloud architecture - describe infrastructure in natural language, get Terraform, cost estimates, and compliance reportsLast updated1931MITWhy this server?
Provides Terraform HCL language support through language server integration, enabling code analysis and validation capabilities for Terraform projects.
AlicenseAqualityAmaintenanceMCP server that keeps language server sessions warm and routes multiple languages through one process. Agents get persistent cross-file awareness, speculative execution (simulate edits before writing to disk), and 20 skills that encode correct multi-step operations like safe rename, blast-radius analysis, and end-to-end refactoring. Single Go binary, no runtime dependencies.Last updated5067MITWhy this server?
Facilitates Terraform operations on remote hosts by managing SSH keys, agent, and connectivity diagnostics to ensure secure and reliable access.
AlicenseAqualityAmaintenanceEnables secure remote command execution and file operations over SSH/SFTP with automatic authentication resolution. Features built-in diagnostics that identify connection issues—such as stale host keys, unloaded agents, or permission errors—and provide specific commands to fix them.Last updated211374MITWhy this server?
Enables ingesting Terraform infrastructure-as-code files to add infrastructure context to the knowledge graph.
AlicenseAqualityBmaintenanceCompresses 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.Last updated91MITWhy this server?
Allows searching for Terraform modules in the Terraform Registry, retrieving module information, and checking latest version details.
MITWhy this server?
Provides skills for Infrastructure as Code with Terraform for AWS/GCP/Azure, including modules, remote state, workspaces, and CI/CD integration.
AlicenseAqualityAmaintenanceA self-hostable, open-source, semantically-searchable Agent Skills registry delivered over MCP, with a three-tier progressive disclosure architecture.Last updated744Apache 2.0