Mcp Capstone

io.github.daedalus由 GitHub 账号 daedalus 发布v0.1.0更新于 Oct 24, 2026

MCP server exposing Capstone 5.0.7 disassembly framework

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

本地 MCP 服务器,封装 Capstone 5.0.7 反汇编框架,让助手可对多种 CPU 架构的机器码进行反汇编。

可以做什么
  • 按指定架构与模式反汇编机器码字节,提供完整、轻量和快速三种方式
  • 检查某架构是否受支持,并列出所有可用架构
  • 查询 Capstone 的架构、模式、选项、操作数类型、指令组和错误常量
  • 返回内置 Capstone 版本信息
适用场景
适合在逆向工程、恶意样本初筛、固件或漏洞分析中,需要把十六进制字节或提取出的代码转成可读汇编时使用,也适合确认 Capstone 支持哪些架构。
运行要求
以本地 stdio 进程运行,需通过 pip 安装 mcp-capstone,因此需要 Python 环境;未声明账号、API 密钥或环境变量。仅支持桌面端。
安装前请注意
它只反汇编传入的字节,不会自行读取文件或下载二进制;传入的二进制数据会交给本地服务进程处理,请留意数据来源。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Capstone,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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

来源:README.md,提交 d39906a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分