Homebridge

v3.1.3
io.github.mp-consulting/homebridge-ai-kit Checked 5 days ago Published 1 month ago

Control Homebridge accessories and scenes, manage plugins and config.json, and read logs

Values you need

VariableWhat it is
HOMEBRIDGE_URLrequired Homebridge UI URL, e.g. http://192.168.1.100:8581
HOMEBRIDGE_TOKENoptional secret Homebridge UI API token (Glass UI, hbg_…); replaces username and password
HOMEBRIDGE_USERNAMEoptional Homebridge UI username, when no token is set
HOMEBRIDGE_PASSWORDoptional secret Homebridge UI password, when no token is set
HOMEBRIDGE_READ_ONLYoptional 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 mcp
Add 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

  1. Ask the user for: HOMEBRIDGE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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