
Terraform MCP Server
by hashicorpio.github.hashicorp/terraform-mcp-serverv1.0.0
Terraform ecosystem integration: provider discovery, module analysis and Terraform Registry API access for infrastructure-as-code workflows.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install Terraform MCP server
Install in Claude Code
claude mcp add terraform-hashicorp -- docker run -i --rm docker.io/hashicorp/terraform-mcp-server:1.0.0Install in Cursor
{
"mcpServers": {
"terraform-hashicorp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"terraform-hashicorp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"terraform-hashicorp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"terraform-hashicorp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 1d ago · GitHub
Latest release
2026-08-26 · 44d ago · GitHub · v1.3.0
Package published
no data · npm/PyPI
Registry entry updated
2026-06-10 · 4mo ago · official registry · v1.0.0
FAQ
›How do I install the Terraform MCP server in Claude Code?
Run: claude mcp add terraform-hashicorp -- docker run -i --rm docker.io/hashicorp/terraform-mcp-server:1.0.0. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Terraform require an API key?
No required environment variables are declared in its published metadata.
›Can I use Terraform as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Terraform in the official MCP registry?
Yes, as io.github.hashicorp/terraform-mcp-server.
Alternatives to Terraform
Other cloud platforms MCP servers.