You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI (v2.13.0): server command placed after --tool-arg flags fails with "Invalid parameter format: node" — make positional parsing order-tolerant or fix the error message #2860
Linux (WSL2), Node v26.12.1; reproduced 2026-10-30 against a local stdio MCP server
Problem
With --tool-arg present, the server command must precede the flags. Placing it after the options — a common CLI convention — fails with Invalid parameter format: node: the first token of the server command is apparently consumed as a parameter value.
Minimal repro (works — command first, per our docs)
Order tolerance: treat the first non-flag token(s) as the server command regardless of position; or
If strict ordering is intended, the error should say so, e.g. "Server command must be the first positional argument, before options such as --tool-arg" — Invalid parameter format: node reads like a data-format error in the tool arguments and misdirects debugging.
Severity 2 — minor friction with an easy workaround (put the server command before the options, as documented); the misleading Invalid parameter format message is the real cost
Urgency 2 — wanted eventually, nothing blocked on it
Bonuses: +1 bug label
Board: #28, Status Incoming (awaiting maintainer review — no milestone yet).
Activity
cliffhall commentedon Nov 5, 2026
Triage: Priority Low (total 5)
Invalid parameter formatmessage is the real costbuglabelBoard: #28, Status
Incoming(awaiting maintainer review — no milestone yet).cliffhall commentedon Nov 5, 2026
Fixed by #2892 (merged into v2/main as 9965347).