What it does
Connect your coding agent to Terraform Registry and HCP Terraform APIs. The server provides infrastructure development context and operations according to the selected toolsets and credentials. Use it to find relevant provider documentation or investigate a Terraform workflow, sharing the infrastructure requirements and limiting access to the intended organization or workspace.
- Connection
- Local
- Authentication
- None (public Registry)HCP Terraform token (optional)
- Works with
Connect your agent
Install command
docker run -i --rm hashicorp/terraform-mcp-serverRun the official HashiCorp container as a local stdio MCP server using the documented Docker configuration. Public Registry operations do not require an HCP token; set TFE_TOKEN securely when enabling authenticated HCP Terraform operations. Configure only the toolsets needed for the workflow.