Skip to content

BREAKING: Cursor plugin drops API-key MCP auth to restore OAuth - #159

Closed
Abhijeet Prasad (AbhiPrasad) wants to merge 1 commit into
mainfrom
fix-cursor-oauth-plugin-699435be
Closed

Abhijeet Prasad (AbhiPrasad) wants to merge 1 commit into
mainfrom
fix-cursor-oauth-plugin-699435be

Conversation

@AbhiPrasad

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

resolves https://linear.app/braintrustdata/issue/SDK-410/cursor-plugin-blocks-oauth-when-braintrust-api-key-is-unset

Breaking change

This change removes the BRAINTRUST_API_KEY plugin setting and the Authorization header from the Marketplace plugin's Braintrust MCP entry. After upgrading, any API key previously saved in Cursor's plugin settings will no longer be used. Users must authorize Braintrust through Cursor OAuth.

Cursor's plugin configuration does not document conditional headers, so this plugin cannot use the API key when present and omit the header when absent. Users who must continue using API-key auth need to replace the plugin-managed MCP entry with a manually configured MCP server that sends Authorization: Bearer ….

Cursor Cloud MCP settings are separate from the Marketplace plugin. Remove any configured Authorization header from the Cloud server entry as well to use per-user OAuth there.

Changes

  • Remove the unconditional Authorization header and required API-key variable.
  • Update plugin validation and document the breaking change and migration.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T19:39:10.132104Z 2cb6414 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AbhiPrasad

Copy link
Copy Markdown
Member Author

im gonna merge this as a fast follow once the first cursor tracing stuff is documented. Should make the migration a bit easier

Omit the Authorization header so Cursor can complete Braintrust OAuth when no API key is configured. This removes the plugin variable and breaks API-key authentication through the Marketplace plugin; users must migrate to OAuth or a manually configured MCP server.
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) force-pushed the fix-cursor-oauth-plugin-699435be branch from f321473 to 2cb6414 Compare October 13, 2026 19:37
@Qard

Copy link
Copy Markdown
Collaborator

Abhijeet Prasad (@AbhiPrasad) What's the status with this? Do we need to land this today too?

@AbhiPrasad

Copy link
Copy Markdown
Member Author

Stephen Belanger (@Qard) no I'm holding off on this. Let me just close it for now, I will come and revisit later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants