PluginBench
MCP Server
Maintained
MIT

io.github.RajeevSirohi/mcp-server-terraform MCP Server

io.github.RajeevSirohi/mcp-server-terraform

What is the io.github.RajeevSirohi/mcp-server-terraform MCP server?

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

How to install io.github.RajeevSirohi/mcp-server-terraform

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • ALLOW_ONLY_READONLY_TOOLS

    Set to 'true' to expose only validate/plan/output/preflight/drift tools

  • ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS

    Set to 'true' to block apply/destroy/state-mutation tools

  • AUDIT_LOG_PATH

    File path for JSON-lines audit logging of all tool calls (var values redacted)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-terraform": {
      "command": "npx",
      "args": [
        "-y",
        "@rajsir/mcp-server-terraform"
      ],
      "env": {
        "ALLOW_ONLY_READONLY_TOOLS": "<YOUR_ALLOW_ONLY_READONLY_TOOLS>",
        "ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "<YOUR_ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS>",
        "AUDIT_LOG_PATH": "<YOUR_AUDIT_LOG_PATH>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-terraform": {
      "command": "npx",
      "args": [
        "-y",
        "@rajsir/mcp-server-terraform"
      ],
      "env": {
        "ALLOW_ONLY_READONLY_TOOLS": "<YOUR_ALLOW_ONLY_READONLY_TOOLS>",
        "ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "<YOUR_ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS>",
        "AUDIT_LOG_PATH": "<YOUR_AUDIT_LOG_PATH>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mcp-server-terraform": {
      "command": "npx",
      "args": [
        "-y",
        "@rajsir/mcp-server-terraform"
      ],
      "env": {
        "ALLOW_ONLY_READONLY_TOOLS": "<YOUR_ALLOW_ONLY_READONLY_TOOLS>",
        "ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "<YOUR_ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS>",
        "AUDIT_LOG_PATH": "<YOUR_AUDIT_LOG_PATH>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "mcp-server-terraform": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rajsir/mcp-server-terraform"
      ],
      "env": {
        "ALLOW_ONLY_READONLY_TOOLS": "<YOUR_ALLOW_ONLY_READONLY_TOOLS>",
        "ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "<YOUR_ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS>",
        "AUDIT_LOG_PATH": "<YOUR_AUDIT_LOG_PATH>"
      }
    }
  }
}
Claude Code
claude mcp add mcp-server-terraform --env ALLOW_ONLY_READONLY_TOOLS=<YOUR_ALLOW_ONLY_READONLY_TOOLS> --env ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS=<YOUR_ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS> --env AUDIT_LOG_PATH=<YOUR_AUDIT_LOG_PATH> -- npx -y @rajsir/mcp-server-terraform

Related MCP servers

Control a real Chrome browser to complete any task: fill forms, extract data, book flights.

110k
Python
MIT
View repository →

Real-time global intelligence: markets, conflicts, country risk, energy, and infrastructure monitoring via 39 MCP tools.

83k
TypeScript
AGPL-3.0
View repository →

Netdata

Active

Real-time infrastructure monitoring with per-second metrics, ML-powered anomaly detection, and zero-configuration setup.

80k
Go
GPL-3.0
View repository →

Trending hip-hop artist momentum scores across four cultural dimensions.

79k
TypeScript
MIT
View repository →

AI orchestration platform with 100+ agents, swarm coordination, and self-learning memory for enterprise development.

68k
TypeScript
MIT
View repository →

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass capabilities.

67k
Python
BSD-3-Clause
View repository →