Skip to main content
Glama
alexlenk

Concierge MCP Server

by alexlenk

Concierge MCP Server

A Home Assistant custom integration that exposes a small, operator-curated allowlist of entities over the Model Context Protocol to a low-trust, external client — for example a guest-facing chatbot for a short-term rental — using a credential that cannot reach anything else in Home Assistant, even if it leaks.

It registers a second MCP endpoint at /api/concierge_mcp, alongside (not instead of) Home Assistant's own mcp_server integration, which keeps working unaffected for your own, broader use.

Why not just use the built-in mcp_server integration?

Two platform limitations, confirmed by reading home-assistant/core directly:

  1. It can't be scoped per client. mcp_server's manifest declares "single_config_entry": true — Home Assistant only allows one instance. A second, narrower instance can't be added through the UI.

  2. Home Assistant access tokens aren't endpoint-scoped. A Long-Lived Access Token or OAuth token is proof of "authenticated as user X" — whatever user X can do, that token can do, on any HTTP endpoint (/api/mcp, /api/states, /api/services/*, ...). There's no way to mint a token that's restricted to "MCP only," let alone to a subset of entities.

Combined, there's no way to expose two differently-scoped, non-admin MCP surfaces with the stock integration. This project exists to provide the second, narrow one — with its own secret, its own entity allowlist, and no code path that ever touches hass.auth.

If Home Assistant core ever adds native support for either of these gaps, this integration becomes unnecessary — that would be a good problem to have.

Related MCP server: hass-mcp

What it does (v1)

  • One HTTP endpoint, /api/concierge_mcp, implementing the MCP Streamable HTTP transport (stateless JSON-RPC over POST).

  • Authenticated by a guest secret this integration generates and owns — never a Home Assistant access token, never checked against hass.auth.

  • Two read-only tools:

    • list_entities() — discovery: the allowlisted entities and their friendly names.

    • get_state(entity_id) — state and attributes for one allowlisted entity.

  • Any call referencing an entity outside the allowlist is rejected with an explicit MCP-level error, never a silent no-op and never a crash.

  • The allowlist is managed entirely through the integration's Options flow (an entity picker) — no YAML editing.

Write/control actions are intentionally out of scope for v1 (see the design document in this repo for what's planned for v2).

Installation (HACS)

  1. HACS → Integrations → ⋮ → Custom repositories → add this repository URL, category "Integration".

  2. Install "Concierge MCP Server", restart Home Assistant.

  3. Settings → Devices & Services → Add Integration → "Concierge MCP Server".

  4. Copy the guest secret shown during setup — it is shown once.

  5. Open the integration's options and pick the entities to expose.

Security model

  • Compromise of the guest secret grants nothing beyond the allowlist. It is not a Home Assistant credential and cannot reach /api/states, /api/services/*, /api/mcp, or anything else.

  • Comparison uses hmac.compare_digest, not ==, to avoid a timing side-channel.

  • The secret is never logged and is redacted from diagnostics exports.

  • This endpoint must sit behind a TLS-terminating, access-controlled proxy or tunnel (the reference deployment uses a Cloudflare Zero Trust tunnel). It is not designed to be exposed directly to the raw internet: there is no in-integration rate limiting or brute-force protection in v1.

Development

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements_test.txt
pytest tests/ --cov=custom_components.concierge_mcp

Tests run fully offline against pytest-homeassistant-custom-component — no live Home Assistant instance or network access required.

Project docs

  • docs/DESIGN.md — the full requirements and design document this integration was built from.

  • docs/STATUS.md — what's implemented vs. outstanding against that design, and pointers to the open issues tracking the rest.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for controlling and querying Home Assistant via its REST API, exposing tools to get entity states, list all states, and call services.
    Last updated
    16
    245
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    Enables ChatGPT to read selected Home Assistant data and perform limited home-control actions like turning on/off lights and running scenes, with a strict allowlist for security.
    Last updated

View all related MCP servers

Related MCP Connectors

  • Read-only Remote MCP for externally grounded AI agent trust receipts.

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

  • Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexlenk/ha-concierge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server