Submit

Browser JavaScript Evaluator

@matdmiller

a year ago
developer-tools
This is a reference design for a MCP server that hosts a web page that connects back to the server via sse and allows Claude to execute javascript on the page.
Overview

what is Browser JavaScript Evaluator?

This project provides a way to execute JavaScript code in a browser from Python using MCP (Model Control Protocol).

how to use Browser JavaScript Evaluator?

To use this project, add the MCP server to your Claude configuration and launch it. Then, open a browser and navigate to the provided local URL to connect to the web server.

key features of Browser JavaScript Evaluator?

  • Executes arbitrary JavaScript code in the browser from Python.
  • Provides a REST API for executing JavaScript.
  • Supports Server-Sent Events (SSE) for real-time communication.

use cases of Browser JavaScript Evaluator?

  1. Running JavaScript code snippets for testing and debugging.
  2. Integrating JavaScript execution into Python applications.
  3. Automating browser tasks using JavaScript.

FAQ from Browser JavaScript Evaluator?

  • Is it safe to use this project?

This project can execute arbitrary JavaScript in your browser, which can be dangerous. Use at your own risk.

  • How do I run the web server independently?

You can run the web server independently by executing python web_server.py in your terminal.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.