Terraform MCP
HashiCorp's official Terraform MCP: provider docs and version lookups for infrastructure-as-code agents.
See the pick for the verdict.
Test results
Last passed 2026-10-19Server package and resolved dependency versions: not recorded for these runs (our harness records them from Oct 19, 2026 on).
Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?
Real test
PassedOne run from our records. When two runs share a date, we show a failure if there is one.
- Client
- Claude Desktop · Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0)
- Date
- Oct 19, 2026
- The task we gave
Using only the terraform MCP tools, find the latest version of the hashicorp/aws Terraform provider and reply with the version number.
- What it promised
- details not recorded for this run
- What happened
2 tool calls recorded. The names were not stored on this run.
Tool result
{"content": [{"type": "text", "text": "6.69.1"}]}Agent reply
The latest version of the hashicorp/aws Terraform provider is 6.69.1.- Verdict
- Passed
Install
claude mcp add terraform -- terraform-mcp-server stdioRun 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
| Date | Check | Result | Versions tested |
|---|---|---|---|
| 2026-10-19 | Claude Desktop | Passed install, connect, tools, agent task | Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · package version not recorded |
| 2026-10-15 | ChatGPT (Codex) | Passed install, connect, tools, agent task | Codex CLI 0.162.0-alpha.17.2 · package version not recorded |
| 2026-10-13 | Protocol (direct stdio) | Protocol: starts, 9 tools listed | server reported v1.3.0 |
| 2026-10-13 | Claude Code | Passed install, connect, tools, agent task | Claude Code 2.1.296 · server reported v1.3.0 |
| 2026-10-13 | Cursor | Passed install, connect, tools, agent task | Cursor CLI 2026.10.12-d47ca18 · server reported v1.3.0 |
Tested on ToolPassed badge
Maker of Terraform MCP? It passed in Claude Code, Cursor, Claude Desktop, ChatGPT (Codex) on 2026-10-19. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.
[](https://toolpassed.com/mcp/terraform/)Tools seen by our harness (9)
get_latest_module_versionget_latest_provider_versionget_module_detailsget_policy_detailsget_provider_capabilitiesget_provider_detailssearch_modulessearch_policiessearch_providers