mcp server terraform for Zed
io.github.rajeevsirohi/mcp-server-terraform
Safety-first Terraform: confirmation-gated apply/destroy, risk & cost analysis, drift detection
client:Zed
transport:stdio
runtime:npm
Install mcp server terraform in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"mcp-server-terraform": {
"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>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs