HashiCorp MCP server for Terraform Registry data, providers, modules and HCP Terraform workflows.
HashiCorp MCP server for Terraform Registry data, providers, modules and HCP Terraform workflows.
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.
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
OpenCode
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
Search Toolset
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
• Dual Transport Support: Both Stdio and StreamableHTTP transports with configurable endpoints
• Terraform Registry Integration: Direct integration with public Terraform Registry APIs for providers, modules, and policies
• HCP Terraform & Terraform Enterprise Support: Full workspace management, organization/project listing, and private registry access
• Workspace Operations: Create, update, delete workspaces with support for variables, tags, and run management
• OTel metrics for monitoring tool usage: Integration with open telemetry meters to track tool-call volume, latency and failures in Streamable HTTP mode. Also exposes default http server metrics when this feature is enabled
Security Note: Depending on the query, the MCP server may expose certain Terraform data to the MCP client and LLM. Do not use the MCP server with untrusted MCP clients or LLMs.
Legal Note: Your use of a third party MCP Client/LLM is subject solely to the terms of use for such MCP/LLM, and IBM is not responsible for the performance of such third party tools. IBM expressly disclaims any and all warranties and liability for third party MCP Clients/LLMs, and may not be able to provide support to resolve issues which are caused by the third party tools.
Caution: The outputs and recommendations provided by the MCP server are generated dynamically and may vary based on the query, model, and the connected MCP client. Users should thoroughly review all outputs/recommendations to ensure they align with their organization’s security best practices, cost-efficiency goals, and compliance requirements before implementation.
Environment Variables: …
MCP server · MCP servers / Infrastructure · Open Source · MPL-2.0 · Go
Website https://github.com/hashicorp/terraform-mcp-server · Repo https://github.com/hashicorp/terraform-mcp-server
1,558 stars · 202 forks · 33 open issues · pushed 2026-11-11 · verified 2026-11-12
Tags: ai-agents, mcp-server, infrastructure
Install: claude mcp add terraform -s user -t stdio -- docker run -i --rm hashicorp/terraform-mcp-server
What is Terraform MCP Server? Terraform MCP Server is a coding website listed on Scriptiii Webnest. HashiCorp MCP server for Terraform Registry data, providers, modules and HCP Terraform workflows. Pricing: Free. Free to use. Best for: ai-agents, mcp-server, infrastructure.
Everything you need to know about Terraform MCP Server
Similar websites in Coding
Open-source vector database that stores objects and vectors with hybrid search and filtering.
Coding·Free