Perception RE MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Perception RE MCP Serverscan for integer 999 in process game.exe"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Perception RE MCP Server
MCP server that bridges Claude Code to Perception.cx reverse engineering tools via AngelScript WebSocket.
Claude Code (stdio) → MCP Server (Node.js) ← WebSocket :9001 → re_server.as (Perception IDE)Multiple Claude Code instances can share the same Perception connection simultaneously through a hub/relay architecture.
Prerequisites
Node.js (v18+)
Perception.cx with AngelScript IDE
Claude Code CLI
Related MCP server: Herald
Installation
git clone https://github.com/verifizieren/perception-mcp.git
cd perception-mcp
npm install
npm run builddist/ is gitignored - you must run npm run build after cloning or dist/index.js won't exist.
Configuration
Global (all Claude Code sessions)
Create or edit ~/.mcp.json:
{
"mcpServers": {
"perception-re": {
"command": "node",
"args": ["<full-path-to>/perception-mcp/dist/index.js"]
}
}
}Replace <full-path-to> with the absolute path to where you cloned the repo. Use forward slashes even on Windows.
Per-project
Add the same config to your project's .mcp.json in the project root.
Usage
1. Load the AngelScript server in Perception
Open re_server.as in the Perception IDE script editor and run it. The script runs in background mode - it automatically keeps trying to connect to the MCP server and reconnects if disconnected. You can load it on Perception startup.
Waiting:
[RE Server] Waiting for MCP server... (attempt 1)Connected:
[RE Server] Connected to MCP server.2. Start Claude Code
Open Claude Code in any project. The MCP server starts automatically via ~/.mcp.json.
3. Multiple instances
First instance = hub (WebSocket server on port 9001). Additional instances auto-connect as relays through the hub, sharing the one Perception connection. No extra setup.
Tools
All functionality is exposed through 9 dispatchers. Each takes an op selector plus the args for that op. This keeps the schema footprint small while covering every operation.
Dispatcher | ops |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value types: u8 u16 u32 u64 i8 i16 i32 i64 f32 f64 (plus string wstring ptr where noted).
Notes on defaults
re_vm vadreturns compact{start,size}by default - passcompact:falsefor protection/heap_likely metadata. Always filter (min_size,heap_only,addr_*) to avoid oversized responses.re_read ptr_chainreturnsfinal_address/final_valueonly; passverbose:truefor the per-step trace.u64/i64final values come back as hex strings (JSON numbers can't hold 64 bits).re_read values/structreturnu64/i64as hex strings too; smaller ints as numbers.re_read bytescaps at 64KB unless you passraw:true(hard max 1MB) — hex payloads balloon fast.re_write valuesaccepts hex strings ("0x1122334455667788") for exact 64-bit writes; plain numbers still work for small types.re_diff diffreturns changed offsets only; passvalues:truefor per-byte a/b. Flagstruncated:trueat 1000 diffs.re_cs2 schema—filteris required (substring on field name) unless you passall:true; defaultlimit100, max 2000. Returnsname:offsetstrings.re_scan value/ptr_todefaultpage_limitis 100;countreflects the true total,has_moreflags more pages. Heavy scans have a caller-side 120s timeout — the MCP request rejects on timeout, but Perception's scan loop is not cancelled and keeps running until it finishes.
Example
You: attach to cs2.exe and show me the first 10 instructions at its entry point
Claude: [re_proc op:attach name:"cs2.exe"] [re_module op:module name:"client.dll"] [re_disasm op:disasm ...]Project Structure
perception-mcp/
├── src/
│ └── index.ts # MCP server + WebSocket hub/relay bridge + 9 dispatchers
├── re_server.as # AngelScript server for Perception IDE
├── package.json
├── tsconfig.json
└── dist/ # Built output (gitignored)
└── index.jsAPI Reference
Perception AngelScript API: https://docs.perception.cx/perception-angel-script-api/
This server cannot be installed
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/verifizieren/perception-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server