BrowserOS icon indicating copy to clipboard operation
BrowserOS copied to clipboard

Windows: MCP server fails to start in BrowserOS neo

Open xpajonx opened this issue 2 months ago • 6 comments

Summary

On Windows 11, BrowserOS neo 0.50.5.0 reports MCP server: Unavailable and the MCP page shows:

could not reach the cockpit. Check that the local claw-server is running.

Endpoint URL shown: http://127.0.0.1:9010/mcp

The browser UI opens, but no local listener appears on ports 9010 / 9210 / 9110. OpenCode browseros-neo remote MCP at http://127.0.0.1:9010/mcp fails with ConnectionRefused / Unable to connect. Is the computer able to access the url?

This looks related to #144 ("Built-in MCP server not working"), but that issue is Linux + BrowserOS 137.x + port 9100 and closed. This is Windows + BrowserClaw 0.50.5.0 + port 9010, still reproducible after full quit/relaunch.

Environment

From BrowserOS neo diagnostics (v1), collected 2026-09-24T12:48:18.199Z:

  • BrowserOS: 0.50.5.0
  • Chromium: 151.0.8162.137
  • MCP server: Unavailable
  • App extension: 0.2.25.0
  • Bug Reporter extension: 57.0.0.0
  • OS: Windows, x86-64
  • CPU: AMD Ryzen 3 5300U with Radeon Graphics, 8 logical cores
  • Memory: 15.3 GiB total, 2.5 GiB available at collection time (system-wide sample, no OOM evidence)

Install path: C:\Users\upper\AppData\Local\BrowserClaw Launcher: C:\Users\upper\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\BrowserOS neo.lnk Installed config .browseros/config.json reports:

  • proxy port 9010, server port 9210, CDP port 9110
  • allow_remote_in_mcp: false (loopback-only, kept as-is)
  • BrowserOS version 0.50.5.0, Chromium 151.0.8162.137

WSL: networkingMode=mirrored (verified via wslinfo --networking-mode)

Repro steps

  1. Open BrowserOS neo MCP page. Note endpoint http://127.0.0.1:9010/mcp and message could not reach the cockpit. Check that the local claw-server is running. under Connected agents.
  2. Fully quit BrowserClaw via tray menu Exit/Quit (confirmed no BrowserClaw processes / no listeners on 9010, 9210, 9110 before relaunch).
  3. Relaunch via verified Start Menu shortcut BrowserOS neo.lnk (CUA open reported success).
  4. Wait 15s, then from WSL: curl --silent --show-error --max-time 5 --output /dev/null --write-out 'HTTP_STATUS=%{http_code}\n' http://127.0.0.1:9010/mcp Result: curl: (7) Failed to connect to 127.0.0.1 port 9010: Connection refused
  5. opencode mcp list from /home/xpajonx: browseros-neo failed: Unable to connect. Is the computer able to access the url?
  6. OpenCode log ~/.local/share/opencode/log/opencode.log: 2026-09-24T12:18:34.260Z WARN mcp http request failed ... server=browseros-neo ... origin=http://127.0.0.1:9010 method=POST ... ConnectionRefused 2026-09-24T12:18:34.261Z WARN mcp connect failed server=browseros-neo status.status=failed

After relaunch, 19x chrome.exe at C:\Users\upper\AppData\Local\BrowserClaw\Application\chrome.exe were running, but still no listeners on 9010/9210/9110.

Expected

After normal launch, claw-server listens on loopback (9010 for MCP) and MCP page shows Connected agents instead of could not reach the cockpit.

Actual

Browser process runs, but MCP sidecar appears unavailable. Diagnostics explicitly says MCP server: Unavailable.

Other checks (read-only, no config changes)

  • Global OpenCode config still defines browseros-neo as type: remote, url: http://127.0.0.1:9010/mcp, enabled: true (~/.config/opencode/opencode.jsonc:555-559). No project-local override. No auth/env required for this entry.
  • .browseros/server.lock exists but is 0 bytes, mtime 2026-09-16 09:25:18 +0700. Contains no PID/status/port.
  • Latest claw-server.log.2026-09-24 inspected showed only Applying all pending migrations entries (latest 2026-09-24T12:40:34Z), no error/exit reason found in the lines checked.
  • Official docs checked (/neo/mcp, /neo/cockpit, /neo/install, /neo/how-it-works) do not document a Windows manual start/restart route for claw-server, and package inspection under Application/151.0.8162.137/BrowserClawServer/default/resources/bin/ found only browseros-claw-server.exe with no manifest documenting the supported app-level launch route. I did not run the exe directly.
  • Related open issue #2706 notes port 9010 binding behavior; mentioning in case it is relevant, but this case is no listener at all, not 0.0.0.0 vs 127.0.0.1.

Question / request

  1. What is the supported way on Windows to restart claw-server when diagnostics says MCP server: Unavailable?
  2. Are there additional Windows logs for browseros-claw-server startup failures I should attach?
  3. Does the #144 startup/profile-initialization behavior have a known Windows 0.50.x equivalent or fix?

Happy to attach redacted logs or retest. I kept everything loopback-only and did not expose MCP to the network.

xpajonx avatar Sep 25 '26 20:09 xpajonx

Additional read-only evidence from the installed Windows machine:

  • claw-server.log.2026-09-22 records successful startup twice: 2026-09-22T02:41:18Z and 2026-09-22T14:20:38Z, each with claw-server-rust listening bound=127.0.0.1:9210.
  • claw-server.log.2026-09-24 and claw-server.log.2026-09-25 contain later migration-start entries, including 2026-09-25T21:57:42Z, but the inspected logs have no corresponding listening line or startup error for these later attempts.
  • The only installed server-version directory is 0.0.54. Public Windows x64 resource bundles are now available through claw-server/v0.0.58; I have not replaced or manually launched any binary.

This confirms the server had previously started on the expected loopback server port, while later attempts appear to stop before the logged bind. Can you advise where Windows sidecar launch/crash errors are recorded, and whether the packaged updater should have advanced the installed server beyond 0.0.54? No MCP/network exposure or config changes were made.

xpajonx avatar Sep 25 '26 22:09 xpajonx

Restore test result (user-approved, loopback-only):

  • Backed up versions/0.0.54/resources/bin/browseros-claw-server.exe (SHA256 66d02a5e9a2454e983685a378f52279deb4bdd3f10495dfc86144629f51d1c5e) to timestamped backup.
  • Restored official claw-server/v0.0.54 Windows x64 bundle executable (SHA256 61c98859e61aee31836a938ac247fc5a78c22472765f775ab8bf794a0a118917, verified after copy).
  • Quit BrowserClaw fully (no processes/listeners), replaced only that sidecar file, relaunched via verified BrowserOS neo.lnk.
  • After 15s: WSL curl http://127.0.0.1:9010/mcp still Connection refused; opencode mcp list still browseros-neo failed: Unable to connect.
  • Post-restore claw-server.log.2026-09-25 shows new 2026-09-25T22:27:12Z Applying all pending migrations entry, with no listening line in inspected tail. Port 9110 listening, no 9010/9210.

So the official 0.0.54 bundle reproduces the same failure on this machine. This points away from a corrupted local binary and toward the packaged launch/startup path or runtime state. Backup preserved for revert if needed. No network exposure, no config changes.

xpajonx avatar Sep 25 '26 22:09 xpajonx

Upgrade-stage test (user-approved, loopback-only, additive only):

  • Staged official claw-server/v0.0.58 Windows x64 bundle as BrowserClawServer/versions/0.0.58/ (exe SHA256 c43daee630d4a288cf984a43d1955daf75229c757c895a1dbe0bf0d699579207, verified). Existing versions/0.0.54/ left intact, including the restored official 0.0.54 exe and timestamped backup.
  • Relaunched via verified BrowserOS neo.lnk. After 15s: WSL curl http://127.0.0.1:9010/mcp still Connection refused; opencode mcp list still browseros-neo failed.
  • New log entry 2026-09-25T22:32:53Z Applying all pending migrations, no listening line in inspected tail. Only 9110 listening.
  • No evidence the app launched from the staged 0.0.58 dir; no version-selection manifest was found, so this tested staging, not a vendor-supported upgrade path.

Both official 0.0.54 (in place) and staged 0.0.58 reproduce the same no-listener failure. Awaiting guidance on the supported Windows server version-selection/update path and where sidecar launch errors are recorded.

xpajonx avatar Sep 25 '26 22:09 xpajonx

Possibly the same root cause as here: on Linux (AUR) the claw-server also stopped silently right after Applying all pending migrations; in our case migration m0019_add_feedback_invite_dismissal failed because its column already existed, and the failure was not logged. Details, cause and workaround in #2792 — maybe worth checking seaql_migrations against the feedback_invite / run_error_budget tables in your browserclaw.sqlite.

timselders757544 avatar Sep 30 '26 19:09 timselders757544

Taking this. Plan: trace the Windows MCP server startup path, capture the actual failure, and ship a minimal fix with a regression test. PR incoming.

Harbor404 avatar Oct 01 '26 17:10 Harbor404

this should be fixed by the mcp startup changes in server 0.0.67, which has rolled out. thanks for the detailed logs and for sticking with this.

please fully quit and reopen neo, then check help → diagnostics → mcp server for version 0.0.67. if it's still unavailable, reply with what diagnostics shows and the latest startup error so we can reopen this.

shadowfax92 avatar Oct 07 '26 21:10 shadowfax92