Executes JavaScript code in a browser from Python using MCP, enabling interaction with web pages through server-sent events.
This tool provides a mechanism to execute JavaScript code within a browser environment directly from a Python-based MCP server. It establishes a connection between the server and a browser through Server-Sent Events (SSE), allowing the MCP server to send JavaScript commands to the browser for execution and receive the results back. This enables dynamic control and interaction with web pages, opening up possibilities for browser automation and integration with MCP-managed workflows.