---
title: "Terraform MCP Server: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/mcp-servers/terraform/
description: "Looks up Terraform Registry documentation and can manage HCP Terraform or Terraform Enterprise workspaces and runs."
---

# Terraform MCP Server: review, setup & limitations · Undominated.ai

> Looks up Terraform Registry documentation and can manage HCP Terraform or Terraform Enterprise workspaces and runs.

[← Explore all mcp servers](/mcp-servers/)

INFRASTRUCTURE DEVELOPMENT / HashiCorp

# Terraform MCP Server

Looks up Terraform Registry documentation and can manage HCP Terraform or Terraform Enterprise workspaces and runs.

 See setup guidance ↓Original source ↗

SOURCE REVIEW

 Reviewed 2026-09-21
 Evidence 4 linked sources
 Publisher HashiCorp
 Licence MPL-2.0 ↗
 Revision e2481878ee40
 Read what was—and wasn’t—checked ↓

“Terraform MCP Server”

 HashiCorp · upstream description ↗ Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - Combines provider/module documentation with separately credentialed workspace operations.
- Offers tool/toolset filters and an organization allowlist for scoped deployments.

### A good fit for

 - Finding provider resource documentation while preparing Terraform changes.

### Weigh up before choosing

 - HCP/TFE workspace tools include creation, updates and deletion; registry lookup does not imply a read-only server.
- HCP/TFE operations require their own endpoint and token configuration.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - README.md (installation, capability and permission sections)
- go.mod
- cmd/terraform-mcp-server/main.go
- LICENSE

### Our findings

 - The implementation defaults to stdio and supports Streamable HTTP bound to loopback by default.
- MPL-2.0 covers this server; it is not a statement about every Terraform product’s licence.

### Not established by this review

 - Server startup, authentication and tool execution were not tested.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Connect a server deliberately.

Upstream setup instructions ↗

DOCUMENTED COMMAND

 docker run -i --rm hashicorp/terraform-mcp-server Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - Use the container as the MCP client’s stdio command.
- For HCP/TFE operations, configure TFE_ADDRESS/TFE_TOKEN and restrict toolsets and organizations.

### Before you start

 - Docker; HCP Terraform or Terraform Enterprise access only for account operations.

### Compatibility

An MCP client supporting stdio, Streamable HTTP. · Docker; HCP Terraform or Terraform Enterprise access only for account operations.

### Implementation

Go

### Transports

stdio · Streamable HTTP

### Infrastructure development / Configured credentials or local access

 - Reads public registry documentation.
- Credentialed tools can change workspaces, variables, tags and runs.

### Cost model

Registry lookup and local hosting are distinct from HCP/TFE account and run costs.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - Official documentation ↗ Checked 2026-09-21 https://github.com/hashicorp/terraform-mcp-server/blob/e2481878ee40560a91f07c38c09a478ede9fb87a/README.md Supports: summary, whySelected, bestFor, limitations, install, access, compatibility, transports
- Applicable source licence ↗ Checked 2026-09-21 https://github.com/hashicorp/terraform-mcp-server/blob/e2481878ee40560a91f07c38c09a478ede9fb87a/LICENSE Supports: license
- Implementation: go.mod ↗ Checked 2026-09-21 https://github.com/hashicorp/terraform-mcp-server/blob/e2481878ee40560a91f07c38c09a478ede9fb87a/go.mod Supports: language, review
- Implementation: cmd/terraform-mcp-server/main.go ↗ Checked 2026-09-21 https://github.com/hashicorp/terraform-mcp-server/blob/e2481878ee40560a91f07c38c09a478ede9fb87a/cmd/terraform-mcp-server/main.go Supports: language, review

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Grafana MCP Server ↗ Connects dashboards, logs, metrics and related Grafana data sources to an assistant, with separate controls for writes and query execution.](/mcp-servers/grafana/)[### Kubernetes MCP Server ↗ Exposes Kubernetes and OpenShift resource inspection and management using kubeconfig or in-cluster credentials.](/mcp-servers/kubernetes/)[### MCP Toolbox for Databases ↗ Serves prebuilt database tools or a configured set of SQL-backed tools and resources to MCP clients.](/mcp-servers/toolbox/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)
