mcp-inspector-desktop
v1.0.0
Published
Electron shell that runs the official MCP Inspector in a window with web security disabled, so cross-origin (CORS) requests to remote MCP servers are not blocked.
Maintainers
Readme
MCP Inspector Desktop
A ~80-line Electron shell around the official MCP Inspector. It launches the
real Inspector and renders it in a window with webSecurity: false, so the UI
can talk directly to a remote (cloud) MCP server from localhost without
browser CORS blocking the request.
Same UI, same features as npx @modelcontextprotocol/inspector — just no CORS
enforcement, and nothing has to change on the server.
Run
npx mcp-inspector-desktopA desktop window opens with the Inspector. Then:
- Transport: Streamable HTTP
- URL: your MCP server endpoint, e.g.
https://<your-mcp-server-host>/path/to/api/v1/mcp - Add any headers your server requires (Authentication tab / custom headers),
e.g.
authorization: Bearer <token>plus any tenant/device headers. - Connect → list tools / call tools as usual.
Notes / safety
webSecurity: false+--disable-web-securityare intentional and apply only to this app. It's a dev tool — don't use it to browse the web.- The Inspector is pulled via
npx -y @modelcontextprotocol/inspectoron first launch, so you always get the current version. (SetCLIENT_PORTenv var to change the UI port; defaults to 6274.) - Quitting the window also stops the spawned Inspector process.
