1. Conduid
  2. Cloud
  3. nwiizo/tfmcp
MCP server · Cloud

nwiizo/tfmcp

🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integration. ⚡️

80Strong

Scored 22 hours ago · breakdown

About nwiizo/tfmcp

nwiizo/tfmcp is an MCP server published by nwiizo in the Cloud category: 🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integration. ⚡️. Conduid read 84 tools from its source: action_run, analyze_module_health, analyze_plan, analyze_state, analyze_terraform, apply_terraform and 78 more. No package is published for it, so it installs from a source checkout.

The repository has 373 stars and 31 forks, is licensed MIT, and its last commit was on 26 Nov 2026. The latest release is v0.2.4 (2 Oct 2026): Changelog All notable changes to tfmcp are documented in this file. It follows v0.2.3 (8 Sep 2026), and the 5 most recent releases go back to v0.2.0 (26 Mar 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include cloud and terraform.

Install

From source
git clone https://github.com/nwiizo/tfmcp

Tools (84)

action_runApply, discard, cancel, force-cancel, or force-execute a run when `ENABLE_TF_OPERATIONS=true`
analyze_module_healthModule health with cohesion/coupling metrics
analyze_planNEW Analyze plan with risk scoring and recommendations
analyze_stateNEW Analyze state with drift detection
analyze_terraformAnalyze configuration
apply_terraformApply the reviewed saved plan ID and verify state resource addresses
attach_policy_set_to_workspaceAttach a policy set to a workspace when `ENABLE_TF_OPERATIONS=true`
attach_variable_set_to_workspacesAttach a variable set to workspaces when `ENABLE_TF_OPERATIONS=true`
check_provider_lockfileCheck `.terraform.lock.hcl` for reproducible provider selections
create_runQueue a run when `ENABLE_TF_OPERATIONS=true`
create_variable_in_variable_setCreate a variable in a variable set when `ENABLE_TF_OPERATIONS=true`
create_variable_setCreate a variable set when `ENABLE_TF_OPERATIONS=true`
create_workspaceCreate a workspace when `ENABLE_TF_OPERATIONS=true`
create_workspace_tagsCreate or attach workspace tags when `ENABLE_TF_OPERATIONS=true`
create_workspace_variableCreate a workspace variable when `ENABLE_TF_OPERATIONS=true`
delete_variable_in_variable_setDelete a variable from a variable set when `ENABLE_TF_OPERATIONS=true`
delete_workspace_safelyUse the safe-delete workspace action when `ENABLE_TF_OPERATIONS=true`
destroy_terraformApply a reviewed saved destroy plan with explicit deletion permissions
detach_variable_set_from_workspacesDetach a variable set from workspaces when `ENABLE_TF_OPERATIONS=true`
detect_drift_candidatesDetect drift candidates from readable state without modifying infrastructure
detect_terraform_entrypointsDetect likely root module entrypoints
discard_terraform_planRemove an unneeded saved plan and free retention capacity
get_apply_detailsGet apply details
get_apply_logsGet apply logs
get_latest_module_versionLatest module version
get_latest_provider_versionLatest provider version
get_module_detailsModule details
get_plan_detailsGet plan details
get_plan_json_outputGet Terraform JSON plan output
get_plan_logsGet plan logs
get_policy_detailsPolicy library details
get_private_module_detailsGet private registry module details
get_private_provider_detailsGet private registry provider details
get_provider_capabilitiesProvider resources, data sources, functions, and guides
get_provider_detailsProvider details (HashiCorp-compatible alias)
get_provider_docsProvider documentation
get_provider_infoProvider details
get_resource_dependency_graphResource dependencies visualization
get_run_detailsGet run details
get_security_statusSecurity scan with secret detection
get_stack_detailsGet Terraform stack details
get_terraform_planGenerate a saved plan, or retrieve its redacted result and status by plan ID
get_terraform_stateShow current state
get_token_permissionsInspect configured token account details without exposing the token
get_workspace_detailsGet workspace details by ID or organization/name
get_workspace_policy_setsGet policy sets attached to a workspace
init_terraformInitialize Terraform working directory
inspect_state_safetyInspect state readability, drift risk, lockfile status, and blockers
inspect_terraform_projectInspect local Terraform directories, modules, and likely entrypoints
list_runsList workspace runs
list_stacksList Terraform stacks
list_terraform_orgsList visible organizations
list_terraform_plansList saved plan IDs, targets, statuses, and destroy flags
list_terraform_projectsList projects in an organization
list_terraform_resourcesList all managed resources
list_variable_setsList organization variable sets
list_workspace_variablesList workspace variables
list_workspacesList workspaces in an organization
prepare_terraform_changeGenerate blockers, warnings, and a recommended change sequence
read_workspace_tagsRead workspace tags
review_terraform_planReview plan risk, blockers, destructive changes, and recommendations
run_terraform_quality_checksRun CI-friendly validation, module health, guideline, and lockfile checks
search_modulesSearch modules (HashiCorp-compatible alias)
search_policiesSearch Sentinel/OPA policy libraries
search_private_modulesSearch private registry modules
search_private_providersSearch private registry providers
search_providersSearch providers (HashiCorp-compatible alias)
search_terraform_modulesSearch modules
search_terraform_providersSearch providers
set_terraform_directoryChange active project directory
suggest_module_refactoringRefactoring suggestions
summarize_plan_for_prGenerate markdown plan summary for PR comments
terraform_fmtNEW Format code
terraform_graphNEW Generate dependency graph
terraform_importNEW Import existing resources
terraform_outputGet output values with sensitive values redacted, including named queries
terraform_providersNEW Get provider info with lock file
terraform_refreshNEW Refresh state
terraform_taintNEW Taint/untaint resources
terraform_workspaceNEW Manage workspaces (list, show, new, select, delete)
update_workspaceUpdate workspace settings when `ENABLE_TF_OPERATIONS=true`
update_workspace_variableUpdate a workspace variable when `ENABLE_TF_OPERATIONS=true`
validate_terraformValidate configuration syntax
validate_terraform_detailedDetailed validation with guidelines

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.8K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by Cargo.lock.
  • ✓No dynamic code executionScanned 93 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
Streamable HTTPsrc/mcp/http.rs:18
Starts other programs
20 callssrc/terraform/execution.rs:29, src/terraform/fmt.rs:42, src/terraform/fmt.rs:124
Outbound network calls
12 callssrc/mcp/resources.rs:651, src/registry/client.rs:1, src/registry/policy.rs:6
Writes or deletes files
17 callssrc/core/tfmcp.rs:41, src/core/tfmcp.rs:241, src/core/tfmcp.rs:388
Lockfile
Cargo.lock

Pattern matches on the source text of 93 files: places to read, not proof of what the code does at run time.

Releases

v0.2.4tfmcp v0.2.4 · 2 Oct 2026Changelog All notable changes to tfmcp are documented in this file. [Unreleased] [0.2.4] - 2026-10-03 Added Saved destroy plans through `get_terraform_plan` with `destroy=true`. Review and apply the same ID, with deletion permissions…
v0.2.3tfmcp v0.2.3 · 8 Sep 2026Changelog All notable changes to tfmcp are documented in this file. [Unreleased] [0.2.3] - 2026-09-08 Added Saved local plans with opaque IDs, target and version metadata, variable-file inputs, replacement requests, and refresh-only…
v0.2.2tfmcp v0.2.2 · 13 Aug 2026Changelog All notable changes to tfmcp are documented in this file. [0.2.2] - 2026-08-13 v0.2.2 updates tfmcp to RMCP 3.0.1 and aligns its advertised MCP surface with the stable 2026-07-28 protocol while preserving older client…
v0.2.1tfmcp v0.2.1 · 26 Jul 2026Changelog All notable changes to tfmcp are documented in this file. [0.2.1] - 2026-07-26 v0.2.1 consolidates the completed v0.2.x work into one stable release while preserving tfmcp's local-first Terraform workflows. Added Public and…
v0.2.0v0.2.0 - Registry expansion, tool filtering & live docs · 26 Mar 2026What's Changed New Tools (3) `search_policies` — Search for Terraform policies (Sentinel/OPA) in the public registry `get_policy_details` — Get detailed information about a specific policy library `get_provider_capabilities` — Show all…

README

The repository's README runs to about 3.8K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About nwiizo/tfmcp

How do I install nwiizo/tfmcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is nwiizo/tfmcp safe to use with an AI agent?

Its trust score is 80 out of 100 (strong). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 93 source files found that it serves MCP over Streamable HTTP, starts other programs (20 calls), makes outbound network calls (12 calls) and writes or deletes files (17 calls). Its dependencies are pinned by Cargo.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is nwiizo/tfmcp still maintained?

Yes — the latest release is v0.2.4 (2 Oct 2026), and the last commit was 5 days ago. The repository has 373 stars and 8 open issues.

What tools does nwiizo/tfmcp provide?

Conduid read 84 tools from the source: action_run, analyze_module_health, analyze_plan, analyze_state, analyze_terraform, apply_terraform, attach_policy_set_to_workspace, attach_variable_set_to_workspaces and 76 more.

What license is nwiizo/tfmcp released under?

The repository declares the MIT license. That applies to the latest release, v0.2.4, as well.