Skip to main content
Use attach flows when the target is already running and you want pwno-mcp to join that process instead of starting it with run.

Option 1: MCP tool attach

1

Create a debug session

2

Optionally load the binary first

This helps when symbol loading matters before the attach.
3

Attach to the PID

4

Inspect the attached process

Option 2: Attach sidecar API

The local HTTP attach helper is useful for external scripts and wrappers. It is only started in HTTP mode.
Attach flows still require the same ptrace-related Docker capabilities as normal debugger control.

When to use which path

  • use the MCP attach tool inside normal agent flows
  • use the attach sidecar API when you already have a local helper script or external integration that wants a simple HTTP entrypoint
See Attach API Reference for the full request and response contract.