evaluate_js
2 published MCP servers declare evaluate_js. h5-devtools-mcp and chrome-dev-mcp have the highest trust scores right now. Servers describe it as: Run arbitrary JavaScript in global scope, with DevTools console semantics: top-level await works, and an expression that merely returns a promise stays pending rather than being awaited for you. Returns the real value when it serialises; DO Few published servers use this exact name, so read each listing before you install. Open a server for its install config and the rest of its tools.
h5-devtools-mcp
by xianguogou · TypeScript
Debug H5 pages inside Android app WebViews: console logs, exceptions, run JS.
chrome-dev-mcp
by congzhou09 · TypeScript
Debug an already-running Chrome tab: breakpoints, stepping, scope variables, console, network
FAQ
- What is the evaluate_js MCP tool?
- evaluate_js is a tool name MCP servers declare. A description they publish is: Run arbitrary JavaScript in global scope, with DevTools console semantics: top-level await works, and an expression that merely returns a promise stays pending rather than being awaited for you. Returns the real value when it serialises; DO
- Which MCP servers provide evaluate_js?
- 2 published servers declare evaluate_js. Highest in the current trust order: h5-devtools-mcp and chrome-dev-mcp.
- How do I use evaluate_js?
- Install a server that declares evaluate_js, then call it from Claude, Cursor, or VS Code. Each server page has the config for that client and the other tools that server exposes.