Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sauravpanda
Copy link
Collaborator

@sauravpanda sauravpanda commented Sep 8, 2025

Summary by cubic

Fixes JSON-RPC stream corruption in MCP mode by disabling all stdout logging and forcing logs to stderr. Removes MCP-over-HTTP; MCP now runs only over stdio. Adds session management tools for listing and closing browser sessions.

  • New Features

    • Tools: browser_list_sessions, browser_close_session, browser_close_all.
    • Auto cleanup of idle sessions (default 10 min).
  • Migration

    • Removed HTTP mode and flags (--http, --port, --json-response). Use stdio:
      • python -m browser_use.mcp
      • or run via CLI with --mcp
    • All logs in MCP mode go to stderr to keep stdout clean for JSON-RPC.

Copy link

github-actions bot commented Sep 8, 2025

Agent Task Evaluation Results: 2/4 (50%)

View detailed results
Task Result Reason
amazon_laptop ✅ Pass The agent successfully navigated to amazon.com, searched for 'laptop', and returned the name of the first laptop product result along with additional relevant details. This meets all the criteria for success.
google_maps_3d ❌ Fail The agent successfully searched for ETH Zurich Hauptgebäude, closed the side panel, switched to Satellite View, and attempted to enable 3D view. However, it failed to enable 3D mode as required and could not pan the map to clearly show both ETH Zurich Hauptgebäude and Zurich Lake simultaneously. Additionally, it did not capture a screenshot as requested. Since enabling 3D view and correctly panning the map to meet the criteria were not completed, the task is considered unsuccessful.
browser_use_pip ✅ Pass The agent correctly provided the pip installation command 'pip install --upgrade browser-use', which includes the required 'pip install browser-use' command as specified in the success criteria.
captcha_cloudflare ❌ Fail The agent was unable to locate or interact with the Cloudflare Turnstile captcha widget and the 'Check' button on the provided demo page. As a result, it could not solve the captcha or extract the required 'hostname' value. This indicates that either the captcha was not rendered as expected during the agent's visit, or the agent failed to detect and interact with the necessary elements, leading to an incomplete task.

Check the evaluate-tasks job for detailed task execution logs.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 3 files

React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.

@sauravpanda sauravpanda merged commit 4fc0504 into main Sep 8, 2025
53 checks passed
@sauravpanda sauravpanda deleted the saurav/remove-mcp-over-http branch September 8, 2025 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant