Hamster MCP logo

Hamster MCP

Connects AI assistants to Home Assistant for dynamic debugging, maintenance, service calls, and WebSocket access.

Install Hamster MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for hamster-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

hamster-mcp connects MCP-compatible AI assistants to Home Assistant through a custom integration and a Streamable HTTP endpoint. It exposes Home Assistant services, roughly 200 WebSocket commands, and Supervisor functions on Home Assistant OS through six discovery and execution tools. Reach for it when you need to investigate voice pipelines, Matter devices, automations, logs, repairs, diagnostics, or entity exposure rather than only control devices. It also supports ordinary actions such as checking entity states, listing automations, and calling services.

Use cases

  • Debug failed voice pipeline runs
  • Inspect Matter nodes and reachability
  • Review automation traces and system logs
  • Audit entity exposure to voice assistants
  • Manage Home Assistant services and devices

Key features

  • Dynamic Home Assistant service access
  • Roughly 200 WebSocket command categories
  • Supervisor logs, add-ons, and backups on Home Assistant OS
  • Automation, voice, Matter, diagnostics, and repairs inspection
  • Streamable HTTP MCP endpoint
  • Six discovery, schema, execution, and resource tools

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.

How Hamster MCP works

What hamster-mcp does

hamster-mcp gives an AI assistant access to Home Assistant for troubleshooting and maintenance. It can inspect system health, review repairs and diagnostics, examine automation traces, investigate voice and conversation pipelines, inspect Matter networks, query logs, audit assistant entity exposure, and review Bluetooth scanner information.

Everyday Home Assistant operations are available too. An assistant can inspect entity states, list automations, turn on lights, and perform other service actions. The integration is designed to expose Home Assistant capabilities dynamically instead of limiting the assistant to a small fixed set of device-control tools.

How it works

The integration runs inside Home Assistant as a custom component. It publishes an MCP endpoint at /api/hamster_mcp, using Streamable HTTP. An MCP client connects to the Home Assistant host and authenticates through Home Assistant's normal login flow or with a long-lived access token.

Capabilities are grouped into Home Assistant services, WebSocket commands, and Supervisor operations. Services cover actions such as lights, climate, automations, and scripts. WebSocket access includes registries, history, system logs, configuration entries, diagnostics, repairs, Matter, Assist Pipeline, voice and conversation features, Cloud and Nabu Casa functions, authentication, automation traces, HACS, and other subsystems. Supervisor access covers Core, Supervisor, and host logs, add-ons, backups, and host or network information on Home Assistant OS.

The assistant discovers these capabilities through six meta-tools: search finds commands, explain describes them, schema returns parameter and selector details, call executes them, and list_resources plus read_resource provide guidance documents. When another Home Assistant integration adds services or WebSocket commands, they become available without updating hamster-mcp. Initial conversations may take longer while the assistant explores the available commands.

Setup and configuration

Home Assistant 2025.2 or later is required. HACS is the recommended installation route: add the repository as a custom Integration repository, install Hamster MCP, restart Home Assistant, and add the integration from Settings → Devices & Services. Manual installation is also supported by copying custom_components/hamster_mcp into the Home Assistant configuration directory before restarting and adding the integration.

Configure the MCP client with an endpoint such as:

text
https://<your-ha-host>:<port>/api/hamster_mcp

Select Streamable HTTP as the transport. Local clients must be able to reach the Home Assistant host on the same network. Cloud clients require Home Assistant to be reachable from the internet, for example through Nabu Casa or a reverse proxy. If a client does not provide an interactive Home Assistant login, create a long-lived access token in the Home Assistant profile and send it as a Bearer token. Treat that token as a password.

Tools and capabilities

The six MCP tools provide a compact interface to a broad, dynamic Home Assistant surface:

  • search locates commands across services, WebSocket operations, and Supervisor functions.
  • explain returns detailed command descriptions.
  • schema exposes parameter types and selector metadata.
  • call runs a selected Home Assistant command.
  • list_resources discovers available guidance documents.
  • read_resource reads a selected guidance document.

The underlying command coverage is suited to debugging voice assistants, checking Matter reachability, reviewing Supervisor and Core logs, tracing automations, examining repairs, and inspecting entity exposure for Alexa or Google Assistant.

Limitations and notes

Supervisor features require Home Assistant OS. The integration is intended primarily for debugging and maintenance, so its broad diagnostic coverage is more distinctive than its everyday device-control support. Access is governed by Home Assistant authentication, and the MCP endpoint must be network-accessible from the chosen client. The project is described as being in early release.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hamster MCP

hamster-mcp is an MCP server that connects AI assistants to a Home Assistant instance through a custom integration. Its main tools search, explain, schema, call, list_resources, and read_resource expose Home Assistant services, WebSocket commands, guidance documents, and Supervisor operations for debugging, maintenance, and device control.

Install it through HACS or copy its custom component into Home Assistant manually. With HACS, add the repository as a custom Integration repository, install Hamster MCP, restart Home Assistant, then add the integration under Settings → Devices & Services.

Connect to `https://<your-ha-host>:<port>/api/hamster_mcp` using Streamable HTTP. The client must reach the Home Assistant host, then authenticate through Home Assistant login or a long-lived access token sent as a Bearer token.

Yes, Cursor is listed as a compatible client. Configure Cursor with the Home Assistant MCP endpoint and Streamable HTTP transport, then use Home Assistant login or provide a long-lived access token if Cursor does not prompt for authentication.

Home Assistant 2025.2 or later is required. Supervisor capabilities additionally depend on running Home Assistant OS, while the custom integration itself is installed through HACS or manually in the Home Assistant configuration directory.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHamster MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hamster-mcp?style=directory)](https://allmcps.com/mcp/hamster-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hamster-mcp"><img src="https://allmcps.com/api/badge/hamster-mcp?style=directory" alt="Hamster MCP on AllMCPs" /></a>