unidbg
Allows you to emulate an Android native library, and an experimental iOS emulation
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
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 moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
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.