WebTrace MCP Server
Exposes reverse engineering capabilities via MCP protocol, enabling AI agents to automatically detect, analyze, trace, and deobfuscate JSVMP protected JavaScript code.
README
WebTrace
AI-driven JSVMP Auto-Reversal Chrome/Edge Extension with MCP Server
Features
- MCP Server: Expose reverse engineering capabilities via MCP protocol for AI Agents
- JSVMP Auto-Detection: Automatically identify VM dispatch loops (while-switch/if-else/handler-table)
- QuickJS WASM Sandbox: Execute and trace JSVMP bytecode in isolated environment
- Stealth Engine: Three-layer stealth (Extension hiding + Proxy Hook cloaking + Timing alignment)
- Babel AST Instrumentation: Auto-instrument VM dispatch loops for trace collection
- Cross-browser: Chrome & Edge (Manifest V3)
Quick Start
Build
npm install
npm run build
Load Extension
- Open
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" → select
dist/directory
Connect AI Agent
Architecture
┌─────────────────────────────────────────────────────┐
│ AI Agent (MCP Client) │
│ Qoder / Cursor / Claude Code │
└────────────────────┬────────────────────────────────┘
│ MCP Protocol (WebSocket/Port)
┌────────────────────▼────────────────────────────────┐
│ Service Worker (Background) │
│ ┌─────────┐ ┌──────────┐ ┌──────────────────┐ │
│ │MCP Server│ │Tab Manager│ │Offscreen Manager │ │
│ └─────────┘ └──────────┘ └────────┬─────────┘ │
└───────────────────────────────────────┼─────────────┘
│
┌───────────────────────────────────────▼─────────────┐
│ Offscreen Document │
│ ┌──────────────────┐ ┌─────────────────────────┐ │
│ │QuickJS WASM │ │Babel AST Engine │ │
│ │(Sandbox + Trace) │ │(Detect + Instrument) │ │
│ └──────────────────┘ └─────────────────────────┘ │
└─────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────┐
│ Target Web Page │
│ ┌────────────┐ ┌────────────┐ ┌──────────────┐ │
│ │Stealth │ │VM Tracer │ │API Hooks │ │
│ │Bootstrap │ │(Proxy) │ │(fetch/XHR) │ │
│ └────────────┘ └────────────┘ └──────────────┘ │
└─────────────────────────────────────────────────────┘
MCP Tools
| Tool | Description |
|---|---|
detect_protection |
Detect page protection type and level |
analyze_jsvmp |
Analyze JSVMP code structure |
trace_execution |
Execute in sandbox with full trace |
extract_bytecode |
Extract bytecode arrays from page |
hook_api |
Set up API hooks on page |
get_hook_logs |
Retrieve hook logs |
page_state |
Get page state (cookies/storage/scripts) |
deobfuscate |
Deobfuscate JS code |
Integration
Tech Stack
- TypeScript + Vite
- Chrome Extension Manifest V3
- MCP (Model Context Protocol)
- QuickJS WASM (quickjs-emscripten)
- Babel AST (@babel/parser + traverse)
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.