From 5d6b889e459390e116aa737c91599667b55fb94c Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 2 Oct 2026 16:46:05 -0400 Subject: [PATCH] docs/mcp: quote bracketed run values for the shell Co-Authored-By: Claude Opus 5.5 --- docs/mcp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mcp.md b/docs/mcp.md index 01ddbafd6..fe3cfdcf3 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -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