Browse / MCP servers

hashicorp/terraform-mcp-server

The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.

  • MCP

Works.Tested on 2026-11-25. From the README alone, on Linux with Luna.

For maintainers

Keep your README agent-ready

Paste this prompt into your coding agent to tighten onboarding time and keep the README reproducible.

Improve the README and setup experience of hashicorp/terraform-mcp-server so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Works in 11:12 (tested 2026-11-25).
Please review the README and setup scripts to keep agent onboarding fast and reliable:
1. Fix any documented command that required extra steps or workarounds.
2. Pin dependency versions in a lockfile and document a fast verification command.
3. Keep prerequisites, platform notes, and expected output concise and exact.
Also review the recorded check notes (possible secrets) and address any unintended dependency advisories or committed sample tokens.

Shareable status badge

Add a live Coldpass Linux verification badge to your README.

Coldpass status for hashicorp/terraform-mcp-server
[![Coldpass status](https://coldpass.dev/badge/hashicorp--terraform-mcp-server.svg)](https://coldpass.dev/repo/hashicorp--terraform-mcp-server/)

What we checked

Is it safe?Review first. Found: possible secrets.Each check
  • Malware: not checked on every setup (its lockfile dependencies and the packages installed during our run).
  • Secrets in its files: 2 possible hardcoded secrets found by gitleaks (values and locations withheld, 1 of them in test, fixture or vendored files).
  • Known vulnerabilities in its dependencies: none found by OSV in its 73 pinned dependency versions. Unpinned dependencies and unsupported formats are outside this check. Packages installed during our run were not checked for ordinary vulnerabilities on every setup.
  • Lines that download and run a program: none found in its source.
  • Planted fake secret files: repo code opened none.
  • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
  • Hosts the repo's own code contacted: 1 local or unverified name withheld.

From our newest run of each setup (Nov 25, 2026). A quiet run is not a safety guarantee.

Can a small agent set it up?Yes (Luna, 11:12)The run

3:31 Install finished

5:31 First use worked

Test history

  • Nov 25, 2026 · b4c8016f2414 · linux / Luna · passed · run JSON
Does it do what the README says?3 of 3 claims held up. A claim is one README promise we ran and checked.Evidence

“MCP product behavior”

“MCP product behavior”

“MCP product behavior”

Does the repo’s own CI pass?Failure.GitHub checks

GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

Needs keys, a login or a browser?No.Details

None seen

What does it depend on?Go 1.26.10, Network access to registry.terraform.io for registry tool callsDependencies

Software the test agent reported the README needed.

Local or hosted?Local: runs on your machineHow we tell

From the README and the endpoint we tested.

Is the README accurate?Yes.Deviations

No step differed.

What did it do when we ran it?During our run, it tried to contact 4 outside addresses.What we saw

Linux / Haiku

  • During our run, terraform-mcp-server tried to contact 3 addresses on port 443: 108.138.64.126, 108.138.64.35, 108.138.64.71.
  • While installing, git-remote-https looked up github.com.
  • No readable Python or npm packages were available to check against OSV malicious-package advisories.

Linux / Luna

  • During our run, terraform-mcp-server tried to contact 4 addresses on port 443: 108.138.64.109, 108.138.64.126, 108.138.64.35, 108.138.64.71.
  • While installing, git-remote-https looked up github.com.
  • While installing, http looked up archive.ubuntu.com, security.ubuntu.com, a name on our local network.
  • No readable Python or npm packages were available to check against OSV malicious-package advisories.

We found no compiled programs in its files.

What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the TCP connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

A quiet run is not a safety guarantee.

Is it maintained?MaintainedActivity

actively maintained: last commit 4 days ago; 89 commits and 105 merged PRs in 90 days; 9 open issues, 27 open PRs; 7 of 28 recent threads got a maintainer reply, median first reply 169.5h; latest release 2026-10-23

AboutStars: 1562 · Forks: 202 · Contributors: 36 · Owner account since May 1, 2011Source

Recorded GitHub repository and owner account metadata.

LicenseSPDX: MPL-2.0 · commercial use: copyleft termsSource

From GitHub’s license detection. The repository’s license text gives the terms.

MCP10 tools · ~3,322 context tokensTools

From the tools/list page returned on Nov 25, 2026 with Luna.

  • generate_search_query_configuration
  • get_latest_module_version
  • get_latest_provider_version
  • get_module_details
  • get_policy_details
  • get_provider_capabilities
  • get_provider_details
  • search_modules
  • search_policies
  • search_provider_docs
Cost to runFree in this testDetails

Peak guest RAM: 734 MiB

Guest disk change: 1,954 MiB

GPU need: not captured

Paid service: not captured