tfmcp MCP server
🌍 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. ⚡️
What tfmcp does
Summarised from the project README; check the repository for the latest details.
Tools exposed (20+)
init_terraform– Initialize Terraform working directoryget_terraform_plan– Generate a saved plan, or retrieve its redacted result and status by plan IDlist_terraform_plans– List saved plan IDs, targets, statuses, and destroy flagsdiscard_terraform_plan– Remove an unneeded saved plan and free retention capacityanalyze_plan– NEW Analyze plan with risk scoring and recommendationsapply_terraform– Apply the reviewed saved plan ID and verify state resource addressesdestroy_terraform– Apply a reviewed saved destroy plan with explicit deletion permissionsvalidate_terraform– Validate configuration syntaxvalidate_terraform_detailed– Detailed validation with guidelinesget_terraform_state– Show current stateanalyze_state– NEW Analyze state with drift detectionreview_terraform_plan– Review plan risk, blockers, destructive changes, and recommendationssummarize_plan_for_pr– Generate markdown plan summary for PR commentsrun_terraform_quality_checks– Run CI-friendly validation, module health, guideline, and lockfile checksinspect_state_safety– Inspect state readability, drift risk, lockfile status, and blockersdetect_drift_candidates– Detect drift candidates from readable state without modifying infrastructureprepare_terraform_change– Generate blockers, warnings, and a recommended change sequencelist_terraform_resources– List all managed resourcesset_terraform_directory– Change active project directoryterraform_workspace– NEW Manage workspaces (list, show, new, select, delete)
Requirements
- Rust 1.88.0+ (Rust Edition 2024)
- Terraform CLI 1.15.8 installed and available in `PATH`
- An MCP-compatible AI client (for example, Claude Desktop or Codex)
- Docker (optional, for containerized deployment)
Repository: nwiizo/tfmcp
Website: https://crates.io/crates/tfmcp
Stars: ★372
Language: Rust
Last updated: 2026-10-08
mcpmcp-serverterraform
Website: https://crates.io/crates/tfmcp
Stars: ★372
Language: Rust
Last updated: 2026-10-08
mcpmcp-serverterraform
How to install tfmcp
No install config was found in this README. See the repository for setup steps, then follow our guides for Claude Desktop, Cursor or VS Code.
Maintain this project? Get it featured for free during launch →
Related Cloud & DevOps MCP servers
TrendRadar by sansan0 · ★62913
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RS
Cloud & DevOps
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RS
Cloud & DevOps
ghidra-mcp by bethington · ★5626
Ghidra MCP Server — 200+ MCP tools for AI-powered reverse engineering. GUI plugin + headless server, lazy tool loading, convention enforceme
Cloud & DevOps
Ghidra MCP Server — 200+ MCP tools for AI-powered reverse engineering. GUI plugin + headless server, lazy tool loading, convention enforceme
Cloud & DevOps
archestra by archestra-ai · ★4371
Enterprise AI Platform with guardrails, MCP registry, gateway & orchestrator
Cloud & DevOps
Enterprise AI Platform with guardrails, MCP registry, gateway & orchestrator
Cloud & DevOps
radar by skyhook-io · ★3787
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology,
Cloud & DevOps
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology,
Cloud & DevOps
metamcp by metatool-ai · ★2707
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker
Cloud & DevOps
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker
Cloud & DevOps
Weekly MCP digest – new and trending MCP servers in your inbox.