Skip to main content
Glama

Terraform MCP Servers

Terraform is an infrastructure as code tool that enables users to safely and predictably create, change, and improve infrastructure.

232 open-source servers · 0 connectors · terraform.io ↗

Connectors

Hosted endpoints you add to Claude, ChatGPT or any other MCP client by URL – nothing to install.

No Terraform connector yet. Self-host one of the servers below, or submit one.

Open-source servers

Code you run yourself, locally or on your own infrastructure.

Built for Terraform (39)

  • Why this server?

    Scans Terraform configurations for security misconfigurations, explains findings, applies safe fixes, provides hardened templates, and maps results to compliance frameworks.

    A
    license
    A
    quality
    C
    maintenance
    Enables local-first scanning of Terraform for security misconfigurations while an AI assistant writes the code, providing fixes and compliance mappings without uploading infrastructure code.
    8
    7
    Apache 2.0
  • Why this server?

    Allows managing Terraform infrastructure, including planning, applying, destroying, inspecting state, detecting drift, importing resources, and more, all through natural language commands.

  • Why this server?

    Generates Terraform configuration (HCL) for Oracle Cloud Infrastructure resources, including whole-compartment modules and dependency graphs with provisioning order.

    A
    license
    A
    quality
    B
    maintenance
    Enables MCP-capable clients to discover live Oracle Cloud Infrastructure resources, map their dependencies, and generate reproducible Terraform configurations, all while enforcing security modes, compartment/region allowlists, and secret redaction.
    8
    76 npm
    1
    MIT
  • Why 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.

  • Why this server?

    Provides tools for interacting with Terraform Cloud API, enabling management and monitoring of workspaces, runs, and their statuses across organizations.

  • Why this server?

    Provides engineering constraints and validation for Terraform infrastructure code, including policies for resource types like AWS S3 buckets.

  • Why this server?

    Generates Terraform configuration from cloud architecture graphs for infrastructure provisioning.

  • Why this server?

    Provides analysis of Terraform infrastructure code to design targeted resilience experiments before problems occur.

  • Why this server?

    Analyzes Terraform projects to identify AWS services and provide pre-deployment cost estimates and insights.

  • Why this server?

    Allows managing Terraform modules and scaffolding Terraform configurations, including searching modules, retrieving module details, listing versions, generating configuration files, and fetching backend S3 settings.

  • Why this server?

    Assesses Terraform plan files with blastcheck, producing an Impact Manifest that summarizes change safety, per-change findings, and preconditions in natural language.

  • Why this server?

    Enables security scanning of Terraform plan JSON, generating per-resource findings with severity, remediation guidance, and citations grounded in CIS AWS Foundations and OWASP Top 10 CI/CD Security Risks.

    A
    license
    A
    quality
    D
    maintenance
    Enables AI coding agents to search a security corpus, scan Terraform plan JSON for cited findings, and list sources via MCP tools grounded in CIS AWS Foundations and OWASP Top 10 CI/CD risks.
    3
    Apache 2.0
  • Why this server?

    Provides a tool to assess Terraform or IaC deployment risk based on changed resource classes and release controls.

    A
    license
    A
    quality
    B
    maintenance
    Enables AI clients to assess infrastructure-as-code deployment risk, generate incident response runbooks, review CI/CD delivery readiness, and calculate SLO error budgets through structured advisory tools. Runs locally over stdio without cloud credentials or external API calls, returning guidance for platform work, pull request review, and production readiness checks.
    12
    119 npm
    MIT
  • Why this server?

    Provides read-only analysis of proposed Terraform infrastructure changes from a Terraform plan JSON file. It identifies resource identities, action/type/mode counts, and coverage warnings through the analyze_terraform_plan tool, without executing Terraform or applying changes.

    A
    license
    A
    quality
    C
    maintenance
    A read-only MCP server that analyzes a supplied Terraform plan JSON file and returns resource identities, action/type/mode counts, and coverage warnings about proposed infrastructure changes. It never executes Terraform, applies changes, or connects to AWS, keeping analysis local and deterministic.
    3
    Apache 2.0
  • Why this server?

    Integrates with Terraform Registry and HCP Terraform/Terraform Enterprise APIs, enabling management of providers, modules, policies, workspaces, variables, tags, and runs.

    A
    license
    Not graded
    quality
    B
    maintenance
    The Terraform MCP Server is a Model Context Protocol (MCP) server that integrates seamlessly with Terraform Registry and HCP Terraform APIs, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
    1,561
    Mozilla Public 2.0
  • Why this server?

    Provides optional Terraform IaC integration for any provider, enabling generation of Terraform HCL configuration for LogicMonitor resources and supporting Terraform plan/apply/generate workflows.

  • Why this server?

    Provides comprehensive tools for managing Terraform Infrastructure as Code operations, including initialization, planning, applying changes, state management, workspace management, provider operations, and configuration file editing.

  • Why this server?

    Provides tools for managing Terraform templates (tasks) and deployments, including provisioning, updating, and tearing down infrastructure.

  • Why this server?

    Visualizes Terraform plan changes as cloud architecture diagrams with official provider icons, showing hierarchical architecture views with dependency connections and color-coded changes.

  • Why this server?

    Enforces organization-specific Terraform style guides and conventions, providing tools to validate Infrastructure as Code snippets, generate compliant resources with security defaults, and access code examples that follow custom naming, tagging, and module patterns.

    A
    license
    Not graded
    quality
    D
    maintenance
    Exposes your organization's Terraform style guide to AI coding agents, enabling them to generate, validate, and ensure Infrastructure as Code follows your specific conventions, naming standards, security defaults, and best practices.
    1
    MIT
  • Why this server?

    Provides tools for managing Terraform configurations, including executing Terraform commands (init, plan, apply, destroy, validate, fmt), state management, documentation retrieval for AzureRM, AzAPI, and Azure Verified Modules, security scanning with TFLint and Conftest, and static analysis.

  • Why this server?

    Provides tools for managing Terraform infrastructure as code, including initializing directories, planning, applying, destroying, validating configurations, and managing workspaces.

  • Why this server?

    Provides tools for parsing Terraform state files and auditing infrastructure security.

    A
    license
    Not graded
    quality
    C
    maintenance
    A local MCP server that parses Terraform .tfstate files and lets AI agents audit enterprise infrastructure for security misconfigurations without requiring direct cloud credentials.
    MIT
  • Why this server?

    Provides tools for Terraform operations including init, plan, apply, validate, state list, and output, enabling AI-driven infrastructure-as-code workflows.

    A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that exposes Terraform CLI operations as tools for Claude and other MCP-compatible AI assistants, enabling AI-driven infrastructure-as-code workflows including planning, applying, and validating Terraform configurations.
    MIT
  • Why this server?

    Provides tools for generating, validating, planning, and applying Terraform configurations to manage cloud infrastructure.

  • Why this server?

    Integrates with Terraform language intelligence, enabling AI assistants to navigate, understand, and manipulate Terraform codebases through tools like hover, definition, references, completion, diagnostics, document symbols, and formatting.

    A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that wraps terraform-ls to provide Terraform language intelligence as MCP tools, enabling AI assistants to understand and navigate Terraform codebases.
    MIT
  • Why this server?

    Provides read-only tools to inspect and diagnose HCP Terraform workspaces, runs, and plan summaries, including listing workspaces, getting workspace details, listing runs, inspecting runs, retrieving plan summaries, and getting workspace operational overviews.

    A
    license
    Not graded
    quality
    D
    maintenance
    A read-only MCP server for inspecting and diagnosing HCP Terraform workspaces, runs, and plan summaries from ChatGPT and other MCP clients. It provides tools to list workspaces, inspect runs, and summarize plans without exposing sensitive data.
    MIT
  • Why this server?

    Provides hybrid search over Terraform AWS and Google provider documentation, enabling semantic and exact-identifier retrieval of resources, data sources, guides, and other documentation with snippets and full documents.

  • Why this server?

    Reviews Terraform configurations for Azure security misconfigurations such as open network security groups and public blobs, returning structured findings.

    A
    license
    Not graded
    quality
    C
    maintenance
    Enables agents to review Terraform/Bicep infrastructure diffs against Checkov or builtin regex policies, returning structured findings for Azure security issues.
    Apache 2.0
  • Why this server?

    Provides tools for reading Terraform Registry modules, providers, and policy sets—including latest versions—and for listing and reading HCP Terraform workspaces.

    A
    license
    Not graded
    quality
    B
    maintenance
    Enables searching the Terraform Registry for modules, providers, and Sentinel policy sets and reading their records and latest versions, plus listing and reading HCP Terraform workspaces with an API token. Registry tools work without credentials, while workspace tools require TFE_TOKEN.
    54 npm
    MIT