mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
docs: align MCP reference with repeatable roots and switches
Clarify usage of MCP and serve launch options regarding value requirements and repetition.
This commit is contained in:
1 file changed
+3
-2
+3
-2
@@ -171,8 +171,9 @@ flags on `photocraft-cli mcp --bridge` are rejected. Explicit `--control-token`
|
||||
`--control-token-file` flags require `--bridge` (or `PHOTOCRAFT_CONTROL_PORT`) and are mutually
|
||||
exclusive. Bridge credentials can also come from `PHOTOCRAFT_CONTROL_TOKEN` or `PHOTOCRAFT_CONTROL_TOKEN_FILE`.
|
||||
|
||||
MCP and `serve` launch options (all but `--help`/`-h`) take one non-empty value each and cannot
|
||||
be repeated. Missing values, stray positional arguments and options for the wrong mode are
|
||||
MCP and `serve` switches such as `--headless`, `--gpu`, `--no-gpu` and `--help`/`-h` take no
|
||||
value. Value options take one non-empty value each; `--automation-read-root` may repeat to
|
||||
add ordered read directories, while other launch options cannot be repeated. Missing values, stray positional arguments and options for the wrong mode are
|
||||
usage errors (exit 2), reported on stderr before the server starts; stdout stays available for
|
||||
protocol messages. For `serve`, explicit credential flags require `--port` (or
|
||||
`PHOTOCRAFT_CONTROL_PORT`); stdio needs no control token.
|
||||
|
||||
Reference in new issue
Block a user