Homebridge
v3.1.3Control Homebridge accessories and scenes, manage plugins and config.json, and read logs
Values you need
| Variable | What it is | |
|---|---|---|
HOMEBRIDGE_URL | required | Homebridge UI URL, e.g. http://192.168.1.100:8581 |
HOMEBRIDGE_TOKEN | optional secret | Homebridge UI API token (Glass UI, hbg_…); replaces username and password |
HOMEBRIDGE_USERNAME | optional | Homebridge UI username, when no token is set |
HOMEBRIDGE_PASSWORD | optional secret | Homebridge UI password, when no token is set |
HOMEBRIDGE_READ_ONLY | optional | true registers only read-only tools |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add homebridge-ai-kit -e 'HOMEBRIDGE_URL=<HOMEBRIDGE_URL>' -- npx -y @mp-consulting/homebridge-ai-kit@3.1.3 mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"homebridge-ai-kit": {
"args": [
"-y",
"@mp-consulting/homebridge-ai-kit@3.1.3",
"mcp"
],
"command": "npx",
"env": {
"HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"homebridge-ai-kit": {
"args": [
"-y",
"@mp-consulting/homebridge-ai-kit@3.1.3",
"mcp"
],
"command": "npx",
"env": {
"HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "HOMEBRIDGE_URL",
"id": "homebridge-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"homebridge-ai-kit": {
"args": [
"-y",
"@mp-consulting/homebridge-ai-kit@3.1.3",
"mcp"
],
"command": "npx",
"env": {
"HOMEBRIDGE_URL": "${input:homebridge-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.homebridge-ai-kit]
command = "npx"
args = ["-y", "@mp-consulting/homebridge-ai-kit@3.1.3", "mcp"]
env = { "HOMEBRIDGE_URL" = "<HOMEBRIDGE_URL>" }For AI agents
- Ask the user for: HOMEBRIDGE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json