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
Chalk Labs
Need help deploying MCP Server Terraform?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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.
About
Reviews
Write a reviewNo 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_drifttf_outputtf_preflighttf_validate
Write 1 · Create, change, send or run things.
tf_workspace
Delete 4 · Delete, drop, revoke or wipe things.
tf_applytf_destroytf_resourcetf_state
Not yet classified 2 · We could not tell from the name and description.
tf_inittf_plan
Secrets and settings it asks for
Other settings (environment variables or headers).
ALLOW_ONLY_NON_DESTRUCTIVE_TOOLSALLOW_ONLY_READONLY_TOOLSAUDIT_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 dataApply 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 dataDestroy 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_driftDetect 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_initInitialize a Terraform working directory. Downloads providers and modules. Run this before plan or apply on a fresh workspace.
tf_outputRead Terraform output values from the current state. Returns all outputs as JSON, or a specific output by name.
tf_planRun terraform plan and return a human-readable diff of what will change. Safe — makes no changes to infrastructure.
tf_preflightCheck 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 dataResource-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 dataManage 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_validateValidate Terraform configuration files for syntax and internal consistency. Does not access remote state or APIs.
tf_workspaceManage 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
- Packages
- npm @rajsir/mcp-server-terraform
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get MCP Server Terraform running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
MCP Server Terraform. Agent Mart. https://agentmart.dev/connectors/rajeevsirohi-mcp-server-terraform (last updated 2026-10-24)