Does Terraform MCP work with Claude Code?

Yes. Terraform MCP passed every step of our test in Claude Code on Oct 13, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.

Result

ResultPassed
Date testedOct 13, 2026
Plan tested onClaude Pro
App version2.1.296 (Claude Code)
Modelhaiku

Steps

  1. install OK
  2. connected OK
  3. tools visible OK
  4. agent task: provider version OK

From our own harness run, not the maker’s claims. How we test.

What happened in this run

Install config we used

claude mcp add -s local terraform -- /home/box/opt/tfmcp/terraform-mcp-server stdio

Connection check

terraform: /home/box/opt/tfmcp/terraform-mcp-server stdio - ✔ Connected

Tools check

verified via task step: agent saw and called the server's tools

Agent task: provider version

  • Tool calls, in order: mcp__terraform__get_latest_provider_version

Raw details from our harness log for this run. Secrets redacted.

Set it up in Claude Code

Copy-paste config for every app is on the Terraform MCP page. Not connecting? Claude Code MCP troubleshooting.

Other apps we tested it in: Cursor (passed).

All MCP servers tested in Claude Code

Sponsors