Start httpmon with
--mcp before connecting a client. Print the bearer token with httpmon --mcp-token.Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
<token> with the output of httpmon --mcp-token.
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json in your project root):
Claude Code
Add the server from the command line:.claude/settings.json:
Verifying the connection
Once connected, ask your agent to list captured requests:“List the last 5 HTTP requests captured by httpmon”The agent will call
list_requests and return the results. If authentication fails, verify the token matches the output of httpmon --mcp-token.
Use cases
- Debug API integrations — Ask an agent to inspect response headers or body content
- Replay and compare — Have an agent replay a request and diff the results
- Automate testing — Script mock responses and throttling via the agent
- Export for analysis — Ask the agent to export traffic as HAR for external tools

