# terraform-mcp-server を Homebrew, Nix でインストール

terraform-mcp-server のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:terraform-mcp-server
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install terraform-mcp-server
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#terraform-mcp-server
```

  証拠: 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

## パッケージ情報

- **パッケージキー:** brew:terraform-mcp-server
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.0
- **ソース概要:** MCP server for Terraform
- **ホームページ:** <https://github.com/hashicorp/terraform-mcp-server>
- **リポジトリ:** <https://github.com/hashicorp/terraform-mcp-server>
- **最終更新:** 2026-07-26T00:50:36+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- terraform-mcp-server (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://api.github.com/repos/hashicorp/terraform-mcp-server>
- <https://api.github.com/repos/hashicorp/terraform-mcp-server/releases>
- <https://formulae.brew.sh/api/formula/terraform-mcp-server.json>
- <https://github.com/hashicorp/terraform-mcp-server#readme>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - terraform-mcp-server: normalized package name match | 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


## Combined YAML source

View the package source record on GitHub. [combined/terraform-mcp-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/terraform-mcp-server.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
