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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
v0.24.0
New Features
MCP server — New matter-mcp command connects to a running HTTP server and exposes all device operations as MCP tools for LLM integration
Toggle — GET /api/toggle?id= to flip device on/off without specifying brightness
Batch control — POST /api/batch to control multiple devices in one request
Status summary — GET /api/status returns quick counts (lights on/off, sensors, bridges)
Remove alias — GET /api/name/remove?id=&name= to delete a device alias
Remove bridge — GET /api/bridge/remove?ip=&port= to unregister a logical bridge
Breaking Changes
Aliases are display-only — All API endpoints now require the canonical dev_* device ID. Aliases set via /api/name are no longer resolved as IDs.
Architecture
Shared core — Extracted all business logic into cli/core.py (DeviceController class). Both server.py (FastAPI) and mcp_server.py (MCP) are thin wrappers with zero duplicated logic.
MCP as HTTP client — matter-mcp connects to a running matter-srv via HTTP instead of initializing its own Matter bridge. Supports --host and --port options.