Terraform MCP server
Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise
1.5k stars
Reviews
Write oneNobody has reviewed Terraform yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Terraform tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
What the publisher says
From the Terraform repository's README, as published. We do not edit it. Read it on GitHub
Terraform MCP Server
The Terraform MCP Server is a Model Context Protocol (MCP) server that integrates seamlessly with Terraform Registry and HCP Terraform APIs, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
Table of Contents
Get started Client integrations Build and run Features Prerequisites Command Line Options Instructions Installation Visual Studio Code Cursor Claude Desktop, Amazon Q Developer, and Kiro CLI Claude Code Codex CLI Gemini extensions Bob IDE and Shell Install from source Building the Docker Image locally Transport Support Stdio Transport StreamableHTTP Transport
Server capabilities Deployment and security Help and contributing Available Tools Available Resources Available Metrics Tool Filtering Session Modes Token Passthrough for Centralized Deployments Client IP Forwarding Trust model Trusted hops Limitations Migrating from earlier versions Supported Headers Security Considerations Centralized Deployment Example Troubleshooting Corporate Proxy and TLS Inspection Development Contributing License Security Support
Features
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add terraform-mcp-server -- docker run -i --rm docker.io/hashicorp/terraform-mcp-server:1.0.0
Terraform: common questions
- Is Terraform MCP server safe?
- Yes, by our scan: it is graded A (90/100). Read the Terraform safety report
- How do I install Terraform?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Terraform need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Terraform maintained?
- The last commit was 2 days ago (2026-09-26). The latest release is v1.0.0.
- What can I use instead of Terraform?
- Servers from other publishers that do the same job: TerraVision MCP server.
Alternatives to Terraform
Same job from other publishers: the closest match first, then the best rated.
- TerraVisionCloud architecture diagrams with official AWS, Azure and GCP icons, from Terraform or a JSON graph.not reviewedEstablishedA