Description

Infrastructure as Code management - plan, apply, and manage Terraform configurations and state.

Installation

npx -y @hashicorp/terraform-mcp
npm install @hashicorp/terraform-mcp
git clone https://github.com/hashicorp/terraform-mcp-server-server-server

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "terraform-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hashicorp/terraform-mcp"
      ]
    }
  }
}