Describe the bug
I started MCP Inspector via `npx @modelcontextprotocol/inspector. I tried connecting to an MCP server, going to the Apps tab, and opening an app, but it threw this error.
To Reproduce
Steps to reproduce the behavior:
- Clear cache and run
npx @modelcontextprotocol/inspector
- Connect to an MCP server that has an MCP App
- Go to the Apps tab
- Click on the MCP App in the left-hand navigation and select "open" from the dropdown and click "Open App"
- The "Sandbox not loaded" error occurs
Expected behavior
The app should display when selecting "open" and clicking "Open App".
I was able to resolve the problem by:
- Going to the git repo and went to clients/web/static/sandbox_proxy.html
- Copying the raw contents
- Going to my _npx directory and the cached node_modules/@modelcontextprotocol/inspector/clients/web folder
- Creating a subdirectory "static"
- Creating a file sandbox_proxy.html and pasting in the raw contents from the git repo
- Restarting
npx @modelcontextprotocol/inspector
Additional context
Clearing the npx cache didn't solve it. I cross-referenced with NPM site and there's no "static" folder in @modelcontextprotocol/inspector/clients/web. I'm not sure if this is a CI/CD issue that's just not adding the static contents to NPM.
Describe the bug
I started MCP Inspector via `npx @modelcontextprotocol/inspector. I tried connecting to an MCP server, going to the Apps tab, and opening an app, but it threw this error.
To Reproduce
Steps to reproduce the behavior:
npx @modelcontextprotocol/inspectorExpected behavior
The app should display when selecting "open" and clicking "Open App".
I was able to resolve the problem by:
npx @modelcontextprotocol/inspectorAdditional context
Clearing the npx cache didn't solve it. I cross-referenced with NPM site and there's no "static" folder in @modelcontextprotocol/inspector/clients/web. I'm not sure if this is a CI/CD issue that's just not adding the static contents to NPM.