# Homebridge

> Homebridge is a free MCP server for smart home. 43 tools to control Homebridge accessories, scenes, plugins, config and logs from AI. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Self-hosted, CLI
- **Repository:** https://github.com/mp-consulting/homebridge-ai-kit
- **MCP Registry name:** io.github.mp-consulting/homebridge-ai-kit
- **Categories:** [smart home](https://ai-powered.com/categories/smart-home), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

```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 Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
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
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```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>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

```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.

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```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>"
      }
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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.

### Kiro (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/homebridge
