[0.8.43] - 2026-12-02
Fixed
- A bare
callargument is an error instead of a silent drop.mcptoon call
appliedkey=valuepairs and discarded every other token without a word. An
unquoted value containing spaces arrives as several argv items, so
requirements=有 空格 的 中文appliedrequirements=有and threw away the rest:
the tool then ran on truncated input and reported success. The parser now names
the offending token and shows the quoting that works.
tests/test_call_bare_arg.pypins both the message and the stronger property
that a rejected call never reaches the server with a shortened argument set. --stdinaccepts a BOM-prefixed payload. The reader decoded with plain
utf-8, which keeps a Windows BOM as U+FEFF, sojson.loadsrejected the whole
payload with "Unexpected UTF-8 BOM (decode using utf-8-sig)". On Windows both
natural ways to produce a payload —Out-File -Encoding utf8and a plain
PowerShell pipe — prepend one, which made--stdinunusable for the ordinary
spelling of "give it a file".utf-8-sigstrips a leading BOM and is
byte-identical toutf-8when there is none, so a BOM-less payload cannot
regress; both directions are pinned intests/test_stdin_bom.py.- The
[mcptoon smart: ...]notice no longer corrupts stdout. It was appended
to the rendered JSON body, which is right for the MCP bridge (the model has to
learn its payload was cut) but turned CLI stdout into valid JSON followed by a
sentence:--json,| jqandjson.loadsall failed with "Extra data: line 2
column 1". The CLI now emits it on stderr; the MCP path is unchanged.
tests/test_smart_notice_stderr.pypins both sides. - An MCP error is no longer swallowed when the server attaches structured
content._extract_contentreturnedstructuredContentbefore checking
isError, and a server is allowed to send both — openmotion does
(structuredContent.result.error). The error object therefore came back as
ordinary data and the CLI exited 0, somcptoon call ... && nextrannext
after a failure.isErroris the authoritative signal and is now checked first,
pinned bytests/test_extract_content_iserror.py.
Changed
--autosays which server it chose when a tool name is ambiguous. A tool
present on several servers used to resolve to the most recently used one with no
output at all —generate_imageexists on bothblender-mcpandcomfy-mcp—
which made a wrong-server result read as a wrong-tool result. The note goes to
stderr and names every candidate, so--jsonconsumers keep a clean stream.
A tool that only one server exposes prints nothing.