mcp-pwntools
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-pwntoolsGenerate a shellcode for x64 execve /bin/sh"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-pwntools
MCP server exposing pwntools 4.15.0 functionality for binary exploitation tasks.
Install
pip install mcp-pwntoolsRelated MCP server: MCPServe
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,flatAssembly/Disassembly:
asm,disasmShellcode Generation:
shellcraft,shellcraft_setreuid,shellcraft_dupshELF Manipulation:
elf_load,elf_asm,elf_read,elf_writeProcess Interaction:
process_create,remote_connect,listenROP:
rop_load,rop_callExploitation:
fmtstr_payload,fmtstr_splitUtilities:
hexdump,cyclic,cyclic_find,fit,enhex,unhex,context_set,context_getLogging:
log_debug,log_info,log_success,log_warn,log_error
Resources
elf://<path>- Load ELF file informationcontext://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
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-pwntools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server