docs/mcp: quote bracketed run values for the shell

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-02 16:46:05 -04:00
co-authored by Claude Opus 5.5
parent 9e8d75300f
commit 5d6b889e45
+1 -1
View File
@@ -146,7 +146,7 @@ invalid params, -32002 resource not found).
For agents that prefer a shell over an MCP session: run any chain of commands in one process and read one JSON
line per command (`{"command", "ok", "result" | "error", "ms"}`; non-zero exit status on failure). A word without
`=` starts the next command; `key=value` values are JSON when they parse, else strings; a `'{…}'` argument merges a
JSON object into the params.
JSON object into the params. Quote values with brackets or spaces for your shell (`'ids=[3,4]'`; zsh treats `[…]` as a glob).
```sh
# headless: import, edit, export