Terraform
Rank #468io.github.hashicorp/terraform-mcp-server
Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise
Terraform is a Model Context Protocol (MCP) server published by hashicorp. It ranks #468 of 130,833 servers tracked on MCP Toplist, and its repository has 1,531 GitHub stars. Terraform is listed across 4 registries — Official MCP, PulseMCP, mcp.so and Glama, with 6 tracked versions. It was first listed on Apr 20, 2025 and most recently updated on Jun 10, 2026.
Ranks ahead of 130,365 of 130,833 servers on MCP Toplist.
Use Terraform
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add terraform-mcp-server -- docker run -i --rm -e "TFE_ADDRESS={address}" -e "TFE_TOKEN={token}" -e "ENABLE_TF_OPERATIONS={enabled}" docker.io/hashicorp/terraform-mcp-server:1.0.0[mcp_servers.terraform-mcp-server]
command = "docker"
args = ["run", "-i", "--rm", "-e", "TFE_ADDRESS={address}", "-e", "TFE_TOKEN={token}", "-e", "ENABLE_TF_OPERATIONS={enabled}", "docker.io/hashicorp/terraform-mcp-server:1.0.0"]Add to ~/.codex/config.toml.
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFE_ADDRESS={address}",
"-e",
"TFE_TOKEN={token}",
"-e",
"ENABLE_TF_OPERATIONS={enabled}",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config).
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFE_ADDRESS={address}",
"-e",
"TFE_TOKEN={token}",
"-e",
"ENABLE_TF_OPERATIONS={enabled}",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project).
{
"servers": {
"terraform-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFE_ADDRESS={address}",
"-e",
"TFE_TOKEN={token}",
"-e",
"ENABLE_TF_OPERATIONS={enabled}",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Save as .vscode/mcp.json in your workspace.
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFE_ADDRESS={address}",
"-e",
"TFE_TOKEN={token}",
"-e",
"ENABLE_TF_OPERATIONS={enabled}",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFE_ADDRESS={address}",
"-e",
"TFE_TOKEN={token}",
"-e",
"ENABLE_TF_OPERATIONS={enabled}",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.hashicorp%2Fterraform-mcp-server)<a href="https://mcptoplist.com/server/io.github.hashicorp%2Fterraform-mcp-server"><img src="https://mcptoplist.com/badge/io.github.hashicorp%2Fterraform-mcp-server.svg" alt="MCP Toplist: Top 1% of 130,833" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 5 registries
hashicorp
Available versions (6)
| Version | Published |
|---|---|
| 1.0.0 | Jun 10, 2026 |
| 0.5.0 | Apr 1, 2026 |
| 0.4.0 | Jan 22, 2026 |
| 0.3.3 | Nov 21, 2025 |
| 0.3.2 | Oct 24, 2025 |
| 0.1.0 | Nov 25, 2024 |
Frequently asked questions
- Who maintains Terraform?
- Terraform is maintained by hashicorp, which publishes 1 MCP server (6 total versions) tracked on MCP Toplist.
- Is Terraform listed on the Official MCP Registry?
- Yes — Terraform is listed on the Official MCP Registry, alongside PulseMCP, mcp.so and Glama.
- How many versions does Terraform have?
- MCP Toplist tracks 6 versions of Terraform, most recently published on Jun 10, 2026.
- Where can I find the source code for Terraform?
- The source code for Terraform is hosted at github.com/hashicorp/terraform-mcp-server.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.