Home/Directory/AI & ML/Tfmcp

Tfmcp

@nwiizo · github.com/nwiizo/tfmcp

A Terraform MCP server allowing AI assistants to manage and operate Terraform environments, enabling reading configurations, analyzing plans, applying configurations, and managing Terraform state.

ClaimedAI & MLstdioToolsResourceslocal auth
GitHub

Install one command

terminal
$ cargo install tfmcp

Or add it with the Claude CLI: claude mcp add nwiizo-tfmcp

Tools exposed 30 tools

init_terraform
get_terraform_plan
analyze_plan
apply_terraform
destroy_terraform
validate_terraform
validate_terraform_detailed
get_terraform_state
analyze_state
list_terraform_resources
set_terraform_directory
terraform_workspace
terraform_import
terraform_taint
terraform_refresh
terraform_fmt
terraform_graph
terraform_output
terraform_providers
analyze_terraform
analyze_module_health
get_resource_dependency_graph
suggest_module_refactoring
get_security_status
search_terraform_providers
get_provider_info
get_provider_docs
search_terraform_modules
get_module_details
get_latest_module_version

Configuration generate & copy

Values are filled in locally in your browser — nothing is sent anywhere.

claude_desktop_config.json
{
  "mcpServers": {
    "nwiizo-tfmcp": {
      "command": "cargo",
      "args": ["install", "tfmcp"],
      "env": {
        "TERRAFORM_DIR": "<your-terraform-dir>"
      }
    }
  }
}

Paste the Claude Desktop snippet under mcpServers in your config, then restart Claude Desktop — or run the Claude Code command in your terminal.

Related

Similar servers

More in AI & ML
Compare
@microsoft

MCP tool access to MarkItDown a library that converts many file formats (local or remote) to Markdown for LLM consumption.

AI & MLstdioRead-only no-auth
149.5k3w ago5 toolslocal
$pip install -e 'packages/markitdown[all]'
Compare
@upstash

Up-to-date code documentation for LLMs and AI code editors.

AI & MLstdioRead-only auth
57.1k6d ago3 toolslocal
$npx ctx7 setup
Compare
@eyaltoledano

AI-powered task management system for AI-driven development.

AI & MLstdioWrite auth
27.4k2mo ago15 toolslocal
$npx task-master init