Mcp Capstone

io.github.daedalusPublished by GitHub account daedalusv0.1.0Updated Oct 24, 2026

MCP server exposing Capstone 5.0.7 disassembly framework

VerifiedSTDIODesktop onlyDeveloper ToolsSecurity & Monitoring

Overview

AI-generated overview

Local MCP server wrapping the Capstone 5.0.7 disassembly framework so an assistant can disassemble binary code across many CPU architectures.

What you can do
  • Disassemble raw machine code bytes for a chosen architecture and mode, with full detail, lightweight, or quick variants
  • Check whether a given architecture is supported and list all available architectures
  • Look up Capstone constants for architectures, modes, options, operand types, instruction groups and errors
  • Report the bundled Capstone version
When to use it
Useful when an assistant needs to turn hex bytes or extracted code into readable assembly during reverse engineering, malware triage, firmware or exploit analysis, or when checking which architectures Capstone supports.
Requirements
Runs as a local stdio process installed from PyPI (pip install mcp-capstone), so Python and the package are needed; no accounts, API keys or environment variables are declared. Desktop only.
Before you install
It only disassembles bytes supplied to it and does not read files or fetch binaries itself; review any binary data you pass in, since it goes to the local server process.

Installation

In SourceWeft

  1. Open Mcp Capstone in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

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.

[PyPI] [Python]

Install

bash
pip install mcp-capstone

Usage

CLI

bash
mcp-capstone

Python

python
from mcp_capstone import disasm, get_version
# Get versionversion = get_version()print(f"Capstone {version['major']}.{version['minor']}")
# Disassemble x86-64 codeinstructions = 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

bash
git clone https://github.com/daedalus/mcp-capstone.gitcd mcp-capstonepip install -e ".[test]"
# run testspytest
# formatruff format src/ tests/
# lintruff check src/ tests/
# type checkmypy src/

mcp-name: io.github.daedalus/mcp-capstone

Source: README.md at commit d39906a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts