Terraform MCP
Plan, apply and inspect IaC state
Run `terraform plan`, inspect state and preview diffs safely. Read-only by default.
Install
npx -y @hashicorp/mcp-terraformRuntime: node
Works with
How to install Terraform MCP
Install Terraform MCP in your MCP client in under two minutes.
- Open your MCP client
Open Claude Desktop, Cursor or any MCP-compatible host and locate the MCP configuration file.
- Install Terraform MCP
Add the server to your MCP config and paste the install command below.
npx -y @hashicorp/mcp-terraform - Restart and verify
Fully restart your MCP client. You should see Terraform MCP and its tools available in the tools panel.
Frequently asked questions
What is Terraform MCP?
Terraform MCP is an MCP server by HashiCorp. Run `terraform plan`, inspect state and preview diffs safely. Read-only by default.
Is Terraform MCP free?
Yes — open-source and free to self-host.
What can I do with Terraform MCP?
Terraform MCP is designed for Terraform. Plan, apply and inspect IaC state
How do I install Terraform MCP?
Run `npx -y @hashicorp/mcp-terraform` in your MCP client configuration. See the install steps above for the full walkthrough.
Who maintains Terraform MCP?
Terraform MCP is maintained by HashiCorp (official author). It is verified by Loadout.
Does Terraform MCP work with other DevOps & Infra tools?
Yes — Terraform MCP is part of the DevOps & Infra category on Loadout and works alongside other DevOps & Infra MCP servers. Pair it with any MCP-compatible host like Claude Desktop, Cursor or Windsurf.