{
  "markdown": "# mcp-capstone\n\nMCP 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.\n\n[![PyPI](https://img.shields.io/pypi/v/mcp-capstone.svg)](https://pypi.org/project/mcp-capstone/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-capstone.svg)](https://pypi.org/project/mcp-capstone/)\n\n## Install\n\n```bash\npip install mcp-capstone\n```\n\n## Usage\n\n### CLI\n\n```bash\nmcp-capstone\n```\n\n### Python\n\n```python\nfrom mcp_capstone import disasm, get_version\n\n# Get version\nversion = get_version()\nprint(f\"Capstone {version['major']}.{version['minor']}\")\n\n# Disassemble x86-64 code\ninstructions = disasm(\"8b440404\", arch=\"x86\", mode=\"64\")\nfor insn in instructions:\n    print(f\"0x{insn['address']:x}: {insn['mnemonic']} {insn['op_str']}\")\n```\n\n## Supported Architectures\n\n- **x86** (16/32/64-bit)\n- **ARM** (ARM, Thumb, ARM mode)\n- **AArch64** (ARMv8)\n- **MIPS** (MIPS32/64, MIPS2/3, R6)\n- **PowerPC** (32/64-bit, SPE, QPX)\n- **RISC-V** (RV32/64GC)\n- **SPARC** (V8/V9)\n- **SystemZ**\n- **M68K** (68000-68060)\n- **M680X** (6301/6309/6800/6805/6808/6809/6811/CPU12/HCS08)\n- **TriCore**\n- **TMS320C64X**\n- **WebAssembly**\n- **XCore**\n- **BPF** (Classic/Extended)\n- **EVM** (Ethereum Virtual Machine)\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `get_version` | Get Capstone version |\n| `check_support` | Check architecture support |\n| `list_architectures` | List all architectures |\n| `disasm` | Full disassembly with details |\n| `disasm_lite` | Lightweight disassembly |\n| `disasm_quick` | Quick disassembly |\n| `get_architectures` | All architecture constants |\n| `get_modes` | All mode constants |\n| `get_options` | All option constants |\n| `get_operands` | All operand type constants |\n| `get_groups` | All instruction group constants |\n| `get_errors` | All error constants |\n\n## Development\n\n```bash\ngit clone https://github.com/daedalus/mcp-capstone.git\ncd mcp-capstone\npip install -e \".[test]\"\n\n# run tests\npytest\n\n# format\nruff format src/ tests/\n\n# lint\nruff check src/ tests/\n\n# type check\nmypy src/\n```\n\nmcp-name: io.github.daedalus/mcp-capstone\n",
  "bytes": 2187,
  "sha": "2393f377628c02a509158ed04ffb762d5d31515f9dc36b3b48a7a228812f5336",
  "repo_slug": "daedalus/mcp-capstone",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_daedalus_mcp_capstone_37ea5fc0/readme"
}