mcp-capstone
Disassemble ARM architecture instructions including ARM, Thumb, and ARM mode.
Disassemble Ethereum Virtual Machine (EVM) bytecode.
Disassemble RISC-V architecture instructions (RV32/64GC).
Disassemble WebAssembly bytecode.
Click on "Deploy 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., "@mcp-capstonedisassemble hex string 8b440404 for x86-64"
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.
mcp-capstone
MCP server that exposes Capstone 5.0.7 disassembly framework functionalities as tools and resources, enabling LLMs to perform binary disassembly, reverse engineering, and instruction analysis.
Install
pip install mcp-capstoneRelated MCP server: PCM
Usage
CLI
mcp-capstonePython
from mcp_capstone import disasm, get_version
# Get version
version = get_version()
print(f"Capstone {version['major']}.{version['minor']}")
# Disassemble x86-64 code
instructions = disasm("8b440404", arch="x86", mode="64")
for insn in instructions:
print(f"0x{insn['address']:x}: {insn['mnemonic']} {insn['op_str']}")Supported Architectures
x86 (16/32/64-bit)
ARM (ARM, Thumb, ARM mode)
AArch64 (ARMv8)
MIPS (MIPS32/64, MIPS2/3, R6)
PowerPC (32/64-bit, SPE, QPX)
RISC-V (RV32/64GC)
SPARC (V8/V9)
SystemZ
M68K (68000-68060)
M680X (6301/6309/6800/6805/6808/6809/6811/CPU12/HCS08)
TriCore
TMS320C64X
WebAssembly
XCore
BPF (Classic/Extended)
EVM (Ethereum Virtual Machine)
Tools
Tool | Description |
| Get Capstone version |
| Check architecture support |
| List all architectures |
| Full disassembly with details |
| Lightweight disassembly |
| Quick disassembly |
| All architecture constants |
| All mode constants |
| All option constants |
| All operand type constants |
| All instruction group constants |
| All error constants |
Development
git clone https://github.com/daedalus/mcp-capstone.git
cd mcp-capstone
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/mcp-name: io.github.daedalus/mcp-capstone
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server for deep research or task groups
Related MCP Servers
- AlicenseCqualityAmaintenanceMCP Server for automated reverse engineering with IDA Pro.431,061 PyPI12,282MIT
- AlicenseBqualityFmaintenanceMCP server for reverse engineering that enables interaction with IDA Pro for analysis tasks such as decompilation, disassembly, and memory engagement reports.2446MIT
- AlicenseAqualityBmaintenanceA multi-backend MCP server that exposes binary analysis capabilities from IDA Pro and Ghidra, allowing LLMs to directly drive reverse-engineering tools via natural language.11158Apache 2.0
- AlicenseAqualityDmaintenance基于Capstone反汇编引擎的MCP服务器,为大语言模型提供多架构二进制反汇编、文件解析、CTF逆向及安全分析工具。257MIT