Starting the MCP server
Pass--mcp to enable the server on the default address (127.0.0.1:9551):
--mcp-addr for a custom address:
Authentication
The MCP server uses bearer token authentication. A 32-byte random hex token is generated on first use and stored in~/.httpmon/config.json (in the mcp_token field).
Every request must include the token:
Available tools
The server exposes 14 tools organized into three categories:Read tools
Inspect captured traffic without side effects.Simulation tools
Replay requests and control proxy behavior.Script tools
Manage JavaScript hooks.
For full parameter and return value documentation, see the MCP tools reference.

