Answer: Authentication uses two separate secrets: a Cursor API key set via `options.api_key` (and exported as `CURSOR_API_KEY` in the bridge process environment), and a bridge bearer token generated per process during the ready-line handshake, sent as `Authorization: Bearer ` on every RPC including streams. Status: Confirmed Entry: tool/cursor/permissions-and-security/bridge-authentication Revision: 1 Digest: sha256:08dc2965f98e351b (changes whenever the content changes) Timeline: Created: 2026-11-13T03:12:07Z Last changed: 2026-11-13T03:12:07Z Last verified: 2026-11-20T12:40:49Z Next check: 2026-11-21T12:40:49Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Cursor API key option | options.api_key | [1] | 2026-11-20 Cursor API key environment variable | CURSOR_API_KEY | [1] | 2026-11-20 Bridge bearer token | Bridge bearer token | [1] | 2026-11-20 Authorization header format | Authorization: Bearer | [1] | 2026-11-20 Default listen address | 127.0.0.1 | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/sdk/bridge.md". https://cursor.com/docs/sdk/bridge.md Role: primary. Accessed: 2026-11-20T12:40:49Z Quote: "Set `options.api_key` on create, resume, and catalog calls such as `ListModels`." (Supports: Cursor API key option) Quote: "Also export `CURSOR_API_KEY` in the bridge process environment." (Supports: Cursor API key environment variable) Quote: "**Bridge bearer token.** Generated per process during the ready-line handshake." (Supports: Bridge bearer token) Quote: "Send `Authorization: Bearer ` on every RPC, including streams." (Supports: Authorization header format) Quote: "The bridge listens on `127.0.0.1` by default." (Supports: Default listen address) Snapshot SHA-256: 6d19d4aed4afb14f596ea082502cb4ec02d7910e6e67dc625c1048f7366f16b5 (captured 2026-11-13T03:12:06Z) 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:12:07Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:40:49Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:40:49Z Last attempt: 2026-11-20T12:40:49Z Notes and limitations: Extracted automatically from a single official source (section "Authentication"). Related: https://latestn.com/tool/cursor/permissions-and-security/browser-authentication-isolation How does Cursor's browser tool handle authentication and isolation? https://latestn.com/tool/cursor/permissions-and-security/change-bot-access How do I change who has access to a Cursor Deployed Agent? https://latestn.com/tool/cursor/permissions-and-security/channel-auth-policies What auth policies can I configure for a Cursor Agent SDK channel? https://latestn.com/tool/cursor/permissions-and-security/auto-allow-self-hosted-machines How do I enable automatic approval for self-hosted machines in Cursor cloud agents? https://latestn.com/tool/cursor/permissions-and-security/auto-approve-terminal-commands How do I make Cursor terminal commands run without approval? https://latestn.com/tool/cursor/permissions-and-security/block-agent-file-access How do I stop Cursor agents from accessing certain files? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:12:07Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/permissions-and-security/bridge-authentication/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/permissions-and-security/bridge-authentication POST: https://latestn.com/dispute/tool/cursor/permissions-and-security/bridge-authentication with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/permissions-and-security/bridge-authentication?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does authentication work for the Cursor SDK Bridge? Revision 1, last verified 2026-11-20T12:40:49Z. https://latestn.com/tool/cursor/permissions-and-security/bridge-authentication (accessed 2026-11-21T09:57:03Z). @misc{LatestN_tool_cursor_permissions_and_security_bridge_authentication_r1, title = {How does authentication work for the Cursor SDK Bridge?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/permissions-and-security/bridge-authentication}}, note = {Revision 1; digest sha256:08dc2965f98e351b; last verified 2026-11-20T12:40:49Z; accessed 2026-11-21T09:57:03Z} } 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/permissions-and-security/bridge-authentication