- Home
- MCP servers
- Terraform MCP Server
Terraform MCP Server
HashiCorp server for Terraform Registry lookups and HCP Terraform workspaces
What it is
HashiCorp's MCP server. It queries the public Terraform Registry for providers, modules and policies, and with a token can manage workspaces, projects and private registry content in HCP Terraform or Terraform Enterprise. For people writing infrastructure as code with an assistant.
Good for
- Look up current provider and module docs
- Generate Terraform against real schemas
- List and manage HCP Terraform workspaces
Install or run
claude mcp add terraform -s user -t stdio -- docker run -i --rm hashicorp/terraform-mcp-serverCommand as given in the project README. Read the repository before you run anything on your machine.
What you need
Docker (or the hosted endpoint); HCP Terraform/Enterprise token for workspace features
Sources
- https://github.com/hashicorp/terraform-mcp-server (project README, read 10 Nov 2026)
- https://api.github.com/repos/hashicorp/terraform-mcp-server (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.