Install HAI-MCP for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"smlfg-hai-mcp": {
"command": "uvx",
"args": [
"hai-mcp"
],
"env": {
"HAI_HOME": "",
"HAI_OWNER_HOME": "",
"HAI_TRANSPORT": "stdio",
"HAI_HTTP_HOST": "127.0.0.1",
"HAI_HTTP_PORT": "8765",
"HAI_HTTP_TOKEN": "YOUR_HAI_HTTP_TOKEN"
}
}
}
}