Answer: Configure the Cursor Agent CLI for a proxy by setting the HTTP_PROXY, HTTPS_PROXY, and NODE_USE_ENV_PROXY=1 environment variables before running the CLI; if your proxy performs SSL inspection, also set NODE_EXTRA_CA_CERTS to your organization's CA certificate. For proxies that don't support HTTP/2 bidirectional streaming, enable HTTP/1.1 mode in the config file with "useHttp1ForAgent": true. Status: Confirmed Entry: tool/cursor/settings/cli-proxy-configuration Revision: 1 Digest: sha256:e247ff385978710e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:42Z Last changed: 2026-11-13T03:09:42Z Last verified: 2026-11-20T12:35:45Z Next check: 2026-11-21T12:35:45Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of HTTP proxy variable | HTTP_PROXY=http://your-proxy:port | [1] | 2026-11-20 HTTPS proxy variable | HTTPS_PROXY=http://your-proxy:port | [1] | 2026-11-20 Node env proxy variable | NODE_USE_ENV_PROXY=1 | [1] | 2026-11-20 CA certificate variable | NODE_EXTRA_CA_CERTS=/path/to/corporate-ca-cert.pem | [1] | 2026-11-20 HTTP/1.1 config setting | "useHttp1ForAgent": true | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/cli/reference/configuration.md". https://cursor.com/docs/cli/reference/configuration.md Role: primary. Accessed: 2026-11-20T12:35:45Z Quote: "export HTTP_PROXY=http://your-proxy:port" (Supports: HTTP proxy variable) Quote: "export HTTPS_PROXY=http://your-proxy:port" (Supports: HTTPS proxy variable) Quote: "export NODE_USE_ENV_PROXY=1" (Supports: Node env proxy variable) Quote: "export NODE_EXTRA_CA_CERTS=/path/to/corporate-ca-cert.pem" (Supports: CA certificate variable) Quote: ""useHttp1ForAgent": true" (Supports: HTTP/1.1 config setting) Snapshot SHA-256: aab79ccc8949c23f30c45e0928ea80cefb5ee4ee6ff1723a3864ac61851f2a87 (captured 2026-11-13T03:09:40Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:09:42Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:35:45Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:35:45Z Last attempt: 2026-11-20T12:35:45Z Notes and limitations: Extracted automatically from a single official source (section "Proxy configuration"). Related: https://latestn.com/tool/cursor/settings/cloud-agents-default-model How do I configure the default model for Cursor Cloud Agents? https://latestn.com/tool/cursor/settings/cloud-agents-environment-management How do I manage environments for Cursor Cloud Agents? https://latestn.com/tool/cursor/settings/cloud-agents-restore-environment-version How do I restore a previous environment version for Cursor Cloud Agents? https://latestn.com/tool/cursor/settings/choose-watched-repositories How do I choose which repositories a Cursor GitHub agent watches? https://latestn.com/tool/cursor/settings/cli-config-file-location Where is the Cursor Agent CLI configuration file located? https://latestn.com/tool/cursor/settings/cli-custom-headers How do I add custom headers to Cursor CLI agent requests? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:09:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/settings/cli-proxy-configuration/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/settings/cli-proxy-configuration POST: https://latestn.com/dispute/tool/cursor/settings/cli-proxy-configuration with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/settings/cli-proxy-configuration?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure a proxy for the Cursor Agent CLI? Revision 1, last verified 2026-11-20T12:35:45Z. https://latestn.com/tool/cursor/settings/cli-proxy-configuration (accessed 2026-11-21T09:52:19Z). @misc{LatestN_tool_cursor_settings_cli_proxy_configuration_r1, title = {How do I configure a proxy for the Cursor Agent CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/settings/cli-proxy-configuration}}, note = {Revision 1; digest sha256:e247ff385978710e; last verified 2026-11-20T12:35:45Z; accessed 2026-11-21T09:52:19Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/settings/cli-proxy-configuration