Capturing network traffic for cursor-agent conversations

Is there a way to capture the network traffic for the request-reponses for cursor-agent?

I am using mitmproxy to try to capture request response information for cursor-agent CLI. It currently does not capture any traffic while running on port 8080, and I’m trying to figure out if any additional configuration is required.

Appreciate the help!

Here’s a blog from someone doing that: Peeking Under the Hood of Cursor's API Calls | Speedscale

Also facing same issue.
Cursor IDE traffic can be captured but not cursor-agent cli.
Seems it bypass the proxy settings?

@Chris_Drake @r2vichan