MCP server · HashiCorp
Terraform MCP Server
Pick it for Terraform Registry lookups; add TFE_TOKEN only if you need HCP Terraform workspaces.
Tools: 9, ~1,813 tokens of tool definitions loaded into the model's context (release binary, default toolsets; measured 2026-10-26, v1.4.1). Compare all servers →
All 9 tools, by token cost
- search_provider_docs475
- get_provider_capabilities299
- search_modules199
- search_policies187
- get_latest_module_version165
- get_latest_provider_version145
- get_module_details119
- get_policy_details115
- get_provider_details109
Install
Docker image hashicorp/terraform-mcp-server or released binary (see README). Official install docs ↗
Credentials: Optional TFE_TOKEN for HCP Terraform / Enterprise features.
What it can access
Queries Terraform Registry; with a token, works with HCP Terraform/TFE workspaces.
Details
- Type
- MCP server
- Tasks
- Infra & deploy
- Compatible agents
- Claude Code, Claude Desktop, Cursor, VS Code, Codex (source: clients with a setup heading or install/config instructions in the official README)
- Maintenance
- Release v1.4.1 on 2026-10-23; last commit 2026-10-23
- License
- MPL-2.0
- Source
- https://github.com/hashicorp/terraform-mcp-server
- Verified on
- 2026-10-26
No independent security audit: entries summarize official sources only. Review permissions and code before installing.
Compared in: Best MCP servers for Infra & deploy in Cursor · Best MCP servers for Infra & deploy in Claude Code · Best MCP servers for Infra & deploy in VS Code · Best MCP servers for Infra & deploy in Claude Desktop · Best MCP servers for Infra & deploy
Badge for your README (maintainers)
The badge only says it's listed; it is not a security review or an endorsement.