Independent MCP diagnostic
Prove the browser connection before debugging the agent.
The official MCP Inspector can connect straight to Hronaut's local endpoint and list its tools, with no coding agent, editor or LLM involved. One short probe tells you whether to fix Hronaut and the connection, or your client's setup.
What this isolates
Hronaut → loopback → MCP
Run the Inspector on the same computer as Hronaut. A hosted Inspector, cloud agent, remote VM, or container without explicit host networking cannot reach your desktop's 127.0.0.1.
Step 1 · Probe
List tools without calling one.
Current MCP Inspector v2 requires Node.js 22.19 or newer. Start Hronaut, confirm MCP server online on Hronaut Home, then run the CLI on the same machine.
1 · Runtime
Check the Node version
node --versionUse Node 22.19.0 or newer for the current Inspector v2 package.
2 · Transport
Ask for Hronaut's tool catalog
export HRONAUT_MCP_TOKEN="$(cat '/path/from-hronaut-home')"
npx @modelcontextprotocol/inspector@latest --cli http://127.0.0.1:47812/mcp --transport http --method tools/list --header "Authorization: Bearer $HRONAUT_MCP_TOKEN"tools/list initializes the connection and reads tool definitions. It does not navigate, click, or modify a browser workspace.
A new Hronaut profile requires its MCP token. Use the token-file path shown on Hronaut Home; the first line reads the token from that file, so it is never typed into your shell history. For a profile whose Require MCP authentication is off, leave out the first line and --header.
MCP Inspector is maintained by the Model Context Protocol project. It is not bundled with Hronaut, and running it with npx downloads and executes that separate package. The explicit --transport http selects Streamable HTTP. The CLI is one-shot: it connects, runs the requested method, prints the result, disconnects, and returns a non-zero exit code for protocol or tool errors.
Prefer a visual inspector? Use the local web UI
Use the web UI when you need to inspect schemas and responses. Start the current Inspector without a target, add a Streamable HTTP server in its local catalog, and connect it to Hronaut.
Local Inspector UI
Keep both developer tools on loopback
npx @modelcontextprotocol/inspector@latest- Open the local URL printed by Inspector.
- Add a server named hronaut.
- Select Streamable HTTP and enter
http://127.0.0.1:47812/mcp. Add anAuthorizationheader withBearerand the token from the file Hronaut Home identifies. - Connect, open Tools, then inspect the catalog before calling anything.
Inspector v2 stores server entries in ~/.mcp-inspector/mcp.json. Hronaut's bearer token and Inspector's own local API token protect different boundaries. Never disable either product's authentication to make a valuable signed-in profile easier to debug.
Step 2 · Read the result
Fix the layer that failed.
| What you see | What it proves | Next check |
|---|---|---|
| Connection refused | No process accepted the configured loopback connection. | Confirm Hronaut is running, MCP is online, and the active port on Hronaut Home matches the URL. |
| Unauthorized | The endpoint is reachable, but the Hronaut profile requires authentication. | Keep authentication enabled. Use Hronaut Home's token-aware snippet in a supported client; do not paste an owner token into shell history or a support ticket. |
tools/list succeeds | Hronaut, Streamable HTTP negotiation and tool discovery work independently of the coding agent. | Reload the client configuration, check its local or user scope, and confirm it points to the same port and transport. |
| Client connects, task fails | The transport is no longer the first suspect. | Inspect the exact tool arguments and result, then retry in a disposable named workspace with clean scratch storage. |
Step 3 · Browser check
Then verify one browser task.
Once discovery passes, return to your coding agent. Ask it to create a named first-check workspace, open https://example.com, and report the page title and workspace ID without touching Default. That tests tool use and browser behavior on top of the transport probe.
Security
Do not weaken security for a diagnostic.
Two local control surfaces. Inspector can connect to MCP servers, and its backend can launch local processes. Keep its default API authentication enabled, leave it bound to loopback, and never set DANGEROUSLY_OMIT_AUTH. Do not expose its web server to a LAN or the public internet.
Keep Hronaut authentication on. A new profile requires the owner token, and the probe above reads it from its owner-only file. Do not turn authentication off to debug a signed-in or sensitive profile; troubleshoot through a configuration that reads the token safely. Pause MCP before you enter passwords, security keys, payment data or other human-only information.
Setup outcome
Did this restore your Hronaut connection?
Your choice records one aggregate outcome label, with no visitor identifier, browser data, workspace data or agent data. It helps separate resolved setup friction from cases that still need investigation.
The blocked path opens a public GitHub issue form. Never include credentials, MCP tokens, private URLs, page content, screenshots or personal browser-session data.
Sources
- MCP Inspector CLI reference — current Streamable HTTP flags, supported methods, one-shot behavior, output, exit semantics and Node requirement.
- Inspector v1-to-v2 migration — the current v2 package, default catalog, local API token and changed web architecture.
- Inspector web-client reference — loopback binding, API authentication, persisted server settings and warnings against network exposure.
- MCP Streamable HTTP specification — independent server transport, single endpoint behavior, Origin validation, loopback binding and authentication guidance.