io.github.daedalus/mcp-capstone

Official registry Other

MCP server exposing Capstone 5.0.7 disassembly framework

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package mcp-capstone
Claude Code
claude mcp add mcp-capstone -- uvx mcp-capstone==0.1.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-capstone": {
            "command": "uvx",
            "args": [
                "mcp-capstone==0.1.0"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. mcp-capstone
  2. Install
  3. Usage
  4. Supported Architectures
  5. Tools
  6. Development

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-capstone

Usage

CLI
mcp-capstone
Python
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

ToolDescription
get_versionGet Capstone version
check_supportCheck architecture support
list_architecturesList all architectures
disasmFull disassembly with details
disasm_liteLightweight disassembly
disasm_quickQuick disassembly
get_architecturesAll architecture constants
get_modesAll mode constants
get_optionsAll option constants
get_operandsAll operand type constants
get_groupsAll instruction group constants
get_errorsAll 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

Frequently asked questions

What is io.github.daedalus/mcp-capstone?

MCP server exposing Capstone 5.0.7 disassembly framework

How do I install io.github.daedalus/mcp-capstone?

It runs on your machine. In Claude Code: claude mcp add mcp-capstone -- uvx mcp-capstone==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.daedalus/mcp-capstone need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.daedalus/mcp-capstone open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.daedalus/mcp-capstone?

It is published by daedalus. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.