From d4c630df0ec1775bcadbfec87d729fc797d26584 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 22 Nov 2026 03:31:31 +0100 Subject: [PATCH] Integration: drop #14714 from the batch The book's relative links to docs/mcp.md follow the branch they are read on; pinning them to main would send readers of a fork, a branch or an older release to the wrong version. Co-Authored-By: Claude Opus 5.5 --- book/src/automation/mcp.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/src/automation/mcp.md b/book/src/automation/mcp.md index 4528b56576..57a76c5c5d 100644 --- a/book/src/automation/mcp.md +++ b/book/src/automation/mcp.md @@ -6,9 +6,9 @@ - **Bridge:** `BridgeClient` forwards tools to a desktop application started with `photocraft --control `. - **The open window:** plain `photocraft-cli mcp` finds the desktop application through the connection file it publishes while the person lets agents use it (ArtCraft Launcher › Settings › AI agents), before every tool call; while the app is closed it starts it, serves a headless session, or reports an error, as chosen in Preferences › AI Integrations. Without that consent, or with `--headless`, it is the headless session above. -The simplest setup needs no terminal: turn on ArtCraft Launcher › Settings › AI agents and click *Add* next to the AI app; that one entry reaches every Craft app. See [`docs/mcp.md`](https://github.com/storytold/photocraft/blob/main/docs/mcp.md#connecting-the-desktop-app-no-terminal). +The simplest setup needs no terminal: turn on ArtCraft Launcher › Settings › AI agents and click *Add* next to the AI app; that one entry reaches every Craft app. See [`docs/mcp.md`](../../../docs/mcp.md#connecting-the-desktop-app-no-terminal). -For a source checkout, first [install the CLI on PATH and register the server](https://github.com/storytold/photocraft/blob/main/docs/mcp.md#install-and-register). +For a source checkout, first [install the CLI on PATH and register the server](../../../docs/mcp.md#install-and-register). The installed binary survives `cargo clean`; a symlink into `target/release` does not. Start the headless server with (without `--headless`, `mcp` works in the open PhotoCraft window @@ -77,4 +77,4 @@ listed. `photocraft://document` and `photocraft://commands` expose live JSON. Lo that are waited on report progress and stop when the request is cancelled, headless and in bridge mode (where they may also outlast the bridge's reply timeout), and direct headless Render Video does too, using the granted write root; see -[`docs/mcp.md`](https://github.com/storytold/photocraft/blob/main/docs/mcp.md) for arguments, cleanup and transport behavior. +[`docs/mcp.md`](../../../docs/mcp.md) for arguments, cleanup and transport behavior.