TR

Terraform Registry MCP (thrashr888)

Looks up providers, resources and modules in the public Terraform Registry. The maker archived the repo; HashiCorp's official server replaces it.

☁️ Cloud & infrastructureGitHub stars120Updated 2025-05-20By thrashr888License: MITAuth: NoneGitHub ↗

Test results

Last passed 2026-10-20
Claude CodePassed2026-10-15 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · server reported v0.13.0 · connect time not recorded
CursorPassed2026-10-15 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.12-d47ca18 · server reported v0.13.0 · connect time not recorded
Claude DesktopPassed2026-10-19 · install, connect, tools, agent taskTested with Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · terraform-mcp-server 0.13.0 · connected in 0.8s
ChatGPT (Codex)Passed2026-10-20 · install, connect, tools, agent taskTested with Codex CLI 0.162.0-alpha.17.2 · terraform-mcp-server 0.13.0 · connect time not recorded

Server package tested: terraform-mcp-server 0.13.0 (npm, Node v20.19.2; resolved 2026-10-20)

Direct and key dependencies as resolved: @modelcontextprotocol/sdk 1.8.0 · abort-controller 3.0.0 · debug 4.4.3 · diff 7.0.0 · express 5.3.0 · glob 11.1.0 · minimatch 10.2.6 · node-fetch 3.3.2 · zod 3.25.76, 4.6.7 · zod-to-json-schema 3.25.2

All 101 resolved dependencies
@isaacs/cliui==9.0.0
@modelcontextprotocol/sdk==1.8.0
abort-controller==3.0.0
accepts==2.0.0
balanced-match==4.0.4
body-parser==2.3.0
brace-expansion==5.0.12
bytes==3.1.2
call-bind-apply-helpers==1.0.2
call-bound==1.0.4
content-disposition==2.0.1
content-type==1.0.5, 2.1.0
cookie==0.7.2
cookie-signature==1.2.2
cors==2.8.6
cross-spawn==7.0.6
data-uri-to-buffer==4.0.1
debug==4.4.3
depd==2.0.0
diff==7.0.0
dunder-proto==1.0.1
ee-first==1.1.1
encodeurl==2.0.0
es-define-property==1.0.1
es-errors==1.3.0
es-object-atoms==1.1.2
escape-html==1.0.3
etag==1.8.1
event-target-shim==5.0.1
eventsource==3.0.7
eventsource-parser==3.1.1
express==5.3.0
express-rate-limit==7.5.1
fetch-blob==3.2.0
finalhandler==2.1.1
foreground-child==3.3.1
formdata-polyfill==4.0.10
forwarded==0.2.0
fresh==2.0.0
function-bind==1.1.2
get-intrinsic==1.3.0
get-proto==1.0.1
glob==11.1.0
gopd==1.2.0
has-symbols==1.1.0
hasown==2.0.4
http-errors==2.0.1
iconv-lite==0.7.3
inherits==2.0.4
ipaddr.js==1.9.1
is-promise==4.0.0
isexe==2.0.0
jackspeak==4.2.3
lru-cache==11.5.3
math-intrinsics==1.1.0
media-typer==1.1.1
merge-descriptors==2.0.0
mime-db==1.54.0
mime-types==3.0.2
minimatch==10.2.6
minipass==7.1.3
ms==2.1.3
negotiator==1.1.0
node-domexception==1.0.0
node-fetch==3.3.2
object-assign==4.1.1
object-inspect==1.13.4
on-finished==2.4.1
once==1.4.0
package-json-from-dist==1.0.1
parseurl==1.3.3
path-key==3.1.1
path-scurry==2.0.2
path-to-regexp==8.4.2
pkce-challenge==4.1.0
proxy-addr==2.0.8
qs==6.16.1
range-parser==1.3.0
raw-body==3.0.2
router==2.2.0
safer-buffer==2.1.2
send==1.2.1
serve-static==2.2.1
setprototypeof==1.2.0
shebang-command==2.0.0
shebang-regex==3.0.0
side-channel==1.1.1
side-channel-list==1.0.1
side-channel-map==1.0.1
side-channel-weakmap==1.0.2
signal-exit==4.1.0
statuses==2.0.2
toidentifier==1.0.1
type-is==2.1.0
unpipe==1.0.0
vary==1.1.2
web-streams-polyfill==3.3.3
which==2.0.2
wrappy==1.0.2
zod==3.25.76, 4.6.7
zod-to-json-schema==3.25.2

Captured with: npm ls --all --json in the npx env.

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)?

Protocol: starts, 10 tools listed · 2026-10-15 · connected in 2.2s

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
ChatGPT (Codex) · Codex CLI 0.162.0-alpha.17.2
Date
Oct 20, 2026
The task we gave
Using only the terraform-registry-mcp 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

Tool calls:

terraform-registry-mcp:providerDetails

Tool result

{"content": [{"type": "text", "text": "## hashicorp/aws Provider\n\n**Latest Version**: 6.69.1\n**Total Versions**: 512\n\n**Recent Versions**:\n- 6.69.1 (2026-10-15T20:36:55Z)\n- 6.69.0 (2026-10-14T18:30:13Z)\n- 6.68.0 (2026-10-07T20:12:35Z)\n- 6.67.0 (2026-09-30T20:38:49Z)\n- 6.66.0 (2026-09-21T13:27:58Z)\n\n**Provider Details**:\n- Tier: official\n- Downloads: 8,088,107,856\n- Source: https://github.com/hashicorp/terraform-provider-aws\n- Protocols: 5.0\n\n**Description**:\nLifecycle management of AWS resources, including  EC2, Lambda, EKS, ECS, VPC, S3, RDS, DynamoDB, and more. This provider is maintained internally by the HashiCorp AWS Provider team.\n\n**Platform Support**:\n- linux/amd64\n- darwin/amd64\n- windows/amd64\n- linux/arm64\n- darwin/arm64\n\n**Usage Example**:\n```hcl\nterraform {\n  required_providers {\n    aws = {\n      source = \"hashicorp/aws\"\n      version = \">= 6.69.1\"\n    }\n  }\n}\n\nprovider \"aws\" {\n  # Configuration options\n}\n```\n\n[Full Documentation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs)"}], "structured_content": null}

Agent reply

6.69.1
Verdict
Passed

Install

claude mcp add terraform-registry-mcp -- npx -y terraform-mcp-server

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

{
  "mcpServers": {
    "terraform-registry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "terraform-mcp-server"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "terraform-registry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "terraform-mcp-server"
      ]
    }
  }
}

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

[mcp_servers.terraform-registry-mcp]
command = "npx"
args = ["-y", "terraform-mcp-server"]

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

DateCheckResultVersions tested
2026-10-20ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · terraform-mcp-server 0.13.0
2026-10-19Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · terraform-mcp-server 0.13.0
2026-10-15Protocol (direct stdio)Protocol: starts, 10 tools listedserver reported v0.13.0
2026-10-15Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · server reported v0.13.0
2026-10-15CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.12-d47ca18 · server reported v0.13.0

Tested on ToolPassed badge

ToolPassed: passed Claude Code, Cursor, Claude Desktop, ChatGPT (Codex)

Maker of Terraform Registry MCP (thrashr888)? It passed in Claude Code, Cursor, Claude Desktop, ChatGPT (Codex) on 2026-10-20. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.

[![Tested on ToolPassed](https://toolpassed.com/badge/mcp/terraform-registry-mcp.svg)](https://toolpassed.com/mcp/terraform-registry-mcp/)

Tools seen by our harness (10)

providerDetailsresourceUsagemoduleSearchlistDataSourcesresourceArgumentDetailsmoduleDetailsfunctionDetailsproviderGuidespolicySearchpolicyDetails
Featured