René's URL Explorer Experiment


Title: fix(mcp): fix Windows MCP spawn double-quoting that breaks all MCP servers by dengmik-commits · Pull Request #164 · lessweb/deepcode-cli · GitHub

Open Graph Title: fix(mcp): fix Windows MCP spawn double-quoting that breaks all MCP servers by dengmik-commits · Pull Request #164 · lessweb/deepcode-cli

X Title: fix(mcp): fix Windows MCP spawn double-quoting that breaks all MCP servers by dengmik-commits · Pull Request #164 · lessweb/deepcode-cli

Description: Summary The quoteWindowsShellArg function in createMcpSpawnSpec wrapped every argument in double quotes unconditionally, producing command strings like "npx" "-y" "@playwright/mcp". When passed to spawn() with shell: true, Node.js wraps the entire string again for cmd.exe, causing double-quoting that breaks command parsing. All MCP servers (playwright, fetch, memory, github) failed to start on Windows. Fix Replace quoteWindowsShellArg (unconditional quoting) with quoteWindowsArgIfNeeded (conditional quoting). Only arguments that contain spaces or double-quotes are wrapped; simple args like npx, -y, @playwright/mcp are joined as-is (e.g., npx -y @playwright/mcp), preventing double-wrapping by Node.js's shell handling. Changes src/mcp/mcp-client.ts: replace quoteWindowsShellArg with quoteWindowsArgIfNeeded src/tests/mcp-client.test.ts: update test to match the new behavior

Open Graph Description: Summary The quoteWindowsShellArg function in createMcpSpawnSpec wrapped every argument in double quotes unconditionally, producing command strings like "npx" "-y" "@playwri...

X Description: Summary The quoteWindowsShellArg function in createMcpSpawnSpec wrapped every argument in double quotes unconditionally, producing command strings like "npx" "-y&quot...

Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/164

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ac008bc5-d9b5-7689-a59e-3428de226c65
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8078:62240:233170:33BDFD:6A4E008F
html-safe-noncef1e30d6219675ec0884d83acff0768adc1cd83bc92656d29cf7e0c0ee8f74cda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDc4OjYyMjQwOjIzMzE3MDozM0JERkQ6NkE0RTAwOEYiLCJ2aXNpdG9yX2lkIjoiOTEzNTE2MDQ2MjcxNDczMjY4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdf586a8a71a60776928af2e33659af07be9348d2b806ddfe2aef942d7a5af917
hovercard-subject-tagpull_request:3810548854
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lessweb/deepcode-cli/pull/164/files
twitter:imagehttps://avatars.githubusercontent.com/u/270912164?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/270912164?s=400&v=4
og:image:altSummary The quoteWindowsShellArg function in createMcpSpawnSpec wrapped every argument in double quotes unconditionally, producing command strings like "npx" "-y" "@playwri...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/pull/164/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F164%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F164%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/pull/164/files
Reloadhttps://github.com/lessweb/deepcode-cli/pull/164/files
Reloadhttps://github.com/lessweb/deepcode-cli/pull/164/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/164/files
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 152 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 43 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli%2Fissues%2Fnew%2Fchoose
qorzjhttps://github.com/qorzj
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
dengmik-commits:mainhttps://github.com/dengmik-commits/deepcode-cli/tree/main
Conversation 0 https://github.com/lessweb/deepcode-cli/pull/164
Commits 1 https://github.com/lessweb/deepcode-cli/pull/164/commits
Checks 9 https://github.com/lessweb/deepcode-cli/pull/164/checks
Files changed https://github.com/lessweb/deepcode-cli/pull/164/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/164/files
fix(mcp): fix Windows MCP spawn double-quoting that breaks all MCP servers https://github.com/lessweb/deepcode-cli/pull/164/files#top
Show all changes 1 commit https://github.com/lessweb/deepcode-cli/pull/164/files
b623247 fix(mcp): fix Windows MCP spawn double-quoting that breaks all MCP se… dengmik-commits May 29, 2026 https://github.com/lessweb/deepcode-cli/pull/164/commits/b6232472a74627f0aa3f95d149cbe5fcdaa51c4f
Clear filters https://github.com/lessweb/deepcode-cli/pull/164/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/164/files
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/164/files
mcp-client.ts https://github.com/lessweb/deepcode-cli/pull/164/files#diff-629980a013434764d29c6eb5dc269c55468056f2e134ac78c04ac0b24fd0989d
mcp-client.test.ts https://github.com/lessweb/deepcode-cli/pull/164/files#diff-0f546e805e41bc754731e7c02007f2a47e0079f401ef1ce7f5c5d62c87df9ca4
src/mcp/mcp-client.tshttps://github.com/lessweb/deepcode-cli/pull/164/files#diff-629980a013434764d29c6eb5dc269c55468056f2e134ac78c04ac0b24fd0989d
View file https://github.com/dengmik-commits/deepcode-cli/blob/b6232472a74627f0aa3f95d149cbe5fcdaa51c4f/src/mcp/mcp-client.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/164/{{ revealButtonHref }}
https://github.com/lessweb/deepcode-cli/pull/164/files#diff-629980a013434764d29c6eb5dc269c55468056f2e134ac78c04ac0b24fd0989d
https://github.com/lessweb/deepcode-cli/pull/164/files#diff-629980a013434764d29c6eb5dc269c55468056f2e134ac78c04ac0b24fd0989d
src/tests/mcp-client.test.tshttps://github.com/lessweb/deepcode-cli/pull/164/files#diff-0f546e805e41bc754731e7c02007f2a47e0079f401ef1ce7f5c5d62c87df9ca4
View file https://github.com/dengmik-commits/deepcode-cli/blob/b6232472a74627f0aa3f95d149cbe5fcdaa51c4f/src/tests/mcp-client.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/pull/164/{{ revealButtonHref }}
https://github.com/lessweb/deepcode-cli/pull/164/files#diff-0f546e805e41bc754731e7c02007f2a47e0079f401ef1ce7f5c5d62c87df9ca4
https://github.com/lessweb/deepcode-cli/pull/164/files#diff-0f546e805e41bc754731e7c02007f2a47e0079f401ef1ce7f5c5d62c87df9ca4
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/164/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.