Pro fork: Derived from zhizhuodemao/js-reverse-mcp (Patchright stealth core preserved) and selectively ports capabilities from — hook framework, static deobfuscation, AI analysis, session snapshots, artifacts, case library. See (Apache-2.0) and (MIT, NoOne-hub).
JS reverse engineering MCP server (Pro fork) — hook framework, deobfuscation, AI analysis, sessions, artifacts, portable bundle. Built on Patchright. Adapted from zhizhuodemao/js-reverse-mcp (Apache-2.0) and NoOne-hub/JSReverser-MCP (MIT).
A JavaScript reverse engineering MCP server that enables AI coding assistants (Claude, Cursor, Codex) to debug and analyze JavaScript code in web pages.
Built on the Patchright anti-detection engine with multi-layered anti-bot bypass capabilities, allowing it to work on sites with bot detection such as Zhihu and Google.
Two-layer stealth — --cloak opts into CloakBrowser source-level fingerprint patches (canvas / WebGL / audio / GPU); --legacyStealth is the explicit fork-default fallback that keeps the original stealth-args path
Tool profile gating — --toolProfile kernel|compact|full (default kernel); restart with compact for broader workflow controls, full to expose every tool
Browser state reset — clear_site_data clears cookies, HTTP cache, persistent storage, and sessionStorage for the current page's HTTP(S) frame origins without reloading
Network export — export_network_request writes captured request / response bytes, query params, or a metadata bundle to disk (and into the active task's evidence/ directory when taskId is set)
Local-file input for evaluate_script — pipe local files into in-page evaluation for replay and fixture-driven runs
Injection path: CDP Page.addScriptToEvaluateOnNewDocument (same channel as upstream inject_before_load); no Playwright addInitScript / exposeBinding
Data sink: globalThis[Symbol.for('__jr_sink')] array + CDP Runtime.evaluate drain; no fixed string-named property on window, no console pollution
Function.prototype.toString self-cloaking: a stealth shim uses WeakMap<wrapped, orig> so Function.prototype.toString.call(fetch) returns function fetch() { [native code] }; the patched toString itself is registered, so Function.prototype.toString.toString() is also native
storage template cookie option default OFF: Object.defineProperty(document, 'cookie') leaves a non-native descriptor that advanced fingerprinters can detect
AI default OFF: only loads when --enableAI and the matching API key are both set; OpenAI / Anthropic / Gemini SDKs are dynamic-imported
1. start_reverse_task creates a task
2. new_page to target site → list_network_requests to find signed requests
3. get_request_initiator to inspect call stack
4. create_hook(network, urlPattern=...) + inject_hook
5. trigger requests → get_hook_data for context
6. create_hook(crypto) + inject_hook → see which algorithms run
7. get_script_source for the chunk → deobfuscate_code(level=deep)
8. collect_code on deobfuscated source to locate the sign function
9. understand_code (optional) lets the LLM explain it
10. record_evidence per finding
11. export_replay_bundle (shareable `.jrmcp.json`) or export_portable_bundle (single-file `run/portable.js` / `run/replay.js`)
Troubleshooting
Blocked by anti-bot systems
If you are blocked when visiting certain sites (e.g. Zhihu returning error 40362):
Clear the contaminated profile: delete ~/.cache/chrome-devtools-mcp/chrome-profile
Use isolated mode: add --isolated
Enable Canvas noise: add --hideCanvas
Hook captures no events
Confirm inject_hook returned INJECTED (use list_hooks)
Confirm rendered hook source has no syntax errors (start with --logFile)
Re-injecting the same hook on a loaded page nests the wrap; clear_hook(hookId) first or reload
deobfuscate_code level=deep complains about webcrack
webcrack is an optional dependency that itself requires @babel/core. This fork already promotes @babel/core to dependencies; if it still complains, run npm install to refresh.
Security Notice
This tool exposes browser content to MCP clients, allowing inspection, debugging, and modification of any data in the browser. Do not use it on pages containing sensitive information.
JS reverse engineering MCP server (Pro fork) — hook framework, deobfuscation, AI analysis, sessions, artifacts, portable bundle. Built on Patchright. Adapted from zhizhuodemao/js-reverse-mcp (Apache-2
JS reverse engineering MCP server (Pro fork) — hook framework, deobfuscation, AI analysis, sessions, artifacts, portable bundle. Built on Patchright. Adapted from zhizhuodemao/js-reverse-mcp (Apache-2.0) and NoOne-hub/JSReverser-MCP (MIT).
Ferramentas
Ferramentas
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Perguntas
Como instalo Js Reverse Pro?
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Este registro não lista nenhuma variável de ambiente obrigatória.
Qual transporte Js Reverse Pro usa?
Js Reverse Pro roda localmente via stdio.
Quando Js Reverse Pro foi verificado pela última vez?
Última verificação: 2026-11-05. JS reverse engineering MCP server (Pro fork) — hook framework, deobfuscation, AI analysis, sessions, artifacts, portable bundle. Built on Patchright. Adapted from zhizhuodemao/js-reverse-mcp (Apache-2.0) and NoOne-hub/JSReverser-MCP (MIT).