Purpose
jshookmcp is a front-end reverse engineering workspace for AI agents, aiming to consolidate page hooking, network packet capture, code deobfuscation, WASM disassembly, process instrumentation, and other capabilities into a single MCP server, while avoiding exposing all tool schemas to the model at once.
Main capabilities
- Search-first and configuration tiers: the search configuration loads roughly 3K tokens of tool metadata; workflow is used to chain composite scripts; the full configuration exposes all tools (materials cite 832, along with descriptions of 735 tools and 36 domains, plus a registry snapshot of 38 self-discovered domains and 832 tools).
coverage_reportView the currently active tool set. - Meta-tools:
describe_toolreturns a JSON Schema;call_toolvalidates parameters before invocation; each tool carries readOnlyHint, destructiveHint, idempotentHint, and openWorldHint annotations. - Browser automation: controls Chromium and Camoufox via CDP, supports attaching to existing targets, anti-detection presets, popup/download/permission interception, explicit-input CAPTCHA solving, injecting JS/CSS at three document stages, and preserving coverage state across reconnects.
- Network interception: on-demand automatic generation of an HTTPS interception CA, HTTP/1.1 and HTTP/2 frame construction, WebSocket capture, GraphQL helpers, Burp Suite bridging.
- Reverse engineering: wabt-based WASM disassembly (wasm2wat / wasm-decompile / wasm-objdump) and Binaryen wasm-opt, Frida/Ghidra/IDA bridging, hardware breakpoints, native FFI scanning, PE introspection, syscall hooking, AST transformation, source map reconstruction.
- Session recovery and isolation: the Streamable HTTP transport restores activated domains, browser attachment state, and coverage state after reconnection; browser-side state is isolated per client.
- Plugins and workflows: add a new domain by dropping it into a directory; write a YAML pipeline and run it as a single tool; automatic registry discovery.
Usage
No global installation is required; just add the service to your MCP client configuration. For Claude Desktop / Cursor, the claude_desktop_config.json example (on Windows, if npx cannot be found, use the absolute path to npx.cmd):
{
"mcpServers": {
"jshook": {
"command": "npx",
"args": ["-y", "@jshookmcp/jshook"],
"env": {
"npm_config_omit": "optional"
}
}
}
}
This lightweight configuration skips the optional ONNX, Z3, Binaryen, Camoufox, and Playwright packages; remove npm_config_omitwhen the full runtime is needed.
When multiple agents share a single daemon, you can start a local Streamable HTTP service:
npx -y @jshookmcp/jshook --http --port 3000
Then each MCP client points to http://127.0.0.1:3000/mcpvia HTTP/URL. Each client gets an independent MCP session and response routing, while heavy runtime resources remain in a single process. By default it binds to the loopback address; to expose the endpoint beyond localhost, first set MCP_AUTH_TOKEN.
As the task progresses, you can switch MCP_TOOL_PROFILE: Start with search; when chaining composite scripts, switch to workflow; switch to full only when all tools are genuinely needed.
Applicable scenarios
Suitable for AI agent workflows that require reverse engineering analysis, network protocol observation, WASM and native binary analysis, and dynamic instrumentation in frontend/browser environments, and also suitable for scenarios where multiple agents share the same browser runtime.
Limitations and caveats
- This is a Node.js service, not a browser library; it runs via stdio or a local Streamable HTTP daemon, requires Node.js ^22.22.2 || ^24.15.0 || >=26.0.0, and is not intended to be bundled into web pages.
- The published package is about 1.45 MB (gzip) / about 5 MB (unpacked, 358 files, mainly dist/). The roughly 48 KB gzip reported by tools such as Bundlephobia is the result of analyzing the dist/index.mjs entry point as a browser bundle and does not represent the installed CLI/server size.
- No install-time lifecycle scripts, no bundled native binaries; native runtimes are optional and loaded on demand.
- Search is purely lexical retrieval (BM25 + RRF); the embedding retrieval path has been removed, with no model downloads, workers, embedding caches, or cold starts.
- Telemetry is enabled by default: with zero configuration, it sends via OTLP/HTTP to the project maintainer's endpoint (https://telemetry.614447.xyz)发送最小化的工具调用与搜索使用信号,仅以本地生成的匿名 install.id identifier; by default it does not collect tool arguments, response bodies, hostnames, usernames, or IPs; query text is truncated to 64 characters and credential-like keys are redacted. This outbound traffic occurs even if no tools are called. It can be fully disabled or redirected to your own backend via environment variables; see the telemetry guide for the full data minimization table and per-signal controls (JSHOOK_OTLP_QUERY_TEXT, JSHOOK_OTLP_TOOL_ARGS).
- Browser CAPTCHA solving is explicitly input-driven and requires passing taskKind, siteKey, imageBase64, callbackName, and responseSelector as needed; it does not use built-in component/page feature detection.
- Building from source requires Node.js 22.22.2+ and pnpm 10.x;
pnpm builddoes not bundle native helper components, and the first run may download optional runtimes (ONNX, Z3, Binaryen, Camoufox, Playwright) depending on configuration. - Production deployments should refer to the security and production guides.
Other facts
The materials list the package version as 0.4.9, with 832 built-in tools, and domains including adb-bridge, binary-instrument, browser, canvas, coordination, core, cross-domain, dart-inspector, debugger, devtools, encoding, exploit-dev, extension-registry, graphql, hardware, instrumentation, maintenance, memory, mojo-ipc, native-bridge, native-emulator, network, platform, process, protocol-analysis, proxy, session, sourcemap, streaming, syscall-hook, tasks, tls-inspector, trace, transform, v8-inspector, wasm, webgpu, workflow. Specific fees, pricing, and platform support scope are not yet provided.