mcp_py_sse_browser_control
If you are the rightful owner of mcp_py_sse_browser_control and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project provides a way to execute JavaScript code in a browser from Python using MCP (Model Control Protocol).
The Browser JavaScript Evaluator is a project designed to execute JavaScript code in a browser environment from a Python-based MCP server. It consists of two main components: a web server and an MCP server. The web server handles browser connections via Server-Sent Events (SSE) and provides a REST API for executing JavaScript, returning results synchronously. The MCP server manages the lifecycle of the web server, provides MCP tools for executing JavaScript, and communicates with the web server through REST API calls. The process involves the MCP server starting the web server, a browser connecting via SSE, and the execution of JavaScript code through REST API calls, with results being returned to the caller.
Features
- Execute JavaScript code in a browser from Python using MCP.
- Web server handles browser connections via Server-Sent Events (SSE).
- REST API endpoint for executing JavaScript and returning results synchronously.
- MCP server manages the lifecycle of the web server and provides MCP tools.
- Communication between MCP server and web server via REST API calls.