Skip to main content
pwno-mcp supports two main runtime modes.
  • Main MCP endpoint defaults to http://127.0.0.1:5500/mcp
  • Health endpoint defaults to http://127.0.0.1:5500/healthz
  • Local attach helper API defaults to http://127.0.0.1:5501/attach
  • Best when your client wants a url or you want the server process to stay alive outside the client

CLI defaults

FlagDefaultPurpose
--host0.0.0.0main HTTP bind host
--port5500main HTTP port
--attach-host127.0.0.1attach API bind host
--attach-port5501attach API port
--http-path/mcpHTTP transport path
--stdiodisabledswitches runtime into stdio mode

Example launches

python -m pwnomcp

Runtime surfaces

  • /mcp is the main FastMCP transport path in HTTP mode
  • /healthz returns a simple JSON status payload for health checks
  • /attach is a helper API for process-attach workflows driven by the local Python helper or external automation
The attach API is separate from the main MCP transport. It exists to make some attach workflows simpler for local helper scripts and integrations.

Which mode should you use?

  • choose HTTP for persistent local servers, remote clients, and easy health checks
  • choose stdio for clients that only support local process-based MCP servers
  • keep the Docker capability and security flags the same in both modes