MCP servers for Claude Code · Cloud & infrastructure

Best cloud & infrastructure MCP server for Claude Code, tested

In ToolPassed's hands-on tests in Claude Code, OpenTofu MCP is our provisional candidate for cloud & infrastructure: it passed install, connect, tools and an agent task on 2026-10-20. We ran 3 cloud & infrastructure MCP servers in Claude Code; 3 passed every step.

Last tested · runs from 2026-10-13 to 2026-10-20 · one run per server · How we test

Results in Claude Code

ServerClaude Code
OpenTofu MCP
Cloud & infrastructure
Passed
2026-10-20 · install, connect, tools, agent task
Terraform MCP
Cloud & infrastructure
Passed
2026-10-13 · install, connect, tools, agent task
Terraform Registry MCP (thrashr888)
Cloud & infrastructure
Passed
2026-10-15 · install, connect, tools, agent task

Dated results

  • OpenTofu MCP passed in Claude Code on 2026-10-20 (Claude Code 2.1.296, mcp-remote 0.15.1, connected in 3.2s). Full result
  • Terraform MCP passed in Claude Code on 2026-10-13 (Claude Code 2.1.296, server reported v1.3.0, connect time not recorded). Full result
  • Terraform Registry MCP (thrashr888) passed in Claude Code on 2026-10-15 (Claude Code 2.1.296, server reported v0.13.0, connect time not recorded). Full result

Why OpenTofu MCP is the candidate

OpenTofu MCP passed every step in Claude Code. It is the group’s site-wide candidate (judged 2026-10-20): Returned the latest hashicorp/aws provider version in both Claude Code and Cursor with no key, in 2 calls in total. HashiCorp's Terraform MCP and the archived Terraform Registry MCP also passed both with 2 calls each, so this is a tie on pass and calls; OpenTofu gets the nod for the smaller tool list (7 vs 9 and 10), the same tiebreak used in Browser automation. Terraform MCP also passed in ChatGPT (Codex). Servers that need a cloud account (Cloudflare, AWS, Kubernetes) aren't tested. Confirmed Oct 20, 2026: a second run in Claude Code and Cursor passed again (returned hashicorp/aws 6.69.1).

Provisional: based on one dated run per app (no repeat runs yet), so treat it as a candidate, not a final pick. How we test.

Same servers in all 4 apps

ServerClaude CodeCursorClaude DesktopChatGPT (Codex)
OpenTofu MCP
Cloud & infrastructure
Passed
2026-10-20 · install, connect, tools, agent task
Passed
2026-10-20 · install, connect, tools, agent task
Passed
2026-10-19 · install, connect, tools, agent task
Passed
2026-10-19 · install, connect, tools, agent task
Terraform MCP
Cloud & infrastructure
Passed
2026-10-13 · install, connect, tools, agent task
Passed
2026-10-13 · install, connect, tools, agent task
Passed
2026-10-19 · install, connect, tools, agent task
Passed
2026-10-15 · install, connect, tools, agent task
Terraform Registry MCP (thrashr888)
Cloud & infrastructure
Passed
2026-10-15 · install, connect, tools, agent task
Passed
2026-10-15 · install, connect, tools, agent task
Passed
2026-10-19 · install, connect, tools, agent task
Passed
2026-10-20 · install, connect, tools, agent task

What failed or is partial in Claude Code

None of these servers failed in Claude Code.

Install in Claude Code

The exact snippet we tested is on the OpenTofu MCP page (pick the Claude Code tab). Not connecting? Claude Code MCP troubleshooting.

Not tested in Claude Code yet

Cloudflare MCP, Grafana MCP (official), CloudBase AI Toolkit, Oracle MCP servers, Postman MCP Server, Apollo MCP Server, CrowdStrike Falcon MCP, VictoriaMetrics MCP, AWS MCP servers, Docker Hub MCP Server, Hostinger API MCP, Azure MCP Server, gcloud MCP, Cloud Run MCP, Kubernetes MCP, Radar (Kubernetes UI), FutureInfra MCP, SSH MCP Server, Prometheus MCP Server. Listed from their source; no result in Claude Code yet.

Questions

What is the best cloud & infrastructure MCP server for Claude Code?

In ToolPassed's hands-on tests in Claude Code, OpenTofu MCP is our provisional candidate for cloud & infrastructure: it passed install, connect, tools and an agent task on 2026-10-20. We ran 3 cloud & infrastructure MCP servers in Claude Code; 3 passed every step.

Does OpenTofu MCP work with Claude Code?

OpenTofu MCP passed in Claude Code on 2026-10-20 (Claude Code 2.1.296, mcp-remote 0.15.1, connected in 3.2s).

More: all MCP servers tested in Claude Code · Cloud & infrastructure in every app · How we test

Sponsors