| name | terraform-mcp-server-for-infrastructure-as-code |
| description | Use when working with the official HashiCorp Terraform MCP server integrates with the Terraform Registry and HCP Terraform, enabling AI agents to browse providers, discover modules, manage workspaces, and validate infrastructure configurations through the Model Context Protocol. |
| metadata | {"author":"agentskillexchange"} |
Terraform MCP Server for Infrastructure as Code
The official HashiCorp Terraform MCP server integrates with the Terraform Registry and HCP Terraform, enabling AI agents to browse providers, discover modules, manage workspaces, and validate infrastructure configurations through the Model Context Protocol.
Installation
Use the upstream install or setup path that matches your environment:
- docker run -p 8080:8080 --rm -e TRANSPORT_MODE=streamable-http -e TRANSPORT_HOST=0.0.0.0 hashicorp/terraform-mcp-server
- go install github.com/hashicorp/terraform-mcp-server/cmd/terraform-mcp-server@latest
- go install github.com/hashicorp/terraform-mcp-server/cmd/terraform-mcp-server@main
- git clone https://github.com/hashicorp/terraform-mcp-server.git
Requirements and caveats from upstream:
- Ensure Docker is installed and running to use the server in a containerized environment.
- | ENABLE_TF_OPERATIONS | Enable tools that require explicit approval | false |
- "command": "docker",
Basic usage or getting-started notes:
Source
Source: agentskillexchange/skills — distributed by TomeVault.