The MCP layer (design: docs/notes/notes-mcp.md) needs a home. Two options:
a separate package/distribution, or the same repo and the same PyPI
artifact. A separate package would force version pinning against flua,
duplicate the release pipeline, and lose direct access to the engine —
while the server is a thin machine interface over things flua already ships
(--check, the CLI, the engine, the tools).
The MCP server lives in this repo (src/flua/mcp/) and ships in the
fibaro-flua wheel as a second console script: flua-mcp =
"flua.mcp.server:main". One version, one release, one install.
flua.mcp imports flua.engine/flua.tools/
flua.check; flua core never imports flua.mcp. The layer is always
shipped but never loaded unless the entry point runs — zero import cost
for everyone else.http.server + JSON-RPC.
The core lupa-only dependency rule stands.pip install fibaro-flua provides both flua and flua-mcp.