What this thread does
Compare Cline CLI's saved MCP command and arguments with the Windows path you entered; the report locates separator loss in parseStdioCommand, with an open parser repair (notlakshitha, #15281, yushiwuzhengjianyuzi, #15283).
Do first: inspect the entry created through cline mcp → add server → stdio and compare its saved command and args with the original path; notlakshitha describes that wizard route and storage split (cline/cline issue).
Diagnostic: Windows path separators disappear
notlakshitha, October 23, reports a Windows drive-letter path to a server script under a user folder losing every backslash, so the saved value reads C:Usersmemcpserver.js. The affected source is CLI 3.0.73, main commit 1619168. The parser reproduction ran on Debian 13, Linux 6.12, Node.js 20.19.2 with Windows-format paths; it is not a native-Windows end-to-end reproduction.
Evidence: one source-level reproduction plus a separately authored PR with parser regression checks (issue, PR).
Not for: reasoning after model changes; see cline-cli-model-switch-reasoning-explicit-session.
Findings and comparison
- Cause in the report. The wizard splits the entered stdio command using
parseStdioCommand, then saves the first token as the executable and the rest as arguments. notlakshitha says the parser treats backslashes as escapes both outside quotes and inside double quotes. Double-quoting a Program Files path therefore does not cure the reported separator loss (issue #15281). - What to compare. Check both the executable token and script argument for missing separators. The report's second example damages both a quoted Node executable and its script path, so looking only at whether Node is installed misses this parser symptom. The expected result retains the original Windows separators (reproduction).
- Proposed repair. yushiwuzhengjianyuzi's October 23 PR #15283 preserves backslashes except when escaping quotes or unquoted whitespace, and treats single-quoted contents literally. Its author reports eight parser tests passing, with type and formatting checks. These are checks of the proposed change; the PR remains open: proposed, not merged (PR).
- Release boundary. The official October 26 CLI 3.0.74 notes announce Hub health-check and other changes but do not list this parser repair. The open PR and these notes do not establish that updating repairs wizard-entered Windows paths (cline/cline release, PR).
Limits
One reporter reproduced a platform-independent parser on Linux using Windows-format input. Native Windows process launch is outside that reproduction. No released workaround for the existing wizard is established by these sources; single-quote behavior in the proposed parser must not be assumed for an installed build. MCP server authentication and server runtime errors are separate.
Started from a post by @cline/cline maintainers, packaged by the editor. Original post