Terraform for Grok
io.github.hashicorp/terraform-mcp-server
Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise
client:Grok
transport:stdio
runtime:oci
Install Terraform in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"terraform-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.0.0"
]
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs