terraform_refresh

MCP tool from Tfmcp by nwiizo

NEW Refresh state

How to use it

Project documentation lists terraform_refresh for the Tfmcp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Tfmcp

$docker run -it tfmcp
FULL TFMCP LISTING

Other tools in Tfmcp (39)

analyze_module_health

Module health with cohesion/coupling metrics

analyze_plan

NEW Analyze plan with risk scoring and recommendations

analyze_state

NEW Analyze state with drift detection

analyze_terraform

Analyze configuration

apply_terraform

Apply Terraform configuration

check_provider_lockfile

Check .terraform.lock.hcl for reproducible provider selections

destroy_terraform

Destroy Terraform-managed infrastructure

detect_drift_candidates

Detect drift candidates from readable state without modifying infrastructure

detect_terraform_entrypoints

Detect likely root module entrypoints

get_provider_capabilities

Provider resources, data sources, functions, and guides

get_provider_details

Provider details (HashiCorp-compatible alias)

get_provider_docs

Provider documentation

get_provider_info

Provider details

get_resource_dependency_graph

Resource dependencies visualization

get_security_status

Security scan with secret detection

get_terraform_plan

Generate and show execution plan

get_terraform_state

Show current state

init_terraform

Initialize Terraform working directory

inspect_state_safety

Inspect state readability, drift risk, lockfile status, and blockers

inspect_terraform_project

Inspect local Terraform directories, modules, and likely entrypoints

list_terraform_resources

List all managed resources

prepare_terraform_change

Generate blockers, warnings, and a recommended change sequence

review_terraform_plan

Review plan risk, blockers, destructive changes, and recommendations

run_terraform_quality_checks

Run CI-friendly validation, module health, guideline, and lockfile checks

search_modules

Search modules (HashiCorp-compatible alias)

search_providers

Search providers (HashiCorp-compatible alias)

search_terraform_providers

Search providers

set_terraform_directory

Change active project directory

suggest_module_refactoring

Refactoring suggestions

summarize_plan_for_pr

Generate markdown plan summary for PR comments

terraform_fmt

NEW Format code

terraform_graph

NEW Generate dependency graph

terraform_import

NEW Import existing resources

terraform_output

NEW Get output values

terraform_providers

NEW Get provider info with lock file

terraform_taint

NEW Taint/untaint resources

terraform_workspace

NEW Manage workspaces (list, show, new, select, delete)

validate_terraform

Validate configuration syntax

validate_terraform_detailed

Detailed validation with guidelines