🤖 AI Agents & MCP — app7.4
Developer CourseModule 7: AI Agents & MCPapp7.4
Reading10 min

Configure Claude Desktop in 60 Seconds

🤖 Module 7: AI Agents & MCP

Configure Claude Desktop in 60 Seconds

Step 1: Install Node.js (if not already installed)

node --version
# Need v18+. Install from nodejs.org if missing

Step 2: Test the MCP Server

# Verify the MCP server package works
npx @energyatit/mcp-server --help

Step 3: Configure Claude Desktop

Open Claude Desktop settings and add the MCP server:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "energyatit": {
      "command": "npx",
      "args": ["@energyatit/mcp-server"],
      "env": {
        "ENERGYATIT_API_KEY": "eat_test_YOUR_KEY_HERE",
        "ENERGYATIT_BASE_URL": "https://app.energyatit.com"
      }
    }
  }
}

Step 4: Restart Claude Desktop

Close and reopen Claude Desktop. You should see a tools icon indicating MCP tools are loaded.

Step 5: Test It

Type in Claude Desktop:

"List all my energy sites"

Claude should call the list_sites tool and show your sandbox sites.

"What is the current battery SOC at site 1?"

Claude should call get_meter_readings and tell you the state of charge.

Troubleshooting

  • No tools icon: Check the config JSON syntax (commas, quotes)
  • Authentication error: Verify your API key is correct
  • Connection timeout: Check that npx @energyatit/mcp-server runs without errors

Log in to track your progress and earn certifications.