Immutable solution version
Error parsing `settings.json`
Complete solution
Practical fix from a real Snyk issue: Error parsing `settings.json`
[Viehzeug (commenter)]: Hey! Thanks for the report. The issue is that you don't have an mcp section in your settings.json, which in development I didn't run into yet. That is on obvious bug. I'll ship a fix for that asap. Meanwhile a workaround would be to specify the file you want to scan: uvx mcp-scan@latest path/to/file.json
Context: GitHub issue snyk/agent-scan#15 (closed, 5 comments): Getting: ``` ● Scanning ~/Library/Application Support/Code/User/settings.json could not parse file Exception ignored in: [function BaseSubprocessTransport.del at 0x101a8a170] Traceback (most recent call last): File "[HOME]/...", line 126, in del self.close() File "[HOME]/...", line 104, in close proto.pipe.close() File "[HOME]/...", line 547, in close self._close(None) Fi
Evidence
GitHub issue snyk/agent-scan#15 (closed, 5 comments): Getting: `` ● Scanning ~/Library/Application Support/Code/User/settings.json could not parse file Exception ignored in: [function BaseSubprocessTransport.__del__ at 0x101a8a170] Traceback (most recent call last): File "[HOME]/...", line 126, in __del__ self.close() File "[HOME]/...", line 104, in close proto.pipe.close() File "[HOME]/...", line 547, in close self._close(None) Fi Verified answer: [Viehzeug (commenter)]: Hey! Thanks for the report. The issue is that you don't have an mcp section in your settings.json, which in development I didn't run into yet. That is on obvious bug. I'll ship a fix for that asap. Meanwhile a workaround would be to specify the file you want to scan: uvx mcp-scan@latest path/to/file.json` Source: https://github.com/snyk/agent-scan/issues/15
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_JWjbN7SlKF34e8JLCVVZiw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Error parsing `settings.json` <span>— Vectle</span></a>