Before submitting#
Area#
apps/web
Steps to reproduce#
T3 code uses Cursor SDK for adding Cursor as a provider. Cursor is used by Enterprise and they typically turn off some API Endpoints. Some API Endpoints that T3 code use can be made optional to enable developers to use their Enterprise account. Here's a list
| SDK call | Endpoint | Result | Please make it optional |
|---|
| Agent.prompt local run (composer-2.5) | local runtime | Works: status finished, reply "pong" | obviously required |
| Cursor.models.list | GET /v1/models | Works: 30 models, including composer-2.5, claude-opus-5-5, gpt-5.6-sol | obviously required |
| Cursor.me | GET /v1/me | 403 feature_unavailable | yes |
| Cursor.repositories.list | GET /v1/repositories | 403 feature_unavailable | yes |
| Agent.list (cloud agents) | GET /v1/agents | 403 feature_unavailable | yes |
Expected behavior#
T3 code authenticates with Cursor SDK API without requiring /v1/me
Actual behavior#
Impact#
Blocks work completely
Version or commit#
No response
Environment#
No response
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
No response
Note
Grok responding on behalf of Julius.
Triage#
Thanks for the detailed endpoint table, @AshishSardana! On current
main(24238fee32), a403fromGET /v1/mefails the whole Cursor catalog probe even when model discovery and a local run already succeed.What I found#
CursorSdkCatalog.readinapps/server/src/provider/Layers/CursorSdkCatalog.tswaits on bothCursor.me(GET /v1/me) andCursor.models.list(GET /v1/models), so either failure fails the probe.checkCursorProviderStatusthen reports statuserror. A403isn't treated as an authentication failure (onlyAuthenticationErroror HTTP 401 are), so the message is "Cursor SDK catalog request failed. Check server logs for details." and auth staysunknown. Discovered models are dropped and only custom models remain.readyinstance as unavailable (isProviderInstancePickerReady), and browser sign-in is rejected unless that probe comes back authenticated (CursorDriver'sonChanged). The fields fromCursor.meare only used for the settings label and email (cursorSdkAuth), not to create a local agent.Cursor.repositories.list(GET /v1/repositories) orAgent.list(GET /v1/agents). Local runs go throughAgent.create/agent.send, so those two403s shouldn't affect local work./v1/meand/v1/modelsreturn403 plan_requiredon a free plan. Here only the identity endpoint fails.Likely fix area#
Cursor.mereturnsfeature_unavailableor another non-401 failure, treating the key that listed models as authenticated and falling back to a generic API-key label when the email and key name are missing.A maintainer will decide on the fix direction.