Hi,
I am trying setup a cursor sdk agent that runs behind enterprise proxy. I could not find any documentation on how to force the agent to run using http/1.1 like cursor IDE or cursor CLI. Is this supported? If so, how can it be done? If not, when will it be supported?
Thank you 
The SDK doesn’t currently support HTTP/1.1 for agent streaming. Agent runs use a streaming protocol that requires HTTP/2, and unlike the IDE and CLI, the SDK doesn’t yet have an HTTP/1.1 fallback path. This is a known gap that our team is actively working on.
Workarounds in the meantime:
-
Cursor CLI — The CLI supports HTTP/1.1 via useHttp1ForAgent: true in ~/.cursor/cli-config.json. If your automation can shell out to the CLI, this may unblock you while the SDK catches up.
-
Cloud Agents REST API — The Cloud Agents API uses standard HTTPS and doesn’t require HTTP/2 bidirectional streaming. If your proxy passes regular HTTPS traffic, this should work.
-
Proxy HTTP/2 passthrough — If your IT team can allow HTTP/2 for Cursor’s API endpoints specifically, the SDK works as-is.
For reference: Cursor SDK docs
Please support as soon as possible. Thank you.