Skip to content
mcp/skillhub

Terraform MCP Server

by rajeevsirohiio.github.RajeevSirohi/mcp-server-terraformv0.2.1

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

1Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing3mo ago

Install Terraform MCP server

Install in Claude Code

claude mcp add terraform -- npx -y @rajsir/mcp-server-terraform

Configuration

VariableRequiredSecretDescription
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)

Freshness

Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-07-07 · 3mo ago · GitHub

  2. Latest release

    2026-07-07 · 3mo ago · GitHub · v0.2.1

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-07 · 3mo ago · official registry · v0.2.1

FAQ

›How do I install the Terraform MCP server in Claude Code?

Run: claude mcp add terraform -- npx -y @rajsir/mcp-server-terraform. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Terraform require an API key?

No required environment variables are declared in its published metadata.

›Can I use Terraform as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Terraform in the official MCP registry?

Yes, as io.github.RajeevSirohi/mcp-server-terraform.

Alternatives to Terraform

Other cloud platforms MCP servers.

View all