Quickstart¶
The repository ships a deliberately vulnerable MCP server you can practise against —
examples/vuln_server.py. Spin it up, then drive it with mcpwn.
Prefer no uv run?
These examples assume a source checkout (uv run mcpwn …). If you
installed the command, drop the uv run prefix.
1. Start the example server¶
Runs at http://127.0.0.1:8765/mcp/ — leave it running in its own terminal:
2. Enumerate everything it exposes¶
3. Drive it¶
Call a tool, read a resource, render a prompt, or open an interactive session:
uv run mcpwn call http://127.0.0.1:8765/mcp/ lookup_user -a name=alice
uv run mcpwn read http://127.0.0.1:8765/mcp/ "config://app"
uv run mcpwn prompt http://127.0.0.1:8765/mcp/ pentest_report -a target=acme.com -a severity=high
uv run mcpwn shell http://127.0.0.1:8765/mcp/ # interactive session
See the command reference for every flag.
4. Take it further¶
Route everything through Burp, or fuzz a tool argument with sqlmap: