Skip to content
Agent Search Engine.

Record · terraform-mcMCP serverOpen sourceVerified Sep 23, 2026

Terraform MCP Server

HashiCorp's MCP server for the Terraform Registry and HCP Terraform or Terraform Enterprise workspaces.

Sources and review

Checked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.

Best for

Writing and reviewing Terraform with an assistant that looks up current provider and module documentation.

About Terraform MCP Server

HashiCorp's Terraform MCP Server integrates the public Terraform Registry, for providers, modules and policies, with HCP Terraform and Terraform Enterprise APIs, supporting workspace management, variables, tags, runs and private registry access. It runs over stdio or streamable HTTP and exposes OpenTelemetry metrics for tool usage.

Terraform MCP Server is an open-source project written primarily in Go, with 1.5k stars on GitHub. It was last updated in September 2026.

Add Terraform MCP Server to your MCP client

Generated from the launch command in the project's README. Your client starts the server on demand.

Claude CodeRun in your terminal
claude mcp add terraform-mcp-server -- docker run -i --rm hashicorp/terraform-mcp-server:1.3.0
Cursor~/.cursor/mcp.json or .cursor/mcp.json
{
  "mcpServers": {
    "terraform-mcp-server": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "hashicorp/terraform-mcp-server:1.3.0"]
    }
  }
}
VS Code.vscode/mcp.json
{
  "servers": {
    "terraform-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": ["run", "-i", "--rm", "hashicorp/terraform-mcp-server:1.3.0"]
    }
  }
}
Claude Desktopclaude_desktop_config.json
{
  "mcpServers": {
    "terraform-mcp-server": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "hashicorp/terraform-mcp-server:1.3.0"]
    }
  }
}
Codex~/.codex/config.toml
[mcp_servers.terraform-mcp-server]
command = "docker"
args = ["run", "-i", "--rm", "hashicorp/terraform-mcp-server:1.3.0"]

Check the project's README for required accounts, keys and permissions before connecting. Setup guide for each client →

For agent buildersMake your product part of the discovery.Explore advertising

Terraform MCP Server vs. the alternatives

All 163 alternatives →
RecordStarsPricing
Terraform MCP ServerMCP serverthis listing1.5kOpen source
MCP Reference ServersMCP server91kOpen source
context7MCP server62kOpen source
chrome-devtools-mcpMCP server53kOpen source
Playwright MCPMCP server37kOpen source
github-mcp-serverMCP server33kOpen source

See all 163 Terraform MCP Server alternatives, compared →