Skip to content

v0.24.0

Choose a tag to compare

@dongnh dongnh released this 22 Mar 10:07
· 39 commits to main since this release
3d011ad

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
  • ToggleGET /api/toggle?id= to flip device on/off without specifying brightness
  • Batch controlPOST /api/batch to control multiple devices in one request
  • Status summaryGET /api/status returns quick counts (lights on/off, sensors, bridges)
  • Remove aliasGET /api/name/remove?id=&name= to delete a device alias
  • Remove bridgeGET /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 clientmatter-mcp connects to a running matter-srv via HTTP instead of initializing its own Matter bridge. Supports --host and --port options.