mcp server terraform for Grok
io.github.rajeevsirohi/mcp-server-terraform
Safety-first Terraform: confirmation-gated apply/destroy, risk & cost analysis, drift detection
client:Grok
transport:stdio
runtime:npm
Install mcp server terraform in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mcp-server-terraform": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rajsir/mcp-server-terraform"
],
"env": {
"ALLOW_ONLY_READONLY_TOOLS": "<ALLOW_ONLY_READONLY_TOOLS>",
"ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "<ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS>",
"AUDIT_LOG_PATH": "<AUDIT_LOG_PATH>"
}
}
}
}
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