Terraform MCP server HashiCorp
The Terraform MCP Server from HashiCorp connects AI assistants to the Terraform Registry and HCP Terraform for infrastructure as code work. It suits engineers who want an assistant to look up providers and modules and work with their Terraform setup accurately.
What it does
It covers provider discovery, module analysis and Terraform Registry API access, with automation for HCP Terraform and Terraform Enterprise when a token is set.
How to use it
Run the Docker image hashicorp/terraform-mcp-server:1.4.1 from your MCP client config, passing TFE_TOKEN as an environment variable when you need HCP Terraform or Enterprise access.
Requirements and limits
HashiCorp warns that it may expose Terraform data to the client and LLM, and that its outputs vary with the query and model.
More in Cloud platforms and the MCP server library.
Full text
Front matter
name: terraform-mcp-server
description: Terraform ecosystem integration: provider discovery, module analysis and Terraform Registry API access for infrastructure-as-code workflows.
category: Cloud Platforms
kind: MCP server
url: https://github.com/hashicorp/terraform-mcp-server
software: Cloud|Gohashicorp/terraform-mcp-server
Terraform ecosystem integration: provider discovery, module analysis and Terraform Registry API access for infrastructure-as-code workflows.
Category: Cloud Platforms
Repository: https://github.com/hashicorp/terraform-mcp-server
Source and license
Source: https://github.com/hashicorp/terraform-mcp-server
Author: hashicorp. Listed in: Awesome MCP servers by punkpeye. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The MCP server library holds 4,631 entries. Members can search all of them by meaning and read every one in full.