TM

Terraform MCP

Description written after our first hands-on test.

☁️ Cloud & infrastructure★ 1,548Updated 2026-10-13Auth: none for registry lookups (to verify)GitHub ↗

Test results

Last passed 2026-10-13
Claude CodePassed2026-10-13 · install, connect, tools, agent task
CursorPassed2026-10-13 · install, connect, tools, agent task
Claude DesktopNot tested—
ChatGPT (Codex)Not tested—
Protocol: starts, 9 tools listed · 2026-10-13
🧪 Test-box note: Docker isn't available on the box (no root); tested with HashiCorp's official 1.3.0 Linux binary from releases.hashicorp.com.

Install

claude mcp add terraform -- terraform-mcp-server stdio

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "terraform": {
      "command": "terraform-mcp-server",
      "args": [
        "stdio"
      ]
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "terraform": {
      "command": "terraform-mcp-server",
      "args": [
        "stdio"
      ]
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.terraform]
command = "terraform-mcp-server"
args = ["stdio"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersion
2026-10-13Protocol (direct stdio)Protocol: starts, 9 tools listed1.3.0
2026-10-13Claude CodePassed
install, connect, tools, agent task
2.1.296 (Claude Code)
2026-10-13CursorPassed
install, connect, tools, agent task
2026.10.12-d47ca18

Tools seen by our harness (9)

get_latest_module_versionget_latest_provider_versionget_module_detailsget_policy_detailsget_provider_capabilitiesget_provider_detailssearch_modulessearch_policiessearch_providers
Sponsors