AcademyMCP serversDevelopment

tfmcp

Infrastructure and platform teams that want an AI assistant to inspect and review Terraform changes before they are applied.

  • Recommendedour rating
  • 373gitHub stars
  • MITlicence
  • 48 days agolast update
claude mcp add tfmcp -e TERRAFORM_DIR=/app/terraform -- docker run --rm -v /path/to/your/terraform:/app/terraform tfmcp mcp
README.md

Loading the file...

Custom AI agents

Want this running in your company?

We build AI agents like this around your own processes, connect them to your tools and data, and keep them running. The same team builds and runs them.

  • Free 20-minute call to look at your use case
  • Connected to your systems, with the right permissions
  • Built and run by the same team, in English or Spanish

What it does

An MCP server that lets an AI assistant work with local Terraform projects. It can read configuration files, analyze plans, apply a reviewed saved plan and manage state, and it redacts sensitive outputs. Registry and HCP or TFE tools support these workflows.

Use cases

  1. 01Read a Terraform project and explain what it defines
  2. 02Review a saved plan before applying it
  3. 03Check state and the result after an apply

Questions about
tfmcp.

What is tfmcp used for?

Infrastructure and platform teams that want an AI assistant to inspect and review Terraform changes before they are applied. An MCP server that lets an AI assistant work with local Terraform projects. It can read configuration files, analyze plans, apply a reviewed saved plan and manage state, and it redacts sensitive outputs. Registry and HCP or TFE tools support these workflows.

How do I install tfmcp?

Run this in your terminal: claude mcp add tfmcp -e TERRAFORM_DIR=/app/terraform -- docker run --rm -v /path/to/your/terraform:/app/terraform tfmcp mcp

Is tfmcp open source?

Yes. The code is on GitHub (nwiizo/tfmcp) under the MIT licence.

Is tfmcp safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.