mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-16 15:14:38 +00:00
As agreed in craft-ai-integrations#195: one switch for every Craft app, in the launcher; only the launcher writes MCP client configurations; plain `<app>-cli mcp` works in the open app. - Consent: with the AI-MCP flag, the launcher's switch alone decides, read through `craft-ai-agents` (craft-ai-integrations#197), the crate the launcher writes the app list with and the gateway reads it with. The "Let AI agents connect" box is gone; without the flag everything is as on main (a saved Control Port keeps its connection). - `photocraft-cli mcp`: works in the open window while agents may use it (what `--live` did), and headless otherwise, exactly as before (only the roots given to it; the app is never started). `--headless` forces that; `--bridge` / PHOTOCRAFT_CONTROL_PORT as before. `--live` and `mcp install` are gone. Several read roots work again, invalid roots stop the start, and `--gpu` applies to the headless session. - Client setup is the launcher's: the client code (Claude Desktop, Claude Code, Cursor, JSON), Copy Configuration, its service and its docs are removed (about 740 lines net). - CLI tests run with their own settings, launcher and flags folders: plain `mcp` would otherwise find (or start) the developer's own PhotoCraft. - Docs, book, README, scorecard row, packaging comments follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>