Skip to content
MCP server

Homebridge

43 tools to control Homebridge accessories, scenes, plugins, config and logs from AI

Runs locally

Homebridge is a free MCP server for smart home. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
Self-hosted, CLI
Runs
Locally
Version
3.1.3
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add homebridge-ai-kit --env HOMEBRIDGE_URL='<HOMEBRIDGE_URL>' --env HOMEBRIDGE_TOKEN='<HOMEBRIDGE_TOKEN>' --env HOMEBRIDGE_PASSWORD='<HOMEBRIDGE_PASSWORD>' -- npx -y @mp-consulting/homebridge-ai-kit

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "homebridge-ai-kit": {
      "command": "npx",
      "args": [
        "-y",
        "@mp-consulting/homebridge-ai-kit"
      ],
      "env": {
        "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
        "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
        "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "homebridge-ai-kit": {
      "command": "npx",
      "args": [
        "-y",
        "@mp-consulting/homebridge-ai-kit"
      ],
      "env": {
        "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
        "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
        "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "homebridge-ai-kit": {
      "command": "npx",
      "args": [
        "-y",
        "@mp-consulting/homebridge-ai-kit"
      ],
      "env": {
        "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
        "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
        "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "homebridge-ai-kit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mp-consulting/homebridge-ai-kit"
      ],
      "env": {
        "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
        "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
        "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add homebridge-ai-kit --env HOMEBRIDGE_URL='<HOMEBRIDGE_URL>' --env HOMEBRIDGE_TOKEN='<HOMEBRIDGE_TOKEN>' --env HOMEBRIDGE_PASSWORD='<HOMEBRIDGE_PASSWORD>' -- npx -y @mp-consulting/homebridge-ai-kit

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.homebridge-ai-kit]
command = "npx"
args = ["-y", "@mp-consulting/homebridge-ai-kit"]
env = { HOMEBRIDGE_URL = "<HOMEBRIDGE_URL>", HOMEBRIDGE_TOKEN = "<HOMEBRIDGE_TOKEN>", HOMEBRIDGE_PASSWORD = "<HOMEBRIDGE_PASSWORD>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "homebridge-ai-kit": {
      "command": "npx",
      "args": [
        "-y",
        "@mp-consulting/homebridge-ai-kit"
      ],
      "env": {
        "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
        "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
        "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e HOMEBRIDGE_URL='<HOMEBRIDGE_URL>' -e HOMEBRIDGE_TOKEN='<HOMEBRIDGE_TOKEN>' -e HOMEBRIDGE_PASSWORD='<HOMEBRIDGE_PASSWORD>' homebridge-ai-kit npx -- -y @mp-consulting/homebridge-ai-kit

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "homebridge-ai-kit": {
          "command": "npx",
          "args": [
            "-y",
            "@mp-consulting/homebridge-ai-kit"
          ],
          "env": {
            "HOMEBRIDGE_URL": "<HOMEBRIDGE_URL>",
            "HOMEBRIDGE_TOKEN": "<HOMEBRIDGE_TOKEN>",
            "HOMEBRIDGE_PASSWORD": "<HOMEBRIDGE_PASSWORD>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • HOMEBRIDGE_URLHomebridge UI URL, e.g. http://192.168.1.100:8581Required
  • HOMEBRIDGE_TOKENHomebridge UI API token (Glass UI, hbg_…); replaces username and password
  • HOMEBRIDGE_USERNAMEHomebridge UI username, when no token is set
  • HOMEBRIDGE_PASSWORDHomebridge UI password, when no token is set
  • HOMEBRIDGE_READ_ONLYtrue registers only read-only tools

About Homebridge

This package bundles three things for Homebridge users: an MCP server, an in-UI AI assistant library, and a Homebridge plugin with a settings page. The MCP server covers accessories (list, get, control with value checks, bulk control with a dry run, and confirmation for locks, garage doors and alarms), scenes, server status and restart, child bridges, config reading with secrets redacted, backups and restore, plugin install and update, system info and log search.

It also offers subscribable resources for accessories, recent logs and status, plus prompts such as diagnose-logs, plan-upgrade, audit-config, troubleshoot-device and scene-builder. Setting HOMEBRIDGE_READ_ONLY registers only read-only tools, and the HTTP mode supports per-client tokens scoped to read, control or admin.

The library side adds provider adapters for Anthropic, OpenAI, Gemini and OpenAI-compatible servers such as Ollama, with redaction of inputs before they reach a provider. The package was renamed from homebridge-mcp-server and the old command still works.

What it does

Accessory control
Lists and controls accessories, with dry-run bulk control and confirmation for locks and alarms.
Config management
Reads config with secrets redacted, patches it with dry-run diffs and restores backups.
Plugin management
Searches, installs, updates and uninstalls plugins.
Logs and diagnostics
Recent lines, regex search and diagnose prompts.
Scoped tokens
Read, control or admin tokens per client in HTTP mode.
Read-only mode
An environment flag registers only read-only tools.

Good for

  • Ask why a device stopped responding
  • Run a scene by name
  • Review a config before upgrading plugins
  • Get a nightly health check of the Homebridge server

Pricing

Free

Free npm package; AI provider usage billed by the provider you choose

Homebridge FAQ

How many tools does Homebridge have?

43 MCP tools, according to the README.

Can I limit Homebridge to reading?

Yes. Set HOMEBRIDGE_READ_ONLY to true, or use a read scope token in HTTP mode.

Which AI providers does the assistant support?

Anthropic, OpenAI, Gemini and OpenAI-compatible servers such as Ollama and LM Studio.

What does Homebridge need to connect?

The Homebridge UI URL and either an API token or a username and password.

Is Homebridge free?

Yes. Homebridge is free to use.

How do I add Homebridge to Claude Code?

Run this command in your terminal: claude mcp add homebridge-ai-kit --env HOMEBRIDGE_URL='<HOMEBRIDGE_URL>' --env HOMEBRIDGE_TOKEN='<HOMEBRIDGE_TOKEN>' --env HOMEBRIDGE_PASSWORD='<HOMEBRIDGE_PASSWORD>' -- npx -y @mp-consulting/homebridge-ai-kit

What are the best alternatives to Homebridge?

The closest alternatives to Homebridge are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers