Tfmcp is a command-line MCP server that enables large language models to interact with Terraform environments through tools for reading configurations, analyzing plans, applying changes, managing state, and creating or modifying infrastructure code. It provides capabilities including plan analysis with risk scoring, state inspection with drift detection, workspace management, resource dependency visualization, module registry integration, and enterprise-grade security controls with audit logging. The server solves the problem of giving AI assistants programmatic access to Terraform operations while maintaining production-ready security policies and detailed infrastructure analysis.
claude mcp add --transport stdio nwiizo-tfmcp uvx tfmcp