Pwntools MCP server
MCP server exposing pwntools 4.15.0 functionality for binary exploitation
0 stars13 downloads/wk
Reviews
Write oneNobody has reviewed Pwntools yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Pwntools tools (40, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
asmAssemble code to bytes.
context_getGet current pwntools context.
context_setSet pwntools context.
cyclicGenerate cyclic pattern.
cyclic_findFind offset in cyclic pattern.
disasmDisassemble bytes to code.
dynelf_resolveDynamic ELF resolution.
elf_asmAssemble code at a specific address in an ELF.
elf_loadLoad an ELF file.
elf_readRead bytes from an ELF at address.
elf_writewrite actionWrite bytes to an ELF at address.
enhexEncode bytes to hex string.
fitFit data into buffer.
flatFlatten arguments into bytes.
fmtstr_payloadGenerate format string payload.
fmtstr_splitSplit format string writes.
hexdumpHexdump utility.
listenwrite actionCreate a listening socket.
log_debugLog debug message.
log_errorLog error message.
log_infoLog info message.
log_successLog success message.
log_warnLog warning message.
p16Pack an integer into 2 bytes.
p32Pack an integer into 4 bytes.
p64Pack an integer into 8 bytes.
p8Pack an integer into 1 byte.
process_createwrite actionCreate and interact with a process.
remote_connectConnect to a remote host.
rop_callGenerate ROP call.
rop_loadLoad ELF for ROP.
shellcraftGenerate shellcode.
shellcraft_dupshGenerate dup shellcode with execve.
shellcraft_setreuidGenerate setreuid shellcode.
tube_sendwrite actionSend data through a tube.
u16Unpack 2 bytes to integer.
u32Unpack 4 bytes to integer.
u64Unpack 8 bytes to integer.
u8Unpack 1 byte to integer.
unhexDecode hex string to bytes.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 148 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Pwntools compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 40
- the typical server has 7
- Tools that change things
- 10%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 13
- more than 4% of 11,915 servers with a package
What its tools let an agent do: 33 read · 4 change · 3 run or deploy
Install Pwntools in Claude Code, Cursor or VS Code
claude mcp add mcp-pwntools -- uvx mcp-pwntools
What the publisher says
From the Pwntools repository's README, as published. We do not edit it. Read it on GitHub
mcp-pwntools
MCP server exposing pwntools 4.15.0 functionality for binary exploitation tasks.
Install
pip install mcp-pwntoolsMCP 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, shellcraftsetreuid, shellcraftdupsh
- ELF Manipulation: elfload, elfasm, elfread, elfwrite
- Process Interaction: processcreate, remoteconnect, listen
- ROP: ropload, ropcall
- Exploitation: fmtstrpayload, fmtstrsplit
- Utilities: hexdump, cyclic, cyclicfind, fit, enhex, unhex, contextset, context_get
- Logging: logdebug, loginfo, logsuccess, logwarn, log_error
Resources
- elf:// - Load ELF file information
- context://settings - Get current pwntools context
Usage
Run the MCP server:
mcp-pwntoolsConfiguration (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
Nothing above is checked by us. What we check is on the safety report.
Pwntools: common questions
- Is Pwntools MCP server safe?
- Mostly: it is graded B (82/100). Read the Pwntools safety report
- How do I install Pwntools?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Pwntools need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Pwntools maintained?
- The last commit was 183 days ago (2026-05-03). The latest release is v0.1.0.
- How does Pwntools compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 40 (the typical server has 7); tools that change things 10% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.