Skip to content
Claude Code

mcp server terraform for Claude Code

io.github.rajeevsirohi/mcp-server-terraform

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

client:Claude Code transport:stdio runtime:npm

Install mcp server terraform in Claude Code

run in your project directory

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

claude mcp add mcp-server-terraform -e ALLOW_ONLY_READONLY_TOOLS=<ALLOW_ONLY_READONLY_TOOLS> -e ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS=<ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS> -e AUDIT_LOG_PATH=<AUDIT_LOG_PATH> -- npx -y @rajsir/mcp-server-terraform

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

mcp server terraform in other clients