pwno-mcp supports two main runtime modes.
- HTTP
- stdio
- 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
urlor you want the server process to stay alive outside the client
CLI defaults
| Flag | Default | Purpose |
|---|---|---|
--host | 0.0.0.0 | main HTTP bind host |
--port | 5500 | main HTTP port |
--attach-host | 127.0.0.1 | attach API bind host |
--attach-port | 5501 | attach API port |
--http-path | /mcp | HTTP transport path |
--stdio | disabled | switches runtime into stdio mode |
Example launches
Runtime surfaces
/mcpis the main FastMCP transport path in HTTP mode/healthzreturns a simple JSON status payload for health checks/attachis 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