AcademyMCP serversOperations

Terraform MCP Server

Infrastructure and operations teams that write Terraform and want an AI assistant to look up providers and modules.

  • Officialour rating
  • 1,546gitHub stars
  • MPL-2.0licence
  • 46 days agolast update
claude mcp add terraform -- docker run -i --rm -e TFE_ADDRESS=<<PASTE_TFE_ADDRESS_HERE>> -e TFE_TOKEN=<<PASTE_TFE_TOKEN_HERE>> hashicorp/terraform-mcp-server:1.3.0
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 from HashiCorp that connects AI assistants to the Terraform Registry and HCP Terraform APIs. It supports provider discovery, module analysis and registry lookups for infrastructure as code work.

Use cases

  1. 01Look up the right provider and its resources
  2. 02Compare modules from the Terraform Registry
  3. 03Check documentation while writing a configuration

Questions about
Terraform MCP Server.

What is Terraform MCP Server used for?

Infrastructure and operations teams that write Terraform and want an AI assistant to look up providers and modules. An MCP server from HashiCorp that connects AI assistants to the Terraform Registry and HCP Terraform APIs. It supports provider discovery, module analysis and registry lookups for infrastructure as code work.

How do I install Terraform MCP Server?

Run this in your terminal: claude mcp add terraform -- docker run -i --rm -e TFE_ADDRESS=<<PASTE_TFE_ADDRESS_HERE>> -e TFE_TOKEN=<<PASTE_TFE_TOKEN_HERE>> hashicorp/terraform-mcp-server:1.3.0

Is Terraform MCP Server open source?

Yes. The code is on GitHub (hashicorp/terraform-mcp-server) under the MPL-2.0 licence.

Is Terraform MCP Server 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.