{
  "markdown": "# mcp-pwntools\n\nMCP server exposing pwntools 4.15.0 functionality for binary exploitation tasks.\n\n[![PyPI](https://img.shields.io/pypi/v/mcp-pwntools.svg)](https://pypi.org/project/mcp-pwntools/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-pwntools.svg)](https://pypi.org/project/mcp-pwntools/)[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/daedalus/mcp-pwntools)\n\n## Install\n\n```bash\npip install mcp-pwntools\n```\n\n## MCP Server\n\nThis package exposes pwntools functionality via the MCP (Model Context Protocol).\n\n### Tools\n\nThe server provides the following tool categories:\n\n- **Packing/Unpacking**: `p8`, `p16`, `p32`, `p64`, `u8`, `u16`, `u32`, `u64`, `flat`\n- **Assembly/Disassembly**: `asm`, `disasm`\n- **Shellcode Generation**: `shellcraft`, `shellcraft_setreuid`, `shellcraft_dupsh`\n- **ELF Manipulation**: `elf_load`, `elf_asm`, `elf_read`, `elf_write`\n- **Process Interaction**: `process_create`, `remote_connect`, `listen`\n- **ROP**: `rop_load`, `rop_call`\n- **Exploitation**: `fmtstr_payload`, `fmtstr_split`\n- **Utilities**: `hexdump`, `cyclic`, `cyclic_find`, `fit`, `enhex`, `unhex`, `context_set`, `context_get`\n- **Logging**: `log_debug`, `log_info`, `log_success`, `log_warn`, `log_error`\n\n### Resources\n\n- `elf://<path>` - Load ELF file information\n- `context://settings` - Get current pwntools context\n\n### Usage\n\nRun the MCP server:\n\n```bash\nmcp-pwntools\n```\n\n### Configuration (mcp.json)\n\n```json\n{\n  \"mcpServers\": {\n    \"pwntools\": {\n      \"command\": \"mcp-pwntools\",\n      \"env\": {}\n    }\n  }\n}\n```\n\n## Development\n\n```bash\ngit clone https://github.com/daedalus/mcp-pwntools.git\ncd mcp-pwntools\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\n## mcp-name\n\nmcp-name: io.github.daedalus/mcp-pwntools\n",
  "bytes": 1845,
  "sha": "bbcf8d70c2c088dfecde4ef37eae57f572931a383982332f4c4a5581d350f51d",
  "repo_slug": "daedalus/mcp-pwntools",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_daedalus_mcp_pwntools_4385f505/readme"
}