Automic VaultAutomic Vault

brew

Install terraform-mcp-server with Homebrew, Nix

MCP server for Terraform. Version 1.0.0 via Homebrew; verified 2026-06-09.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install terraform-mcp-server

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#terraform-mcp-server

nixpkgs package indexes · pkgs/by-name/te/terraform-mcp-server/package.nix · source: api.github.com

overview

Package summary

MCP server for Terraform

Commands and aliases

  • terraform-mcp-server

history

Project history and usage

terraform-mcp-server is HashiCorp's MCP server for connecting AI assistants and agentic development tools to Terraform Registry, HCP Terraform, and Terraform Enterprise workflows.

Project history

HashiCorp created the terraform-mcp-server repository in April 2025, during the early wave of Model Context Protocol tooling for developer agents. The README describes a server that integrates with Terraform Registry APIs and supports both stdio and Streamable HTTP transports.

The project moved quickly from early 0.x releases to v1.0.0 in June 2026. Its README examples show installation through Docker or a local binary and configuration in MCP-capable clients such as Visual Studio Code agent mode, with optional HCP Terraform and Terraform Enterprise access through TFE environment variables.

Adoption history

Because it is an official HashiCorp project in a new tool category, adoption is still young but visible in package-manager channels. Homebrew packaged v1.0.0 and reported hundreds of installs over the preceding year, while the GitHub repository accumulated more than a thousand stars by mid-2026.

How it is used

The server is run in stdio mode for local MCP clients or in Streamable HTTP mode for networked clients. Its tools expose Terraform Registry providers, modules, policies, HCP Terraform workspaces, organization and project listing, private registry access, and guarded Terraform operations.

The README warns that server responses may expose Terraform data to MCP clients and LLMs, so users are expected to connect it only to trusted clients and to review dynamic recommendations before applying them.

Why package nerds care

For package nerds, terraform-mcp-server marks the Terraform ecosystem's move from human-only CLIs into agent-facing package surfaces: a Homebrew-installable binary whose real job is to let editors and LLM clients discover Terraform metadata and act against Terraform services.

Timeline

  • 2025: Repository created and v0.1.0 released.
  • 2026: v1.0.0 released and packaged by Homebrew.
  • 2026: README documents stdio and Streamable HTTP transports for MCP clients.

Related projects

  • Terraform Registry, HCP Terraform, and Terraform Enterprise are the main Terraform services exposed by the server.
  • Model Context Protocol clients such as Visual Studio Code agent mode are documented as launch surfaces.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:server

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
terraform-mcp-servercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.0.0
manager updated2026-06-09
local dataok
upstreamcurrent
latest detectedv1.0.0

https://github.com/hashicorp/terraform-mcp-server

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:terraform-mcp-server
Version1.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/terraform-mcp-server
Homepagehttps://github.com/hashicorp/terraform-mcp-server
Repositoryhttps://github.com/hashicorp/terraform-mcp-server
Upstream docshttps://github.com/hashicorp/terraform-mcp-server#readme
LicenseMPL-2.0
Source archivehttps://github.com/hashicorp/terraform-mcp-server/archive/refs/tags/v1.0.0.tar.gz
Last updated2026-06-09T23:45:41Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterraform-mcp-server
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

terraform-mcp-server

nix profile install nixpkgs#terraform-mcp-server
  • normalized package name match
  • Matched by: Terraform Mcp Server
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terraform-mcp-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment