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.750125Apache 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?
Provides tools for managing Terraform providers and resources, including retrieving provider information, listing resources, checking version compatibility, and adding or updating provider and resource definitions with schema validation.
AlicenseBqualityFmaintenanceEnhances Claude AI with persistent memory storage for Infrastructure-as-Code components, supporting version tracking and relationship mapping for Terraform and Ansible resources.235MITWhy this server?
Allows searching for Terraform modules in the Terraform Registry, retrieving module information, and checking latest version details.
MITWhy this server?
Optimizes Terraform and HCL configurations by stripping noise while keeping infrastructure logic visible.
AlicenseAqualityDmaintenanceProvides code-aware context compression by stripping comments, docstrings, and whitespace while maintaining full logic fidelity for AI agents. It features tools for architectural mapping, symbol searching, and token-budgeted multi-file reading.9104MITWhy 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.231MITWhy this server?
Offers Terraform naming conventions and best practices for infrastructure as code development
AlicenseAqualityBmaintenanceProvides persistent tool context that survives across Claude Desktop chat sessions, automatically injecting tool-specific rules, syntax preferences, and best practices. Eliminates the need to re-establish context in each new conversation.1031Apache 2.0Why this server?
Provides cost analysis capabilities for Terraform configurations, including breakdown generation, configuration comparison, and cost estimation for infrastructure as code.
AlicenseAqualityDmaintenanceEnables Claude to interact with Infracost for Terraform cost estimation and cloud governance. Supports generating cost breakdowns, comparing configurations, creating tagging policies, setting up cost guardrails, and posting cost comments to PRs.162MITWhy this server?
Provides comprehensive access to the Terraform public registry, enabling search and retrieval of information about Terraform providers, modules, versions, and documentation including resource specifications, data sources, and troubleshooting guides.
AlicenseAqualityCmaintenanceEnables AI assistants to search and retrieve information about Terraform providers and modules from the public Terraform registry, including detailed documentation, version information, and resource specifications.12MIT