Back to MCP Servers

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.

cloud-platformsai

Installation

npx -y tfmcp

Configuration

{
  "mcpServers": {
    "tfmcp": {
      "command": "npx",
      "args": ["-y", "tfmcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub