Enterprise DNAEnterprise DNA

MCP Servers

hashicorp/terraform-mcp-server

The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) developm

Our verdict

Not reviewed yet

We have not reviewed hashicorp/terraform-mcp-server yet

No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.

How we review records

From the listing

About hashicorp/terraform-mcp-server

A Go-based server that exposes the Terraform ecosystem through the Model Context Protocol. It allows MCP clients to execute Terraform operations, manage infrastructure as code, and automate workflows. This enables integration with tools that support the MCP standard.

Best for

Developers building AI-driven infrastructure management into Terraform-based workflows

Use cases

  • Automate Terraform plan and apply cycles from MCP-compatible environments
  • Manage Terraform state and associate context for infrastructure operations
  • Enable programmatic control of Terraform workflows via an MCP interface

Notes

1,388 stars on GitHub. Last updated 2026-05-28. Licensed MPL-2.0.

Pros

  • Leverages the mature Terraform ecosystem for infrastructure as code
  • Written in Go for performance and easy deployment
  • Active project with 1,388 stars indicating community interest

Cons

  • Requires MCP-compatible clients, limiting direct CLI or GUI usage
  • Depends on a local Terraform installation and configuration
  • Relatively new project with potentially evolving APIs

Key facts

What we have checked

Days since the last commit
0
Checked GitHub
GitHub forks
201
Checked GitHub
GitHub stars
1,562
Checked GitHub
Days to a first reply on issues
4.4
Checked GitHub
Open issues
9
Checked GitHub
Releases in the last 90 days
3
Checked GitHub

Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.

How to use

How to set it up

As the listing publishes it. We have not run this install.

Tools exposed

  • TFE_ADDRESS
  • TFE_TOKEN
  • TF_MCP_SHARED_SECRET
  • TFE_SKIP_TLS_VERIFY
  • LOG_LEVEL
  • LOG_FORMAT
  • TRANSPORT_MODE
  • TRANSPORT_HOST
  • TRANSPORT_PORT
  • MCP_ENDPOINT
  • MCP_REDIRECT_ROOT_URL
  • MCP_KEEP_ALIVE
  • MCP_SESSION_MODE
  • MCP_ALLOWED_ORIGINS
  • MCP_CORS_MODE
  • MCP_TLS_CERT_FILE
  • MCP_TLS_KEY_FILE
  • MCP_RATE_LIMIT_GLOBAL
  • MCP_RATE_LIMIT_SESSION
  • MCP_ORGANIZATION_ALLOWLIST

Clients the listing names (not checked here)

Claude Desktop, Claude Code, Cursor, VS Code, ChatGPT

Install

Add hashicorp/terraform-mcp-server to your client

Server verified

Checked : our lab installed version 1.4.1, started it and listed its 9 tools. How the lab checks

Maker? Show the badge on your own README or site

Our lab passed this server, so it can carry "Server verified on Enterprise DNA". The badge is a live link: it disappears if a later check fails, and it is never for sale.

HTML

<a href="https://enterprisedna.co/directories/mcp/hashicorp-terraform-mcp-server"><img src="https://enterprisedna.co/directories/badge/mcp-servers/hashicorp-terraform-mcp-server.svg" alt="Server verified on Enterprise DNA, checked 8 Nov 2026" width="300" height="44"></a>

Markdown

[![Server verified on Enterprise DNA, checked 8 Nov 2026](https://enterprisedna.co/directories/badge/mcp-servers/hashicorp-terraform-mcp-server.svg)](https://enterprisedna.co/directories/mcp/hashicorp-terraform-mcp-server)

Claude Code

Config checked

Run in your terminal (runs on your computer)

claude mcp add --transport stdio hashicorp-terraform-mcp-server -- docker run -i --rm -e TFE_ADDRESS=https://app.terraform.io -e TFE_TOKEN=YOUR_TOKEN -e ENABLE_TF_OPERATIONS=false docker.io/hashicorp/terraform-mcp-server:1.4.1

Version 1.4.1 · From the Official MCP registry, read · Format checked against Claude Code's config docs

Claude Desktop

Config checked

Add to claude_desktop_config.json (runs on your computer)

{
  "mcpServers": {
    "hashicorp-terraform-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TFE_ADDRESS=https://app.terraform.io",
        "-e",
        "TFE_TOKEN=YOUR_TOKEN",
        "-e",
        "ENABLE_TF_OPERATIONS=false",
        "docker.io/hashicorp/terraform-mcp-server:1.4.1"
      ]
    }
  }
}

Version 1.4.1 · From the Official MCP registry, read · Format checked against Claude Desktop's config docs

Cursor

Config checked

Add to .cursor/mcp.json (runs on your computer)

{
  "mcpServers": {
    "hashicorp-terraform-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TFE_ADDRESS=https://app.terraform.io",
        "-e",
        "TFE_TOKEN=YOUR_TOKEN",
        "-e",
        "ENABLE_TF_OPERATIONS=false",
        "docker.io/hashicorp/terraform-mcp-server:1.4.1"
      ]
    }
  }
}

Version 1.4.1 · From the Official MCP registry, read · Format checked against Cursor's config docs

VS Code

Config checked

Add to .vscode/mcp.json (runs on your computer)

{
  "servers": {
    "hashicorp-terraform-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TFE_ADDRESS=https://app.terraform.io",
        "-e",
        "TFE_TOKEN=YOUR_TOKEN",
        "-e",
        "ENABLE_TF_OPERATIONS=false",
        "docker.io/hashicorp/terraform-mcp-server:1.4.1"
      ]
    }
  }
}

Version 1.4.1 · From the Official MCP registry, read · Format checked against VS Code's config docs

Codex

Config checked

Add to ~/.codex/config.toml (runs on your computer)

[mcp_servers.hashicorp-terraform-mcp-server]
command = "docker"
args = ["run", "-i", "--rm", "-e", "TFE_ADDRESS=https://app.terraform.io", "-e", "TFE_TOKEN=YOUR_TOKEN", "-e", "ENABLE_TF_OPERATIONS=false", "docker.io/hashicorp/terraform-mcp-server:1.4.1"]

Version 1.4.1 · From the Official MCP registry, read · Format checked against Codex's config docs

  • ChatGPT: ChatGPT connects only to remote servers that need no API key.

Recipes come from the server's entry in the official MCP registry. Check the package name before you run it, and keep keys out of shared files.

Works with

What hashicorp/terraform-mcp-server connects to

5 clients, each with how we know and when we checked.

Works withTypeHow we knowChecked
Claude CodeClientInstall recipe matches the client's documented formatRuns locally, version 1.4.1Config checkedClaude Code docs
Claude DesktopClientInstall recipe matches the client's documented formatRuns locally, version 1.4.1Config checkedClaude Desktop docs
CursorClientInstall recipe matches the client's documented formatRuns locally, version 1.4.1Config checkedCursor docs
VS CodeClientInstall recipe matches the client's documented formatRuns locally, version 1.4.1Config checkedVS Code docs
CodexClientInstall recipe matches the client's documented formatRuns locally, version 1.4.1Config checkedCodex docs

Stars and usage

How hashicorp/terraform-mcp-server is growing

GitHub stars

1,554 to 1,562

stars. 29 Oct 2026 to 17 Nov 2026, 4 readings.

Source: GitHub. Checked .

Health and security

Is hashicorp/terraform-mcp-server looked after, and what do its setup files show

Health score

79 out of 100

Does someone look after this repository? It does not say the code is good or safe. Worked out from GitHub signals checked . How it is worked out

PartPointsWhat we saw
Recent activity30 of 30Last push 0 days ago
Releases15 of 153 releases in 90 days
Issue replies19 of 20First reply in 4.4 days (median)
Maintainer15 of 15Owned by an organisation
Official source0 of 20Community server

Security check static checks

100 out of 100

Reads what is published about the server: package advisories, licence, secrets in the documented setup and tool permissions. Nothing is installed or run, so this is not a security assessment. Checked by edna-static-v1. What it checks

Licence: MPL-2.0

  • Note No published npm or PyPI package of this repository was found, so package advisories were not checked.
  • Note The lab has not recorded this server's tool list yet, so tool permissions were not checked.

Sources

Where this comes from

  • GitHubRegistry

    Checked · Days since the last commit, GitHub forks, GitHub stars, Days to a first reply on issues, Open issues, Releases in the last 90 days

A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.

Changelog

What changed

No changes recorded yet. Releases, price changes and deprecations appear here, with their dates, once we track them for this record.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.