Skip to main content

MCP server exposing pwntools 4.15.0 functionality

Project description

mcp-pwntools

MCP server exposing pwntools 4.15.0 functionality for binary exploitation tasks.

PyPI Python

Install

pip install mcp-pwntools

MCP Server

This package exposes pwntools functionality via the MCP (Model Context Protocol).

Tools

The server provides the following tool categories:

  • Packing/Unpacking: p8, p16, p32, p64, u8, u16, u32, u64, flat
  • Assembly/Disassembly: asm, disasm
  • Shellcode Generation: shellcraft, shellcraft_setreuid, shellcraft_dupsh
  • ELF Manipulation: elf_load, elf_asm, elf_read, elf_write
  • Process Interaction: process_create, remote_connect, listen
  • ROP: rop_load, rop_call
  • Exploitation: fmtstr_payload, fmtstr_split
  • Utilities: hexdump, cyclic, cyclic_find, fit, enhex, unhex, context_set, context_get
  • Logging: log_debug, log_info, log_success, log_warn, log_error

Resources

  • elf://<path> - Load ELF file information
  • context://settings - Get current pwntools context

Usage

Run the MCP server:

mcp-pwntools

Configuration (mcp.json)

{
  "mcpServers": {
    "pwntools": {
      "command": "mcp-pwntools",
      "env": {}
    }
  }
}

Development

git clone https://github.com/daedalus/mcp-pwntools.git
cd mcp-pwntools
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

mcp-name

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_pwntools-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_pwntools-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_pwntools-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_pwntools-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_pwntools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d57766a335f620be00814cac5df33db128c9939e190123be144ab75c5392fff1
MD5 0872f7c76fc148bc15032fbe9e800961
BLAKE2b-256 5cf97a76342fc3dd4fbf0472496c7fff95cb163d49850377570f53d8f7527be7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_pwntools-0.1.0.tar.gz:

Publisher: pypi-publish.yml on daedalus/mcp-pwntools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_pwntools-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_pwntools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_pwntools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7bcfde7c1a9999937bc8fa6e0e84631670b81c81bdb7b117a3b8799b35fa18d
MD5 d282017ad1ded23f55841ee1c2612eef
BLAKE2b-256 c422b837d1a5eba3da083e396ae2707d9f8f9fd3afd7d942a17ada54c8e301d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_pwntools-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on daedalus/mcp-pwntools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page