JS Hook MCP
MCP server for JavaScript analysis, security auditing, browser automation and hooks
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
Maintainer
Works with
Installation
NPM
npx -y @jshookmcp/jshookManual Installation
npx -y @jshookmcp/jshookConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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"
}
}
}
}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.
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.
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.
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.
JS Hook MCP Alternatives — Similar Browser Automation Servers
Looking for alternatives to JS Hook MCP? Here are other popular browser automation servers you can use with Claude, Cursor, and VS Code.
Chrome DevTools MCP
★ 40.6kAI-powered Chrome automation server with natural language element detection. Control Chrome browser through MCP protocol for testing, debugging, and performance analysis. Features 91% accuracy in element location, works with free AI models, and suppo
UI TARS Desktop
★ 34.9k📇 🏠 - Browser automation capabilities using Puppeteer, both support local and remote browser connection.
Playwright
★ 32.8kA production-ready browser automation server that enables AI assistants to interact with web pages using tools for navigation, element interaction, and data extraction. It features a built-in Inspector UI and robust crash recovery for reliable automa
Page Agent
★ 18.0kJavaScript in-page GUI agent. Control web interfaces with natural language.
Chrome
★ 11.7kAn extension-based MCP server that enables AI assistants to control your browser, leveraging existing sessions and login states for automation and content analysis. It provides over 20 tools for semantic tab search, interactive element manipulation,
LAMDA
★ 7.8kThe most powerful Android RPA agent framework, next generation mobile automation.
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.
Set Up JS Hook MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.