JS Hook MCP

v0.3.0Browser Automationstable

MCP server for JavaScript analysis, security auditing, browser automation and hooks

browser-automationdebuggingdeobfuscationjs-reversemcp
Share:
1,523
Stars
0
Downloads
0
Weekly
0/5

What is JS Hook MCP?

JS Hook MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for javascript analysis, security auditing, browser automation and hooks

MCP server for JavaScript analysis, security auditing, browser automation and hooks

This server falls under the Browser Automation and Security categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for JavaScript analysis, security auditing, brows

Use Cases

Analyze JavaScript code for security vulnerabilities.
Perform browser automation and hook injection for debugging.
Conduct reverse engineering and network analysis.
vmoranv

Maintainer

LicenseAGPL 3.0
Languagetypescript
Versionv0.3.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @jshookmcp/jshook

Manual Installation

npx -y @jshookmcp/jshook

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use JS Hook MCP

JsHookMCP is a comprehensive MCP server for JavaScript reverse engineering, security analysis, and browser automation, exposing 459 built-in tools across 36 domains. It integrates a Chromium/Camoufox browser engine with CDP debugging, HTTP/2 network interception and MiTM capture, WASM disassembly, source-map reconstruction, GraphQL analysis, and LLM-powered deobfuscation — all accessible from Claude or any MCP client. Security researchers, web developers, and penetration testers use it to analyze obfuscated scripts, intercept network traffic, automate browsers for scraping or testing, and perform deep JavaScript forensics.

Prerequisites

  • Node.js 18 or later with npx available
  • An MCP client such as Claude Desktop
  • Chromium or a compatible browser installed (for browser automation tools)
  • Basic familiarity with JavaScript and browser DevTools concepts
1

Add JsHookMCP to your MCP client configuration

Open claude_desktop_config.json and add the jshook server entry. The JSHOOK_BASE_PROFILE environment variable controls how many tools are loaded — start with 'search' to keep token usage low.

{
  "mcpServers": {
    "jshook": {
      "command": "npx",
      "args": ["-y", "@jshookmcp/jshook@latest"],
      "env": {
        "JSHOOK_BASE_PROFILE": "search"
      }
    }
  }
}
2

Choose the right profile

The JSHOOK_BASE_PROFILE variable selects the tool tier: 'search' loads ~3K tokens of foundational tools, 'workflow' adds intermediate capabilities, and 'full' exposes the entire 40K+ token toolkit including all 459 tools.

3

Restart your MCP client

Quit and reopen Claude Desktop to load the jshook server. Claude will now have access to JavaScript analysis and browser automation capabilities.

4

Discover available tools with search_tools

Use the search_tools meta-tool to find the right tool for your task using hybrid ranking. This helps navigate the 459-tool catalog without needing to know exact tool names.

5

Switch to full profile for advanced tasks

For deep reverse engineering workflows like WASM disassembly, process memory forensics, or full MiTM capture, update JSHOOK_BASE_PROFILE to 'full' and restart your client.

{
  "mcpServers": {
    "jshook": {
      "command": "npx",
      "args": ["-y", "@jshookmcp/jshook@latest"],
      "env": {
        "JSHOOK_BASE_PROFILE": "full"
      }
    }
  }
}

JS Hook MCP Examples

Client configuration

claude_desktop_config.json entry for JsHookMCP with the search profile for minimal token usage.

{
  "mcpServers": {
    "jshook": {
      "command": "npx",
      "args": ["-y", "@jshookmcp/jshook@latest"],
      "env": {
        "JSHOOK_BASE_PROFILE": "search"
      }
    }
  }
}

Prompts to try

Example tasks you can ask Claude to perform using the JsHookMCP server.

- "Deobfuscate this minified JavaScript and explain what it does: [paste code]"
- "Open a headless Chrome session and navigate to example.com, then capture all network requests"
- "Intercept HTTP/2 traffic from this site and show me the API endpoints being called"
- "Reconstruct the source map for this compiled JavaScript bundle"
- "Analyze this WASM binary and describe its exported functions"

Troubleshooting JS Hook MCP

Context window errors or token limit exceeded when using the full profile

Switch JSHOOK_BASE_PROFILE from 'full' to 'search' or 'workflow' to reduce the number of tools loaded. Use the search_tools meta-tool to find specific tools when needed rather than loading all 459 at once.

Browser automation tools fail with 'browser not found' errors

JsHookMCP requires a compatible Chromium installation. Install Google Chrome or Chromium on your system and ensure it is accessible in the standard system application path.

npx download is slow or times out on first run

The @jshookmcp/jshook package is large due to bundled browser automation dependencies. Run `npx -y @jshookmcp/jshook@latest` once in a terminal to pre-download and cache it before adding it to your MCP config.

Frequently Asked Questions about JS Hook MCP

What is JS Hook MCP?

JS Hook MCP is a Model Context Protocol (MCP) server that mcp server for javascript analysis, security auditing, browser automation and hooks It connects AI assistants to external tools and data sources through a standardized interface.

How do I install JS Hook MCP?

Install via npm with the command: npx -y @jshookmcp/jshook. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with JS Hook MCP?

JS Hook MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is JS Hook MCP free to use?

Yes, JS Hook MCP is open source and available under the AGPL 3.0 license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "jshookmcp": { "command": "npx", "args": ["-y", "@jshookmcp/jshook"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use JS Hook MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides