This project provides a way to execute JavaScript code in a browser from Python using MCP (Model Control Protocol). It features a REST API for execution and supports Server-Sent Events for real-time communication.
This project provides a way to execute JavaScript code in a browser from Python using MCP (Model Control Protocol). It features a REST API for execution and supports Server-Sent Events for real-time communication.
python web_server.pyAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"browser-javascript-evaluator": {
"command": "npx",
"args": [
"-y",
"python web_server.py"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from Browser JavaScript Evaluator?"
No configuration required. This server works out of the box.
"What resources are available in Browser JavaScript Evaluator?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in Browser JavaScript Evaluator"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in Browser JavaScript Evaluator with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
See what tools in your stack can connect to AI.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.