Skip to content
Conduit

mcp server

HashiCorp Terraform MCP Server

HashiCorp's MCP server for Terraform Registry providers and modules, plus HCP Terraform and TFE workspaces.

hashicorp/terraform-mcp-serverofficiallistedunreviewednot running here yet

Set up

Runs on your computer. Pick your agent and operating system.

Before you start

  • Docker Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "terraform": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TFE_TOKEN",
        "-e",
        "TFE_ADDRESS",
        "-e",
        "TRANSPORT_MODE",
        "hashicorp/terraform-mcp-server"
      ]
    }
  }
}

same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12

Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs

Tools provided

As listed by the project. Your agent asks before calling them, depending on its settings.

  • search_providersSearch Terraform Registry providers
  • get_provider_detailsGet provider details
  • list_workspacesList HCP Terraform workspaces

README

synced Oct 13, 2026

HashiCorp Terraform MCP Server

HashiCorp's MCP server for Terraform Registry providers and modules, plus HCP Terraform and TFE workspaces.

Install

docker run -i --rm hashicorp/terraform-mcp-server

Configuration

VariableRequiredDescription
TFE_TOKENNoHCP Terraform or Terraform Enterprise API token, for workspace tools
TFE_ADDRESSNoHCP Terraform or TFE address including protocol
TRANSPORT_MODENostdio (default) or streamable-http

Tools

  • search_providers — Search Terraform Registry providers
  • get_provider_details — Get provider details
  • list_workspaces — List HCP Terraform workspaces

About this listing

Details were gathered from the project's public pages on 2026-10-13 and have not been reviewed by a person yet. Read the project's own documentation before giving it access to anything sensitive.

Sources:

↑↓ navigate openesc close