Skip to content

MCP App rendering fails with invalid static resource path #1082

Closed as not planned

Description

@juhsoin

Inspector Version

  • v0.20.0

Describe the bug
When trying to run MCP app the following error occurs and is displayed instead of the MCP app

MCP Apps sandbox not loaded: Error: ENOENT: no such file or directory, open '/home/<homedir>/.npm/_npx/5a9d879542beca3a/node_modules/@modelcontextprotocol/inspector/server/static/sandbox_proxy.html'

To Reproduce
Steps to reproduce the behavior:

1.Run your mcp app and the Mcp inspector
2. Go to Apps panel
3. Click on your Mcp app
4. See the app panel on the right
5. The screen renders white with the aforementioned error.
Expected behavior
Instead or the error, the MCP app would render

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Linux, Debian 13
  • Browser, Chromium 144.0.7559.132 and Firefox 140.7.0esr

Additional context
The file in question resides on my machine in path @modelcontextprotocol/inspector/server/build/static/sandbox_proxy.html instead of teh expected @modelcontextprotocol/inspector/server/static/sandbox_proxy.html

Symlinking the path to the expected location makes the app work.

Version Consideration

Inspector V2 is under development to address architectural and UX improvements. During this time, V1 contributions should focus on bug fixes and MCP spec compliance. See CONTRIBUTING.md for more details.

Activity

  1. VikashLoomba commented on Feb 10, 2026

    @VikashLoomba

    +1 am facing the same issue

  2. mayank-parekh commented on Feb 13, 2026

    @mayank-parekh

    +1 am facing the same issue

  3. rafaeljusto commented on Feb 16, 2026

    @rafaeljusto

    For those looking for a quick fix:

    d=$(find ~/.npm/_npx -type d -path "*/node_modules/@modelcontextprotocol/inspector/server")
    mkdir "$d/static"
    cp "$d/build/static/sandbox_proxy.html" "$d/static/"
  4. soundstep commented on Feb 19, 2026

    @soundstep

    @rafaeljusto Quick fix working, thank you.

  5. jwoods02 commented on Feb 25, 2026

    @jwoods02
    Contributor

    Didn't see this issue! Fixed by #1113

  6. SteveTalbot commented on Apr 24, 2026

    @SteveTalbot

    PR #1113 appears to fix the bug when running MCP Inspector via npx, but not when running the Docker container. The error message is slightly different but amounts to the same problem:

    MCP Apps sandbox not loaded: Error: ENOENT: no such file or directory, open '/app/server/static/sandbox_proxy.html'

  7. safe049 commented on Jul 22, 2026

    @safe049

    #1736

    i submited a pr fixing it

  8. added
    closed-v1-deprecated
    on Aug 1, 2026
  9. cliffhall commented on Aug 1, 2026

    @cliffhall
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-v1-deprecatedv1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions