@mp-consulting/homebridge-mcp-server
This server lets an AI assistant inspect and control a Homebridge smart-home instance — reading accessories, config, plugins, logs and system status, and performing device control, config writes, plugin lookups and restarts.
Accessories: list all accessories (filtered by name, room, type, manufacturer, or excluded manufacturer), get one accessory's details by uniqueId, view the room layout, and set characteristics (on/off, brightness, color temperature, temperature, etc.) on a chosen accessory.
Server status: check whether Homebridge is up and its version/plugin status, get server info (Homebridge/Node version, uptime, OS, instance ID), read HomeKit pairing info (setup code, QR URL), and restart the Homebridge service.
Cached accessories: list cached accessories, remove one by UUID, or reset all cached accessories (requires a restart).
Configuration: read the current
config.json, and replace it wholesale with a full config object (must supply the complete file).Plugins: list installed plugins with versions and update status; search the npm registry; look up plugin details, available versions/dist-tags, config schema, and changelog.
System & logs: get machine info (CPU, memory, OS, network interfaces, uptime), tail the most recent Homebridge log lines (up to 5000), and search logs by substring or regex with case sensitivity and a match limit.
Provides tools to control Homebridge accessories, manage plugins, edit configuration, and monitor server status.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@mp-consulting/homebridge-mcp-server Turn off the living room lights"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@mp-consulting/homebridge-ai-kit
AI toolkit for Homebridge, in one package:
An MCP server that lets AI assistants (Claude Desktop, Claude Code, Cursor) control accessories, manage plugins, edit configuration and read logs, over stdio or Streamable HTTP.
The Assistant: provider adapters (Claude, OpenAI, Gemini, any OpenAI-compatible server), an agent loop wired to the MCP tools, and ready-made features (log doctor, config copilot, device-error explainer, update-risk briefing, organiser, daily digest). Homebridge Glass UI and the MP Consulting plugins use these.
A Homebridge plugin (
HomebridgeAiKitplatform) with a settings page to pick the provider and model, test the connection, serve MCP over HTTP and generate client configs.
The AI building blocks that don't need MCP also ship on their own as @mp-consulting/homebridge-ai-core — see Packages.
Renamed from
@mp-consulting/homebridge-mcp-server. The oldhomebridge-mcp-servercommand still works, so existing MCP client configs don't need to change. See Migrating from homebridge-mcp-server.
Contents
Related MCP server: hass-mcp-server
Packages
This repository is an npm workspace that publishes two packages, both at version 2.0.0:
Package | Use it for | Runtime dependencies |
Homebridge plugins. The plugin-UI Assistant routes ( |
| |
| Homebridge Glass UI and MCP. Everything in ai-core (re-exported) plus the MCP server, | ai-core, |
Plugins should depend on ai-core, so installing them doesn't pull in the MCP SDK, socket.io or zod. ai-kit stays backward compatible: its . and ./plugin exports re-export everything ai-core has under the same names, so code that imports from ai-kit keeps working.
Features
MCP tools (43): accessories (list, get, control with value checks, bulk control with dryRun, locks / garage doors / alarms behind confirmation, room layout, sensor history), scenes (list, run, save), server (status, restart, pairing, cached accessories), child bridges (list, health, restart, stop, start), config (read with secrets redacted, full write, partial patch_config, dryRun diffs, backups and restore), instance backups, test notifications, plugins (list, search, versions, schema, changelog, install, update, uninstall), system info and logs (recent lines, filtered regex search).
MCP resources you can subscribe to: homebridge://accessories, homebridge://logs/recent, homebridge://status. Changes arrive over the Homebridge UI's socket.io namespaces, or by polling when the socket can't be used.
MCP resource templates (listed in resources/list, with completion): homebridge://accessory/{uniqueId} (one accessory with every characteristic), homebridge://plugin/{name} (one installed plugin and its child bridges; URL-encode scoped names), homebridge://child-bridge/{id} (one child bridge by username, with its health on Glass UI).
MCP prompts: diagnose-logs, plan-upgrade, audit-config, troubleshoot-device (device, symptom?), nightly-health-check (hours?), scene-builder (description, room?).
Assistant features (library): diagnoseLogs, generatePluginConfig, explainDeviceError, assessPluginUpdate, suggestOrganization, dailyDigest, ask, and runAgent for anything that needs the tools. Every input is redacted before it reaches a provider and trimmed to fit its context window; JSON outputs are checked against a schema with one automatic repair attempt; token usage and Claude costs are tracked.
Providers
All providers use plain fetch (no SDKs). Each declares what it can do, and features without tool calling fall back to prompt-only answers.
| Default model | API key | Tools | Streaming | Context |
|
| required | yes | yes | 1M (200K for Haiku) |
|
| required | yes | yes | 128K (set |
|
| required | yes | yes | 1M |
|
| optional | yes | yes | 8K (set |
Claude models:
claude-sonnet-5-5(default),claude-haiku-4-5-20251001(cheapest),claude-opus-5-5(most capable).OpenAI models:
gpt-6.1-sol(default),gpt-6-luna(cheapest),gpt-6-astra(most capable). Requests use the Responses API withstore: false(nothing is kept on OpenAI's side); newer models only call tools through it. Set"openaiApi": "chat"to use Chat Completions instead, e.g. for a proxy that only speaks it.openai-compatibleworks with Ollama (http://127.0.0.1:11434/v1, the default), LM Studio (http://127.0.0.1:1234/v1), vLLM and similar. SetcontextTokensto your model's context window so inputs are trimmed correctly.An on-device Apple Foundation Models provider is planned.
Homebridge plugin
Install it like any plugin (Homebridge 1.8+ or 2.x):
npm install -g @mp-consulting/homebridge-ai-kitThen open its settings in the Homebridge UI. The settings page edits the HomebridgeAiKit platform block, tests the connection with the values in the form, and shows ready-to-paste configs for Claude Desktop, Claude Code and Cursor.
{
"platform": "HomebridgeAiKit",
"name": "AI Kit",
"enabled": true,
"provider": "anthropic", // anthropic | openai | gemini | openai-compatible
"model": "claude-sonnet-5-5", // optional, defaults per provider
"apiKey": "sk-ant-…", // secret, redacted wherever config is shown to a model
"baseUrl": "http://127.0.0.1:11434/v1", // openai-compatible only (or a proxy)
"contextTokens": 32768, // optional override, mainly for local models
"maxOutputTokens": 2048,
"effort": "medium", // Claude and OpenAI: low | medium | high | xhigh | max (unset = model default)
"openaiApi": "responses", // openai / openai-compatible: responses | chat (default responses for OpenAI, chat for local servers)
"maxRetries": 2, // retries on 408/429/5xx/529 and network errors (backoff, honours retry-after); 0 = off
"mcp": {
"http": {
"enabled": false,
"host": "127.0.0.1",
"port": 8582,
"token": "…", // bearer token MCP clients must send
"homebridgeUrl": "http://127.0.0.1:8581",
"homebridgeToken": "hbg_…", // Glass UI API token the tools act with
"homebridgeTokenId": "…", // written by Glass UI so it can revoke that token; leave as is
"homebridgeCertFingerprint": "AB:CD:…", // https UI with a self-signed certificate: its SHA-256 fingerprint
"homebridgeCertPath": "/path/to/certificate.pem", // or a PEM with the UI's certificate or its CA
"readOnly": false, // true caps every client token at read-only
"clients": [ // more client tokens, each with a scope: read | control | admin
{ "name": "Dashboard", "token": "…", "scope": "read" }
],
"allowedOrigins": ["https://my-dashboard.local"], // browser pages allowed besides localhost / this server's IP
"auditLog": true, // log every write tool call (JSONL)
"auditLogPath": "/var/lib/homebridge/homebridge-ai-kit-audit.jsonl" // default: Homebridge storage path
}
}
}With mcp.http.enabled, the plugin serves MCP at http://<host>:<port>/mcp while Homebridge runs. It needs a client token (mcp.http.token, HOMEBRIDGE_AI_MCP_TOKEN, or at least one scoped token in mcp.http.clients) and Homebridge credentials: a Glass UI API token in homebridgeToken, or the HOMEBRIDGE_* environment variables. A read-only API token gives clients read-only access.
MCP tokens
The MCP server uses two different tokens:
Token | What it is for | Stored in |
Client token | What Claude, Cursor or another MCP client must send ( |
|
Scoped client tokens | Optional extra client tokens with less access, e.g. a read-only token for a dashboard |
|
Homebridge API token | What the MCP server sends to the Homebridge UI to run its tools. Its scope decides what clients can do: |
|
Where to set or generate them:
Homebridge Glass UI 2.0.0-beta.6 or later: Settings → Assistant → MCP server generates the client token, creates the Homebridge API token in one click (read-only or admin, revoked again when you replace or remove it), and shows the client configs. Each secret is shown once; after that the page only says whether one is set.
This plugin's settings page: Generate creates a client token. Paste a Homebridge API token created in Glass UI under Users → API Tokens.
The CLI: set
HOMEBRIDGE_AI_MCP_TOKENandHOMEBRIDGE_TOKEN(see MCP server), e.g.HOMEBRIDGE_AI_MCP_TOKEN=$(openssl rand -base64 24).
Client token scopes (each includes the ones before it):
Scope | Tools |
| Every read-only tool |
| Plus device control: |
| Plus everything else: config writes and restores, backups, |
The main client token is admin (as before), or read when readOnly is on; readOnly caps the scoped tokens too. A session belongs to the token that opened it. The client token decides which tools a client sees; the Homebridge API token still limits what the server itself can do, so a read API token keeps everything read-only.
Every write tool call is appended to an audit log (<Homebridge storage>/homebridge-ai-kit-audit.jsonl by default; mcp.http.auditLog / auditLogPath, or HOMEBRIDGE_AI_AUDIT_LOG for the CLI): one JSON object per line with ts, tool, args (secrets redacted), ok, error, session, client, principal (the token's name: default for the main token, agent for runAgent) and scope; notConfirmed: true marks a destructive call the user declined (MCP elicitation, or runAgent's confirm), which did not run. Dry runs are logged too, with dryRun: true in args. runAgent takes the same audit option. It rotates at 5 MB and keeps three old files.
Glass UI also stores homebridgeTokenId, the id of the API token it created, so it can revoke the token when you replace or remove it. The settings page keeps it (and any other field it doesn't show) when it saves.
Homebridge UI over HTTPS with a self-signed certificate
Node refuses a self-signed certificate, so the MCP server can't reach a Homebridge UI served that way until you tell it which certificate to trust. Verification is never turned off: the setting only applies to the server's requests to the Homebridge UI.
Setting | CLI | What it trusts |
|
| Exactly the certificate with this SHA-256 fingerprint (pinned). Any other certificate, even a valid one, is refused with an error that shows both fingerprints. |
|
| The certificates in this PEM file, on top of the public CAs: the UI's own self-signed certificate (accepted under any host name, e.g. |
Get the fingerprint on the Homebridge machine with openssl x509 -noout -fingerprint -sha256 -in <certificate.pem> (Glass UI's self-signed certificate is <storage>/ssl-certs/certificate.pem); colons and case don't matter. Setting both requires the chain to validate against the PEM and the certificate to match the fingerprint. Update the fingerprint when the certificate is renewed. Both only apply to an https URL. Resource subscriptions then follow changes by polling, since the socket.io connection keeps Node's default verification.
Changes to mcp.http apply after a Homebridge restart, since the plugin starts the HTTP server when Homebridge loads it. Treat both tokens like passwords: anyone with the client token can use every tool the Homebridge API token allows.
Assistant routes for other plugins
A plugin's custom UI server can offer the Assistant with one call. Import the routes from @mp-consulting/homebridge-ai-core/plugin (ai-kit's ./plugin re-exports them, but plugins should depend on the slimmer ai-core). The browser side is MpKit.ai from @mp-consulting/homebridge-ui-kit:
// homebridge-ui/server.js
import { HomebridgePluginUiServer } from '@homebridge/plugin-ui-utils';
import { registerAiRoutes } from '@mp-consulting/homebridge-ai-core/plugin';
class UiServer extends HomebridgePluginUiServer {
constructor() {
super();
registerAiRoutes(this, { pluginName: '@mp-consulting/homebridge-ewelink' });
this.ready();
}
}
new UiServer();Route | Body | Result |
| none |
|
|
|
|
|
|
|
|
|
|
With a requestId, the server streams ai:chunk { requestId, delta } events, then ai:done { requestId } or ai:error { requestId, message }. The routes read the HomebridgeAiKit block from config.json on every request, so settings changes apply at once.
MCP server
Install
How | For |
| The Claude app: double-click to install it as an extension, then fill in the Homebridge UI URL and a token (or username and password). No Node or config file needed. |
| A |
| Any MCP client, no install (see the configs below) |
The server is also listed in the MCP registry as io.github.mp-consulting/homebridge-ai-kit.
Environment
Variable | Description |
| URL of your Homebridge UI, e.g. |
| A Homebridge UI API token (Glass UI |
| UI login, when no token is set |
|
|
|
|
|
|
| Request timeout (default |
| SHA-256 fingerprint of an |
| PEM file with the |
| Bearer token required by |
|
|
| Path of a JSONL audit log of write tool calls (off by default for the CLI) |
|
|
|
|
|
|
stdio (Claude Desktop, Claude Code, Cursor)
{
"mcpServers": {
"homebridge": {
"command": "npx",
"args": ["-y", "@mp-consulting/homebridge-ai-kit", "mcp"],
"env": {
"HOMEBRIDGE_URL": "http://192.168.1.100:8581",
"HOMEBRIDGE_TOKEN": "hbg_…"
}
}
}
}claude mcp add homebridge -e HOMEBRIDGE_URL=http://192.168.1.100:8581 -e HOMEBRIDGE_TOKEN=hbg_… -- npx -y @mp-consulting/homebridge-ai-kit mcpStreamable HTTP
HOMEBRIDGE_AI_MCP_TOKEN=$(openssl rand -base64 24) \
HOMEBRIDGE_URL=http://127.0.0.1:8581 HOMEBRIDGE_TOKEN=hbg_… \
homebridge-ai-kit mcp --http --port 8582 --host 127.0.0.1The endpoint is http://127.0.0.1:8582/mcp. Every request needs Authorization: Bearer <HOMEBRIDGE_AI_MCP_TOKEN>. It binds to 127.0.0.1 by default; only use --host 0.0.0.0 on a trusted network, ideally behind HTTPS.
Origin check. As the MCP spec requires, a request with an
Originheader (i.e. from a web page) is refused with403unless the origin is a loopback one (http://localhost:…,127.0.0.1,[::1]), the server's own IP address, or listed inHOMEBRIDGE_AI_MCP_ALLOWED_ORIGINS(plugin:mcp.http.allowedOrigins). This stops a malicious page from reaching the server through DNS rebinding. Desktop clients send noOriginand are unaffected.Sessions close after 30 idle minutes, and at most 32 stay open. Sessions with an open stream are never idle. All sessions share one Homebridge change feed for
resources/subscribe.Bad tokens. After 5 wrong tokens from one address, it must wait before trying again (
429withRetry-After, doubling up to 5 minutes); a correct token resets the count.
claude mcp add --transport http homebridge http://127.0.0.1:8582/mcp --header "Authorization: Bearer <token>"Tools
Group | Tools |
Accessories |
|
Server |
|
Child bridges |
|
Scenes* |
|
Notifications* |
|
Config |
|
Backups |
|
Plugins |
|
System |
|
Logs |
|
* Needs Homebridge Glass UI; with another Homebridge UI these tools answer with an error saying so.
The list/get tools (
list_accessories,get_accessory,list_plugins,list_child_bridges,get_child_bridge_health,get_homebridge_status,get_server_status,search_logs,list_scenes) also returnstructuredContentmatching theiroutputSchema.set_accessorychecks the value against the characteristic first (format, min/max, step, valid values, write permission), coerces"50"to50or1totrue, and explains what is wrong instead of sending a bad value.Locks, garage doors and security systems (
LockTargetState,TargetDoorState,SecuritySystemTargetState, or any characteristic of aLockMechanism,GarageDoorOpenerorSecuritySystemservice) are refused byset_accessory; they go throughset_security_accessory, which is annotateddestructiveHint: trueso MCP clients andrunAgentask the user before unlocking, opening or disarming anything. Lights and switches still change without a prompt.get_accessory_historyreturns an accessory's recorded sensor values (temperature, humidity, light level, battery, air quality, power, energy) over the lasthours(default 24, up to 8760), optionally for one characteristictype. Per series it givescount,min/max(value and when), the time-weightedavg,last, and thepointsaveraged down tomaxPoints(default 48, 2–500), with times in UTC to the minute. It needs Homebridge Glass UI (GET /api/accessories/:uniqueId/history), which records these values while Homebridge runs in insecure mode.patch_configchanges one platform or accessory block (found byplatform/accessoryplusname); objects merge,nullremoves a key, and__REDACTED__keeps the current secret.install_plugin,update_pluginanduninstall_pluginstart a job on the Homebridge UI and wait up to two minutes for it;get_plugin_jobfollows a longer one. They need Homebridge Glass UI (POST /api/plugins/install|update|uninstall,GET /api/plugins/jobs/:id).The log tools need a Homebridge install managed by hb-service.
Library API
import {
createProvider, readAiConfig, runAgent, diagnoseLogs, generatePluginConfig, UsageTracker,
} from '@mp-consulting/homebridge-ai-kit';
import { HomebridgeClient } from '@mp-consulting/homebridge-ai-kit/mcp';
const config = await readAiConfig(); // HomebridgeAiKit block of ~/.homebridge/config.json
const provider = createProvider(config);
// One-shot feature, streamed
const { text } = await diagnoseLogs({ provider, logs, onChunk: (d) => process.stdout.write(d) });
// Agent with the MCP tools, acting as the current user
const client = new HomebridgeClient({ url: 'http://127.0.0.1:8581', getToken: () => mintShortLivedToken(user) });
const result = await runAgent({
provider,
client,
messages: [{ role: 'user', content: 'Turn off every light downstairs' }],
confirm: async (call) => askUser(`Allow ${call.name}?`), // destructive tools are refused without it
onEvent: (e) => console.log(e),
});Export | Purpose |
|
|
| Loops model ↔ MCP tools (in-memory transport), |
| Ready-made features; all accept |
| Schema-checked JSON (ajv) with one repair retry |
| Keep inputs inside the context window (logs keep their tail) |
| Token and cost accounting (Claude prices; unknown models cost |
| Prompt templates, shared with the MCP prompts |
| Read and default the |
| Keep credentials and pairing codes out of model context |
| Server helpers: per-user rate limit, expiring cache, confirmations with a timeout, log tails |
Everything in this table except runAgent comes from @mp-consulting/homebridge-ai-core and is re-exported here unchanged.
./mcp exports createServer, HomebridgeClient, runStdioServer, runHttpServer, createLiveSource, shareLiveSource, createAuditLog, the token SCOPES, and the TLS pinning helpers createTrustedFetch, normalizeFingerprint, pemFingerprints; ./plugin exports registerAiRoutes and testAiConnection (from ai-core's ./plugin), mcpClientSnippets and AiKitPlatform.
Security
Secrets stay out of the model's context.
get_config,patch_configand the Assistant features replace passwords, tokens, API keys (including the AI KitapiKeyand MCP tokens) and the bridge pin with__REDACTED__. Writes swap the placeholders back for the real values.get_config'sincludeSecretsonly exists when the server opts in withHOMEBRIDGE_ALLOW_SECRETS=true(allowSecretsforcreateServer/runHttpServer), and never in read-only mode. Free text sent to a provider (logs, errors) has credential-shaped values masked too.Destructive actions need consent. Every tool declares MCP
readOnlyHint/destructiveHint;runAgentrefuses destructive tools unless aconfirmcallback allows them. When the MCP client supports elicitation, the server itself asks the user to confirm each destructive tool call (arguments shown with secrets redacted; dry runs skip it; a declined or failed confirmation does not run the tool);HOMEBRIDGE_ELICITATION=falseturns that off. Unlocking a door, opening a garage door or disarming an alarm only works through the destructiveset_security_accessory, so it is confirmed too;set_accessoriesand scenes refuse those targets. Config writes can be previewed withdryRunand rolled back withrestore_config.HOMEBRIDGE_READ_ONLY=trueremoves write tools entirely.Tool output is treated as data. Logs (tools and the
homebridge://logs/recentresource), changelogs and other Homebridge-sourced free text come back wrapped in<untrusted-data source="…">tags (runAgentwraps every tool result it sends to the model), with any tag inside the data defused (JSON results andstructuredContentstay plain data so they parse), and the base system prompt tells the model never to follow instructions found in tool output and to change things only when the user asked. Combined with confirmation for destructive tools, a log line saying "unlock the front door" can't open it.HTTP is locked down. The HTTP transport requires a bearer token, compares it in constant time and binds to
127.0.0.1by default. It checksOrigin, expires idle sessions and slows down repeated bad tokens.Least privilege and an audit trail. Extra client tokens can be limited to
readorcontrol, and every write tool call is logged with redacted arguments (see MCP tokens).update_configrejects incomplete configs, and regex log searches run in a worker thread that is killed after 5 seconds.The server warns if
HOMEBRIDGE_URLsends credentials over plainhttpto a non-local host.TLS verification stays on. A self-signed Homebridge UI certificate is trusted only through
HOMEBRIDGE_CERT_FINGERPRINT/HOMEBRIDGE_CERT_PATH(or the matchingmcp.httpsettings), and only for the requests to the Homebridge UI; a certificate that doesn't match is refused.
Migrating from homebridge-mcp-server
npm uninstall -g @mp-consulting/homebridge-mcp-server
npm install -g @mp-consulting/homebridge-ai-kitThe package installs both homebridge-ai-kit and a homebridge-mcp-server alias, and the environment variables are unchanged, so existing configs keep working. New configs should use homebridge-ai-kit mcp. The MCP server now reports its name as homebridge-ai-kit, and library users import createServer and HomebridgeClient from @mp-consulting/homebridge-ai-kit/mcp.
Development
git clone https://github.com/mp-consulting/homebridge-ai-kit.git
cd homebridge-ai-kit
npm install
npm run build # builds packages/ai-core, copies the ui-kit assets into homebridge-ui/public/lib, then tscThe repository is an npm workspace: the root is ai-kit and packages/ai-core is ai-core. The root scripts run both packages (ai-core first); npm run <script> -w packages/ai-core runs one script for ai-core alone. ai-kit's tests resolve @mp-consulting/homebridge-ai-core to its sources, while typecheck and build use ai-core's dist, so they build it first.
npm run dev # MCP server on stdio with tsx
npm test # Run tests
npm run test:coverage # Tests with coverage thresholds (as CI does)
npm run lint # ESLint
npm run typecheck # Type-check src and test (both packages)Publishing. The release workflow publishes @mp-consulting/homebridge-ai-core first (skipped if that version is already on npm), then @mp-consulting/homebridge-ai-kit, which depends on it. Both use npm trusted publishing (OIDC): before the first release, configure a trusted publisher on npmjs.com for the new @mp-consulting/homebridge-ai-core package name too (repository mp-consulting/homebridge-ai-kit, workflow publish.yml); if npm only lets you add one to an existing package, publish ai-core 2.0.0 once by hand from packages/ai-core. The first ai-core release has to go out before ai-kit 2.0.0 can be installed from npm.
After npm, the same workflow builds the Claude extension with scripts/make-mcpb.sh (the manifest template is mcpb/manifest.json; its tool list comes from scripts/mcpb-tools.mjs), signs it with mcpb sign when the DEVELOPER_ID_CERTIFICATE and DEVELOPER_ID_CERTIFICATE_PASSWORD secrets are set, attaches it to the release, and publishes server.json to the MCP registry (GitHub OIDC). The Homebrew formula in mp-consulting/homebrew-tap picks up each npm version on its own (every 6 hours).
License
MIT
Available Tools
22 toolsget_accessoryA
Get detailed information about a specific accessory by its uniqueId. Use list_accessories first to find the uniqueId.
Inputs: uniqueId (required).
get_accessory_layoutA
Get the accessories room layout as configured in the Homebridge UI.
Inputs: no named parameters.
get_cached_accessoriesA
List all cached accessories stored by Homebridge. These persist across restarts.
Inputs: no named parameters.
get_configA
Read the current Homebridge config.json file content. Returns the full configuration including bridge settings, accessories, and platforms.
Inputs: no named parameters.
get_homebridge_statusA
Check if Homebridge is running and get its current status (up/down, version, plugins status).
Inputs: no named parameters.
get_pairing_infoA
Get the HomeKit pairing information (setup code, QR code URL) for this Homebridge instance.
Inputs: no named parameters.
get_plugin_changelogB
Get the CHANGELOG.md content for an installed Homebridge plugin.
Inputs: pluginName (required).
get_plugin_config_schemaA
Get the config.schema.json for a plugin, which describes how to configure it in Homebridge.
Inputs: pluginName (required).
get_plugin_versionsA
Get available versions and dist-tags for a specific Homebridge plugin.
Inputs: pluginName (required).
get_recent_logsA
Return the most recent lines from the Homebridge log (ANSI-stripped). Requires an hb-service based Homebridge install.
Inputs: lines.
get_server_statusA
Get Homebridge server information including version, Node.js version, uptime, OS details, and Homebridge instance ID.
Inputs: no named parameters.
get_system_infoA
Get system information for the machine running Homebridge (CPU, memory, OS, network interfaces, uptime).
Inputs: no named parameters.
list_accessoriesB
List all Homebridge accessories with their current state (on/off, brightness, temperature, etc.)
Inputs: name, room, type, manufacturer, +1 more.
list_pluginsA
List all currently installed Homebridge plugins with their versions and update status.
Inputs: no named parameters.
lookup_pluginA
Get detailed information about a specific Homebridge plugin from the npm registry.
Inputs: pluginName (required).
remove_cached_accessoryA
Remove a specific cached accessory by its UUID. Useful for cleaning up stale accessories.
Inputs: uuid (required).
reset_cached_accessoriesA
Reset ALL cached accessories. WARNING: This removes all cached accessories and requires a Homebridge restart.
Inputs: no named parameters.
restart_homebridgeA
Restart the Homebridge service. This will temporarily make all accessories unavailable.
Inputs: no named parameters.
search_logsA
Search the Homebridge log for matching lines. Returns up to limit most recent matches (ANSI-stripped). Useful for finding errors, warnings, or events involving a specific device.
Inputs: pattern (required), limit, regex, caseSensitive.
search_pluginsB
Search the npm registry for Homebridge plugins matching a query.
Inputs: query (required).
set_accessoryA
Control a Homebridge accessory — turn it on/off, set brightness, color temperature, etc. Use list_accessories first to find the uniqueId and available characteristicTypes.
Inputs: value (required), uniqueId (required), characteristicType (required).
update_configA
Update the Homebridge config.json file. You must provide the FULL config object — it replaces the entire file. Use get_config first to read the current config, then modify and pass back the complete object.
Inputs: config (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool targets a distinct aspect of Homebridge management: accessories (list/get/set/layout/cached), server status, logs, config, plugins, and system info. Even similar-sounding tools like get_homebridge_status and get_server_status have clear differences in their descriptions—one focuses on health and plugin status, the other on version and instance details—so there is no ambiguity.
All tool names follow a consistent verb_noun pattern using snake_case: get_, set_, list_, search_, remove_, reset_, update_, restart_, lookup_. The same verbs are reused predictably across domains (e.g., get_accessory, get_cached_accessory, get_plugin_versions), which makes it easy to infer tool behavior from the name alone.
With 22 tools, the server is on the heavier side, but it covers a wide range of domains—accessory control, configuration, plugins, logs, status, and system info—all relevant to Homebridge. Each tool has a distinct role, and the count feels justified given the breadth of functionality, though it could be trimmed slightly without losing critical functionality.
The tool set is remarkably complete for the Homebridge domain: it covers accessory discovery and control, cached accessory management, config reading and writing, plugin discovery/search/details/versions/schema/changelog, log retrieval and search, server and system status, restart, and pairing info. There are no obvious dead ends—agents can perform full lifecycle operations on accessories, plugins, and configuration.
Maintenance
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
An MCP server that integrates with Discord to provide AI-powered features.
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server and Home Assistant add-on that enables AI assistants to manage smart homes by creating automations, designing dashboards, and interacting with entities. It features native access to Home Assistant APIs, built-in Git versioning for safe rollbacks, and full management of HACS integrations.655MIT
- AlicenseBqualityDmaintenanceMCP server for full Home Assistant control, enabling AI agents to manage dashboards, automations, files, apps, entities, and more via REST API, WebSocket, and SSH.66182 npmMIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to control Home Assistant via natural language, including device control, automation management, and system configuration.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for inspecting and controlling Apple HomeKit accessories, scenes, automations, and more via the HomeClaw app, enabling natural language interaction with your smart home.3 npmMIT