# Install tfmcp with Homebrew

Terraform Model Context Protocol (MCP) Tool. Version 0.2.0 via Homebrew; verified from local package data.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/tfmcp>
- **Version:** 0.2.0
- **Source summary:** Terraform Model Context Protocol (MCP) Tool
- **Homepage:** <https://github.com/nwiizo/tfmcp>
- **Repository:** <https://github.com/nwiizo/tfmcp>
- **Upstream docs:** <https://github.com/nwiizo/tfmcp>
- **License:** MIT
- **Source archive:** <https://github.com/nwiizo/tfmcp/archive/refs/tags/v0.2.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tfmcp (cli)
- tfmcp (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.2.0
- Local data: ok
- Upstream repository: https://github.com/nwiizo/tfmcp
- Upstream latest detected: v0.2.0 (current)
- info: No package-manager update timestamp was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tfmcp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [neo4j-mcp](https://www.automicvault.com/pkg/brew/neo4j-mcp/) - Shares av.db curated category or tags: cli, developer-tools, mcp, model-context-protocol.
- [tfenv](https://www.automicvault.com/pkg/brew/tfenv/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfmigrate](https://www.automicvault.com/pkg/brew/tfmigrate/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfmv](https://www.automicvault.com/pkg/brew/tfmv/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfocus](https://www.automicvault.com/pkg/brew/tfocus/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfplugingen-openapi](https://www.automicvault.com/pkg/brew/tfplugingen-openapi/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfproviderlint](https://www.automicvault.com/pkg/brew/tfproviderlint/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [airtable-mcp-server](https://www.automicvault.com/pkg/brew/airtable-mcp-server/) - Shares av.db curated category or tags: cli, developer-tools, mcp.
- [terraform-mcp-server](https://www.automicvault.com/pkg/brew/terraform-mcp-server/) - Local package facts share a topical domain. Shared terms: cli, context, developer, developer-tools, mcp.

## Combined YAML source

View the package source record on GitHub. [combined/tfmcp.yml](https://github.com/automic-vault/db/blob/main/combined/tfmcp.yml)


## Sources

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