Skip to main content

MCP Server Terraform

io.github.RajeevSirohi/mcp-server-terraform

v0.2.1Updated Jul 7, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mcp-server-terraform -- npx -y @rajsir/[email protected]

Configuration

3 settings.

  • ALLOW_ONLY_READONLY_TOOLS
    Env var· optional
    Set to 'true' to expose only validate/plan/output/preflight/drift tools
  • ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS
    Env var· optional
    Set to 'true' to block apply/destroy/state-mutation tools
  • AUDIT_LOG_PATH
    Env var· optional
    File path for JSON-lines audit logging of all tool calls (var values redacted)

Listed in the official MCP Registry since Jul 7, 2026. Mirrored daily; last checked Nov 26, 2026.