Skip to content
Agentmart
Submit a tool

MCP Server Terraform

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

Connector by RajeevSirohi · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 1
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/rajeevsirohi-mcp-server-terraform

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
4 read · 1 write · 4 delete · 2 not yet classified
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 11

Read from the source code; the running server may list different tools.

Read 4 · Look things up without changing anything.

  • tf_drift
  • tf_output
  • tf_preflight
  • tf_validate

Write 1 · Create, change, send or run things.

  • tf_workspace

Delete 4 · Delete, drop, revoke or wipe things.

  • tf_apply
  • tf_destroy
  • tf_resource
  • tf_state

Not yet classified 2 · We could not tell from the name and description.

  • tf_init
  • tf_plan

Secrets and settings it asks for

Other settings (environment variables or headers).

  • ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS
  • ALLOW_ONLY_READONLY_TOOLS
  • AUDIT_LOG_PATH

Tools (11)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • tf_applycan change or delete data

    Apply Terraform changes to real infrastructure. TWO-STEP SAFETY FLOW: 1. Call without confirmed=true → runs terraform plan, shows the diff, returns without applying. 2. Call with confirmed=true after reviewing the diff → actually applies the changes. Never pass confirmed=true without first showing the plan output to the user.

  • tf_destroycan change or delete data

    Destroy all Terraform-managed infrastructure in the workspace. TWO-STEP SAFETY FLOW: 1. Call without confirmed=true → shows the destroy plan (what will be deleted). 2. Call with confirmed=true after the user explicitly approves → destroys everything. This is irreversible. Always show the plan and get explicit user approval first.

  • tf_drift

    Detect infrastructure drift — resources that were changed outside of Terraform (e.g. manually in the cloud console). Runs a refresh-only plan and reports differences between state and reality. Read-only, makes no changes.

  • tf_init

    Initialize a Terraform working directory. Downloads providers and modules. Run this before plan or apply on a fresh workspace.

  • tf_output

    Read Terraform output values from the current state. Returns all outputs as JSON, or a specific output by name.

  • tf_plan

    Run terraform plan and return a human-readable diff of what will change. Safe — makes no changes to infrastructure.

  • tf_preflight

    Check which cloud providers are used in a Terraform workspace and verify authentication status for each. Call this before plan or apply to catch credential issues early.

  • tf_resourcecan change or delete data

    Resource-level state operations: - import: Bring an existing cloud resource under Terraform management (requires address + id) - taint: Mark a resource for recreation on next apply (requires address) - untaint: Remove the taint mark (requires address) - refresh: Sync state with real infrastructure (accepts drift into state)

  • tf_statecan change or delete data

    Manage Terraform state. Supports the following operations: - list: List all resources in state - show: Show attributes of a specific resource - mv: Move/rename a resource in state (use with care) - rm: Remove a resource from state without destroying it (destructive)

  • tf_validate

    Validate Terraform configuration files for syntax and internal consistency. Does not access remote state or APIs.

  • tf_workspace

    Manage Terraform workspaces. Supports: - list: List all workspaces and show which is active - show: Show the current workspace name - select: Switch to a workspace - new: Create a new workspace

Signals

Stars
1
Forks
0
Open issues
0
Last commit
Jul 7, 2026 (3 months ago)
Last release
Jul 7, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.RajeevSirohi/mcp-server-terraform
Version
0.2.1
Auth
No auth
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

MCP Server Terraform. Agent Mart. https://agentmart.dev/connectors/rajeevsirohi-mcp-server-terraform (last updated 2026-10-24)