Skip to content
Windsurf

mcp server terraform for Windsurf

io.github.rajeevsirohi/mcp-server-terraform

Safety-first Terraform: confirmation-gated apply/destroy, risk & cost analysis, drift detection

client:Windsurf transport:stdio runtime:npm

Install mcp server terraform in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

mcp server terraform in other clients