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
Hi @eliassal! I think this ECOMPROMISED error could be a side effect from npm's enhanced security checks. The inspector package itself is not compromised.
Try these steps:
Clear npm cache and locks:
npm cache clean --force
Remove stale npx cache (Windows):
rmdir /s /q "%LOCALAPPDATA%\npm-cache\_npx"
Try again:
npx @modelcontextprotocol/inspector@latest
If that doesn't work, try forcing a fresh install:
Thank you for reporting this, and apologies for the long wait for a response.
v1 will receive security fixes only — this issue describes a functionality, compatibility, or usability problem rather than a vulnerability, so it is being closed against v1. This is not a judgment on whether the problem is real — it's a consequence of the v1 line being frozen. This is happening as part of #1872.
If this still happens in v2, we'd genuinely like to know. v2 is a complete rewrite — three clients over a shared core — so many v1 behaviours no longer exist in the same form. Please open a fresh issue against v2 with steps to reproduce, and we'll look at it. Note that we accept external contributions as issues rather than pull requests; maintainers handle design and implementation through a prompt-driven workflow. See CONTRIBUTING.md.
Activity
olaservo commentedon Nov 3, 2025
Hi @eliassal! I think this
ECOMPROMISEDerror could be a side effect from npm's enhanced security checks. The inspector package itself is not compromised.Try these steps:
rmdir /s /q "%LOCALAPPDATA%\npm-cache\_npx"If that doesn't work, try forcing a fresh install:
eliassal commentedon Nov 4, 2025
Hi @olaservo , I ran the cache clean and rmdir then both commands in step 3 and 4, got the exact same error
aaronpowell commentedon Nov 6, 2025
I've also been noticing this quite frequently with the MCP Inspector package for aspire during out CI builds (eg: https://github.com/CommunityToolkit/Aspire/actions/runs/19124005873/job/54650441604?pr=914)
The CI job will dump the npm logs with max verbosity enabled:
2025-11-06T03_44_16_226Z-debug-0.log
Disabling tests on Windows due to modelcontextprotocol/inspector#893
Aspire 13 upgrade (#914)
jenseng commentedon Nov 15, 2025
this is due to a regression in npm, and a fix will be out soon. in the meantime you could use npm@11.6.0
cliffhall commentedon Aug 1, 2026
Closing: v1 is deprecated.
Thank you for reporting this, and apologies for the long wait for a response.
v1 will receive security fixes only — this issue describes a functionality, compatibility, or usability problem rather than a vulnerability, so it is being closed against v1. This is not a judgment on whether the problem is real — it's a consequence of the v1 line being frozen. This is happening as part of #1872.
If this still happens in v2, we'd genuinely like to know. v2 is a complete rewrite — three clients over a shared core — so many v1 behaviours no longer exist in the same form. Please open a fresh issue against v2 with steps to reproduce, and we'll look at it. Note that we accept external contributions as issues rather than pull requests; maintainers handle design and implementation through a prompt-driven workflow. See
CONTRIBUTING.md.Thanks for taking the time to report it.