# Install tfmcp with Homebrew

Terraform Model Context Protocol (MCP) Tool. Version 0.2.1 via Homebrew; verified 2026-07-26.

## Install

```sh
sudo av install brew:tfmcp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tfmcp
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tfmcp
- **Package manager:** Homebrew
- **Version:** 0.2.1
- **Source summary:** Terraform Model Context Protocol (MCP) Tool
- **Homepage:** <https://github.com/nwiizo/tfmcp>
- **Repository:** <https://github.com/nwiizo/tfmcp>
- **Last updated:** 2026-07-26T12:33:17Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- tfmcp (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.2.1
## Project history and usage

tfmcp is a Rust command-line Model Context Protocol server for Terraform. The README describes it as a tool that lets LLMs read Terraform configurations, analyze plans, apply configurations, manage state, and integrate with Claude Desktop.

### Project history

tfmcp belongs to the post-MCP wave of infrastructure tooling: instead of wrapping Terraform for humans only, it exposes Terraform operations to AI assistants through MCP. The repository README labels the project as under active development while also emphasizing production-ready security controls.

The release history shows rapid expansion. v0.1.5 focused on CI/CD reliability and security; v0.1.6 added module health analysis and Terraform registry integration; v0.1.9 added ten local Terraform tools for feature parity with Terraform CLI operations; and v0.2.0 is listed as a release for registry expansion, tool filtering, and live docs.

### Adoption history

The project is newer and narrower than tfenv or tfmigrate, but the official repository already shows hundreds of GitHub stars and a Homebrew package in the input metadata. Its adoption niche is developers experimenting with AI-assisted infrastructure operations while keeping Terraform as the underlying execution engine.

Because MCP clients are typically configured per desktop or agent runtime, packaging tfmcp as a Homebrew formula makes it easier to install reproducibly next to Terraform itself.

### How it is used

The README describes tfmcp as an MCP server with Terraform integration, module health analysis, resource dependency graphs, Terraform Registry lookup, plan and state analysis, workspace management, import helpers, `fmt`, `graph`, output access, taint/untaint, refresh, provider inspection, audit logging, access controls, and Docker support.

In practical use, tfmcp sits between an AI assistant and the Terraform CLI: the assistant calls MCP tools, and tfmcp performs or analyzes Terraform operations with policy and safety controls around them.

### Why package nerds care

tfmcp is significant as an early package-manager-distributed example of AI-native infrastructure tooling. It is not a replacement for Terraform; it packages a controlled interface layer so agents can inspect and operate Terraform projects.

For package catalogs, it marks the moment when MCP servers became installable developer tools rather than just application plugins.

### Timeline

- 2025: v0.1.5 release notes focus on CI/CD reliability and security enhancements.
- 2025: v0.1.6 introduces module health analysis and Terraform Registry integration.
- 2025: v0.1.9 adds ten local Terraform tools and reaches 31 MCP tools.
- 2026: Releases page lists v0.2.0 for registry expansion, tool filtering, and live docs.

### Related projects

- Terraform is the underlying CLI that tfmcp integrates with.
- Model Context Protocol is the protocol surface tfmcp exposes.
- Claude Desktop is the README's visible MCP client example.

### Sources

- <https://github.com/nwiizo/tfmcp>
- <https://github.com/nwiizo/tfmcp/releases>
- source_facts.package-manager.brew


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

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


## Sources

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