Cursor Cloud Agents bug in OAuth scope handling

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Cursor Cloud Agents sends scope: null during OAuth 2.1 authorization requests, resulting in access tokens without API scopes. This prevents Cloud Agents from accessing team-configured MCP servers that use OAuth with scope-based authorization, despite the MCP server correctly advertising available scopes via OAuth metadata.

Impact

  • Severity: High - Blocks all team-configured MCP servers using OAuth with scope-based auth
  • Affected: Cursor Cloud Agents only (Desktop IDE works correctly)
  • Workaround: Server-side scope auto-injection for trusted clients (requires code changes to each MCP server)

Steps to Reproduce

Reproduction Steps

  1. Create an OAuth-protected MCP server that advertises scopes via /.well-known/oauth-authorization-server
  2. Configure in Cursor Team Dashboard at cursor.com/dashboard → Integrations & MCP
  3. Launch a Cursor Cloud Agent that uses the MCP server
  4. Observe: OAuth succeeds but access token has no scopes
  5. Result: All MCP tool calls fail with “insufficient permissions”
  • Cursor Version: Latest as of May 2026

Expected Behavior

The Problem

When a Cursor Cloud Agent authenticates with an OAuth-protected MCP server:

  1. :white_check_mark: MCP server advertises available scopes via /.well-known/oauth-authorization-server
  2. :white_check_mark: Cursor initiates OAuth flow with correct audience
  3. :cross_mark: Cursor sends scope: null in the authorization request
  4. :cross_mark: Auth provider (Auth0) issues token with no API scopes
  5. :cross_mark: MCP tool calls fail with “insufficient permissions”

Evidence from Auth0 Logs

Cursor Cloud Agents (broken):

{
  "client_id": "3yuw7FezTnY2s4uwHTpuVheN0MsTd2yP",
  "audience": "https://api.df.overmind-demo.com",  // ✅ Correct
  "scope": null  // ❌ MISSING - should request advertised scopes
}

Cursor Desktop IDE (working):

{
  "client_id": "3yuw7FezTnY2s4uwHTpuVheN0MsTd2yP",
  "audience": "https://api.df.overmind-demo.com",  // ✅ Correct
  "scope": "openid profile email brent:read brent:write account:read"  // ✅ Correct
}

Expected Behavior Per MCP Specification

According to the MCP OAuth specification:

  1. MCP client discovers OAuth metadata at /.well-known/oauth-authorization-server/{server_name}/oauth
  2. Server advertises scopes_supported in metadata response
  3. Client MUST request those scopes in the authorization request
  4. Auth provider issues token with the requested scopes

Our MCP server correctly advertises scopes:

{
  "authorization_servers": ["https://overmind-demo.us.auth0.com"],
  "scopes_supported": ["openid", "profile", "email", "account:read", "brent:read", "brent:write"]
}

What Makes This Worse Than the Related Forum Issue

The existing forum thread “MCP step-up consent not exposed for insufficient scope” describes problems with step-up consent for insufficient scopes.

Our case is more fundamental: Cursor Cloud Agents doesn’t request ANY scopes even on the initial authorization, despite them being advertised in the OAuth metadata. This violates the MCP specification’s OAuth flow requirements.

Operating System

Windows 10/11
MacOS
Linux

Version Information

this happens in cloud agents only Latest as of May 2026
cursor ide works as expected.

Additional Information

Someone even wrote a blog post about it https://medium.com/@george.vetticaden/the-missing-mcp-playbook-deploying-custom-agents-on-claude-ai-and-claude-mobile-05274f60a970

Related Resources

Does this stop you from using Cursor

No - Cursor works, but with this issue

This is a known bug. Thanks for the thorough writeup and the Auth0 log evidence.

Cloud Agents don’t discover scopes from the MCP server’s OAuth metadata during authorization. The Desktop IDE handles this correctly, but that fix hasn’t been applied to Cloud Agents yet.

No workaround for Cloud Agents exists right now. If your workflow allows it, the Desktop IDE correctly negotiates scopes for OAuth-protected MCP servers.

Our team is aware of this and I will update this thread when the fix rolls out.

Any news on this?

No fix has shipped for this yet. The issue is still being tracked internally and our team is aware of the Auth0 evidence you provided.

For now, the Desktop IDE remains the only path for OAuth-protected MCP servers that rely on scope discovery. I’ll update this thread when the fix ships.

Just checking in again, we would be happy to beta test this.