You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BrowserOS MCP server binary returns InternalServerError on ALL JSON-RPC method calls (initialize, tools/list, etc.), even though the health endpoint reports cdpConnected: true. This prevents any MCP client (Hermes agent, Claude, etc.) from using BrowserOS tools.
Environment
OS: macOS (Apple Silicon)
BrowserOS: v0.46.0
browseros-cli: v0.2.2
MCP Client: Hermes agent (but reproducible with raw curl)
Connection: HTTP to http://127.0.0.1:[port]/mcp
Expected Behavior
The MCP server should return a valid JSON-RPC response with server capabilities when calling initialize or tools/list methods.
Actual Behavior
All JSON-RPC method calls return InternalServerError, making the MCP server completely unusable despite appearing healthy.
This issue: Server never works - fails immediately on first connection
The health check shows CDP is connected, but the MCP layer cannot execute any commands. This suggests the server binary may have a bug in its JSON-RPC handler or initialization logic.
Issue Type
Agent Issue
Operating System
macOS
Description of the bug
The BrowserOS MCP server binary returns
InternalServerErroron ALL JSON-RPC method calls (initialize,tools/list, etc.), even though the health endpoint reportscdpConnected: true. This prevents any MCP client (Hermes agent, Claude, etc.) from using BrowserOS tools.Environment
http://127.0.0.1:[port]/mcpExpected Behavior
The MCP server should return a valid JSON-RPC response with server capabilities when calling
initializeortools/listmethods.Actual Behavior
All JSON-RPC method calls return
InternalServerError, making the MCP server completely unusable despite appearing healthy.Steps to Reproduce
Start BrowserOS app normally
Note the MCP servr port (changes on each restart - see related issue BrowserOS MCP server binds to random ports, settings show wrong port #199)
Verify health endpoint works:
curl http://127.0.0.1:9200/health # Returns: {"status":"ok","cdpConnected":true,...}Attempt to initialize MCP connection:
Result: Returns
InternalServerErrorinstead of valid JSON-RPC responseScreenshots / Videos
No response
BrowserOS Version
v0.46.0
Additional Context
Observed Pattern
cdpConnected: true/mcpendpoint immediately returnsInternalServerErrorRelated Issues
Error Details
cdpConnected: true)InternalServerErroron ALL methodsinitialize,tools/list, and othersWorkaround
None currently. The built-in browser tools work, but the MCP server is completely non-functional.
Additional Context
This appears to be a regression or different manifestation of issue #395. The key difference:
browseros_server MCP handler degrades to 503 after unhandled errors in handleGetRequest #395: Server works initially, then degrades after accumulating unhandled errors
This issue: Server never works - fails immediately on first connection
The health check shows CDP is connected, but the MCP layer cannot execute any commands. This suggests the server binary may have a bug in its JSON-RPC handler or initialization logic.