LocalFree

Terraform MCP server

RajeevSirohi/mcp-server-terraform

Terraform operations with two-step confirmation for plan/apply/destroy, plan risk and cost analysis, drift detection, import/taint/refresh and audit logging.

1 GitHub stars

Install Terraform in Claude Code

Claude Code
claude mcp add rajeevsirohi-terraform -- npx -y @rajsir/mcp-server-terraform
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "rajeevsirohi-terraform": {
      "command": "npx",
      "args": [
        "-y",
        "@rajsir/mcp-server-terraform"
      ]
    }
  }
}

Frequently asked questions

What does the Terraform MCP server do?

Terraform operations with two-step confirmation for plan/apply/destroy, plan risk and cost analysis, drift detection, import/taint/refresh and audit logging.

Is the Terraform MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Terraform run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Terraform to Claude Code?

Run: claude mcp add rajeevsirohi-terraform -- npx -y @rajsir/mcp-server-terraform

More cloud platforms MCP servers

View all