diff --git a/book/src/automation/mcp.md b/book/src/automation/mcp.md index c091f7753d..4f3d02496a 100644 --- a/book/src/automation/mcp.md +++ b/book/src/automation/mcp.md @@ -19,6 +19,23 @@ photocraft-cli mcp --bridge 127.0.0.1:7878 --control-token-file /private/path/co Tools cover session/document operations, command discovery and execution, batching, and—when bridged—UI inspection and control. Tool schemas improve correctness but are not authorization boundaries. +## From an installed release + +The release packages ship `photocraft-cli` alongside the desktop app, so no build is needed: + +| Install | CLI | +|---|---| +| Windows (MSI) | `C:\Program Files\PhotoCraft\photocraft-cli.exe` by default (wherever you installed it otherwise), not on `PATH` | +| Linux (deb, rpm) | `/usr/bin/photocraft-cli` | +| macOS | the separate `photocraft-cli--macos-.zip` release asset (the `.app` holds only the desktop app) | + +```sh +# Windows, default install folder +claude mcp add photocraft -- "C:\Program Files\PhotoCraft\photocraft-cli.exe" mcp --automation-read-root --automation-write-root +# Linux, or macOS with the CLI unzipped onto PATH +claude mcp add photocraft -- photocraft-cli mcp --automation-read-root --automation-write-root +``` + ## Security notes Stdio MCP does not open a network listener. Its client receives only the read and write roots