Answer: The Cursor Origin CLI uses `CURSOR_ORIGIN_ENDPOINT` for the API server endpoint and `CURSOR_AUTH_TOKEN` and `CURSOR_API_KEY` for credentials. Status: Confirmed Entry: tool/cursor/settings/origin-cli-environment-variables Revision: 1 Digest: sha256:4db27b1be69bb2cc (changes whenever the content changes) Timeline: Created: 2026-11-13T03:11:47Z Last changed: 2026-11-13T03:11:47Z Last verified: 2026-11-20T12:40:06Z Next check: 2026-11-21T12:40:06Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of endpoint variable | CURSOR_ORIGIN_ENDPOINT | [1] | 2026-11-20 auth token variable | CURSOR_AUTH_TOKEN | [1] | 2026-11-20 API key variable | CURSOR_API_KEY | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/origin/cli/reference/commands.md". https://cursor.com/docs/origin/cli/reference/commands.md Role: primary. Accessed: 2026-11-20T12:40:06Z Quote: "`CURSOR_ORIGIN_ENDPOINT` | API server endpoint (default: `https://api.origin.cursor.com`)" (Supports: endpoint variable) Quote: "`CURSOR_AUTH_TOKEN` | Cursor auth token, used directly as a bearer token. Takes precedence over every other credential" (Supports: auth token variable) Quote: "`CURSOR_API_KEY` | API key, exchanged for a session and never stored. Used when `CURSOR_AUTH_TOKEN` is unset." (Supports: API key variable) Snapshot SHA-256: fd0a72c114252d8c068669b1277ab9613f94d658778cc902b354decf61433eab (captured 2026-11-19T12:34:39Z) 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-19T12:34:41Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:40:06Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:40:06Z Last attempt: 2026-11-20T12:40:06Z Notes and limitations: Extracted automatically from a single official source (section "Environment variables"). Related: https://latestn.com/tool/cursor/settings/origin-cli-shell-completion How do I set up shell completion for the Cursor Origin CLI? https://latestn.com/tool/cursor/settings/plan-mode-save-location Where are Cursor Plan Mode plans saved by default? https://latestn.com/tool/cursor/settings/repo-settings-tabs Which settings tabs appear for team-owned versus personal Cursor Origin repositories? https://latestn.com/tool/cursor/settings/manage-credentials How do I manage credentials for the Cursor Agent SDK CLI? https://latestn.com/tool/cursor/settings/manage-installed-plugins How do I manage or update installed plugins in Cursor? https://latestn.com/tool/cursor/settings/open-customize-page How do I open the Customize page in Cursor to manage plugins, skills, and MCPs? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:11:47Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/settings/origin-cli-environment-variables/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/origin-cli-environment-variables POST: https://latestn.com/dispute/tool/cursor/settings/origin-cli-environment-variables with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/settings/origin-cli-environment-variables?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which environment variables does the Cursor Origin CLI use for endpoint and credentials? Revision 1, last verified 2026-11-20T12:40:06Z. https://latestn.com/tool/cursor/settings/origin-cli-environment-variables (accessed 2026-11-21T09:52:44Z). @misc{LatestN_tool_cursor_settings_origin_cli_environment_variables_r1, title = {Which environment variables does the Cursor Origin CLI use for endpoint and credentials?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/settings/origin-cli-environment-variables}}, note = {Revision 1; digest sha256:4db27b1be69bb2cc; last verified 2026-11-20T12:40:06Z; accessed 2026-11-21T09:52:44Z} } 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/origin-cli-environment-variables