You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable Kyber's MCP server to push real-time notifications to connected MCP clients (Claude, ChatGPT, Cursor) when Home Assistant state changes — without the client needing to poll.
What are MCP Notifications?
The MCP Notifications primitive allows the server to send unsolicited messages to the client when something changes. Examples: entity state changed, tool list updated, resource content changed.
Why it matters for Kyber
Scenario
Today
With Notifications
Front door opens at night
Requires separate HA automation
MCP client receives push → LLM decides what to do
Motion detected in an unexpected area
Poll-based or webhook
Client is notified instantly, can reason + act
New device added to HA
Client has stale tool list
\
otifications/tools/list_changed\ triggers refresh
Energy spike on a circuit
Separate automation required
Client notified → can suggest or take action
Calendar event starting in 5 min
Manual reminder setup
Kyber pushes context to AI client proactively
Proposed implementation
Subscribe to HA event bus for state changes on exposed entities
Emit
otifications/resources/updated\ when the context snapshot changes significantly (debounced)
Emit
otifications/tools/list_changed\ when exposed entities change (new device, removed entity)
Requires persistent connection — needs SSE or WebSocket transport (not the stateless Streamable HTTP path)
Add notification log to the MCP debug UI
Transport consideration
Notifications require a persistent connection. Options:
SSE transport — Kyber already has MCP over HTTP; add SSE channel for server→client push
WebSocket — more bidirectional, better for high-frequency state changes
Streamable HTTP with server-sent events per MCP 2025-06-18 spec
Acceptance criteria
Connected client receives
otifications/resources/updated\ when HA entity states change
Connected client receives
otifications/tools/list_changed\ when exposed entity list changes
Notifications are debounced (not fired per individual state change in bulk updates)
Notifications appear in the MCP debug call log UI
Only exposed entities trigger notifications (respects entity filtering)
Graceful degradation when client doesn't support notifications
Notes
Neither HA's MCP nor Kyber currently supports this — a meaningful differentiator
This is the foundation for turning an external LLM into a proactive home agent (watches your home, not just answers questions)
Summary
Enable Kyber's MCP server to push real-time notifications to connected MCP clients (Claude, ChatGPT, Cursor) when Home Assistant state changes — without the client needing to poll.
What are MCP Notifications?
The MCP Notifications primitive allows the server to send unsolicited messages to the client when something changes. Examples: entity state changed, tool list updated, resource content changed.
Why it matters for Kyber
Proposed implementation
otifications/resources/updated\ when the context snapshot changes significantly (debounced)
otifications/tools/list_changed\ when exposed entities change (new device, removed entity)
Transport consideration
Notifications require a persistent connection. Options:
Acceptance criteria
otifications/resources/updated\ when HA entity states change
otifications/tools/list_changed\ when exposed entity list changes
Notes