</>MCP Agents Market
MCP Server

unidbg

by zhkl02285.2kJavaUpdated 2026-08-30

Allows you to emulate an Android native library, and an experimental iOS emulation

CursorClaude Desktop

The unidbg MCP server enables AI-assisted debugging of emulated Android and iOS native libraries through the Model Context Protocol. It provides over 40 MCP tools for inspecting registers, memory, disassembly, breakpoints, execution flow, and platform-specific features like Objective-C runtime introspection. Developers can connect AI assistants like Cursor to interactively analyze ARM binary behavior, set breakpoints, trace execution, call native functions with custom parameters, and debug JNI or Swift code without restarting the emulation process.

Key Features

Over 40 MCP tools for debugging ARM32/ARM64 emulated code: registers, memory read/write, disassembly, breakpoints, stepping, tracing
Two operating modes: breakpoint debugging with on-demand MCP, or custom tool registration for repeatable AI-driven function invocations
iOS-specific tools: Objective-C message inspection, class dumping, protobuf schema extraction from GPB messages
Memory operations: allocate/free tracking, pointer chain resolution with symbol lookup, typed reads, pattern search across mappings
Function call interface: invoke native functions or exported symbols with typed arguments (hex, string, bytes, null) and inspect return values
Worker pool for thread-safe emulator reuse with lazy initialization, idle cleanup, and configurable limits
Memory leak detection with guest ARM backtraces (module+offset+symbol) and host Java stack traces
Support for multiple ARM backends: Unicorn, Dynarmic, Apple M1 hypervisor, Linux KVM on Raspberry Pi

Use Cases

  • 01Reverse-engineering Android JNI encryption functions by setting breakpoints and letting AI analyze register states and memory flow
  • 02Debugging iOS Objective-C or Swift runtime behavior with AI-assisted class introspection and message send tracing
  • 03Testing native crypto implementations (AES, PBKDF2) across different inputs without recompiling or restarting the emulator
  • 04Analyzing ELF or Mach-O binary behavior for security research with interactive disassembly and memory inspection
  • 05Training AI models on ARM assembly patterns by tracing instruction execution and memory access
  • 06Batch-testing native library API endpoints from multiple threads using the worker pool for concurrent emulation

Related MCP Servers

View more

unidbg — FAQ

What is the unidbg MCP server?+

It's an MCP server that exposes debugging tools for Android and iOS native library emulation, enabling AI assistants to inspect ARM code execution, memory, registers, and platform-specific runtime features interactively.

How do I connect the unidbg MCP server to Cursor or other AI tools?+

Run your emulation code with the debugger attached, type 'mcp' (or 'mcp 9239' for a custom port) in the console when a breakpoint is hit, then add {"mcpServers": {"unidbg-mcp-server": {"url": "http://localhost:9239/sse"}}} to your Cursor MCP settings JSON.

What are the prerequisites for using unidbg MCP?+

You need Java (the project uses Java APIs), the unidbg library, and an Android .so or iOS binary to emulate. No external API keys are required; the MCP server runs locally on your machine.

Which AI clients work with unidbg MCP?+

Any MCP-compatible client that supports HTTP SSE endpoints works, including Cursor and Claude Desktop. The README demonstrates integration with Cursor specifically.

Is unidbg MCP free and open source?+

Yes, unidbg is open source under the Apache license. It's an educational project for learning ELF/Mach-O formats and ARM assembly, provided as-is without warranty.

Can I define custom MCP tools for my own native functions?+

Yes, use McpToolkit to register custom tools implementing the McpTool interface. Each tool can invoke specific native functions with parameters supplied by the AI, enabling repeatable analysis without process restarts.

How do I install unidbg?+

Open the source repository on GitHub and follow its README. unidbg is a mcp server — MCP Agents Market links you directly to the official repo.

Is unidbg free?+

unidbg is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches