Terraform MCP Server
@pipethedev
About Terraform MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"terraform": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Terraform MCP Server?
The Terraform MCP Server is a Model Context Protocol (MCP) server that integrates with Terraform Registry APIs, enabling advanced automation and interaction for Infrastructure as Code (IaC) development. It helps developers discover, explore, and analyze Terraform providers and modules through LLM-driven tooling.
How to use Terraform MCP Server?
Run the server as a Docker container (docker run -i --rm hashicorp/terraform-mcp-server) or install from source using go install. Configure it as an MCP server in VS Code (via User JSON or .vscode/mcp.json) or in Claude Desktop (via mcpServers). The server exposes tools for querying the Terraform Registry.
Key features of Terraform MCP Server
- Resolves provider documentation IDs by service slug.
- Fetches full provider documentation in markdown format.
- Searches Terraform Registry modules with pagination.
- Retrieves detailed module information including inputs and outputs.
- Runs as a lightweight Docker container.
- Built by HashiCorp for official Terraform Registry access.
Use cases of Terraform MCP Server
- Automating Terraform provider and module discovery.
- Extracting and analyzing data from the Terraform Registry.
- Getting detailed information about provider resources and data sources.
- Exploring and understanding Terraform modules.
- Integrating LLM-driven IaC workflows with VS Code or Claude Desktop.
FAQ from Terraform MCP Server
Does Terraform MCP Server require Docker?
Yes, Docker is a prerequisite; the simplest deployment uses the official Docker image hashicorp/terraform-mcp-server.
What tools does Terraform MCP Server provide?
It offers four tools across two toolsets: providers (resolveProviderDocID, getProviderDocs) and modules (searchModules, moduleDetails).
Can I run Terraform MCP Server without Docker?
Yes, you can install from source with go install github.com/hashicorp/terraform-mcp-server/cmd/terraform-mcp-server@latest and run it directly.
What data does Terraform MCP Server access?
It queries the public Terraform Registry APIs for provider and module documentation. No local Terraform state or credentials are required.
Is Terraform MCP Server officially supported by HashiCorp?
Yes, it is maintained by HashiCorp under the MPL-2.0 license. Support options include GitHub issues and discussions.
More Cloud & Infrastructure MCP servers

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
K8s MCP Server
alexei-ledK8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI syste
Comments