Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Robinhood MCP OAuth fails in Cursor CLI during the authorize step. The IDE auth flow for the same server works.
Steps to Reproduce
- ~/.cursor/mcp.json contains:
"robinhood": {
"url": "https://agent.robinhood.com/mcp/trading"
}
- Run agent mcp login robinhood in a standalone terminal
- CLI opens browser with auth URL containing
redirect_uri=http%3A%2F%2Flocalhost%3A8787%2Fcallback - CLI listens on
http://localhost:8787/callback - Robinhood goes to https://robinhood.com/oauth/error and shows something is wrong
- Browser console: 403 on authorize, 400 on security (Ă—3)
- No redirect to localhost; agent mcp list still shows requires_authentication
Expected Behavior
Robinhood authorize succeeds and redirects to http://localhost:8787/callback with an auth code, same as other MCP providers that support CLI OAuth.
Operating System
MacOS
Version Information
CLI Version 2026.06.04-5fd875e
Model Composer 2.5 Fast
Subscription Tier Pro
OS darwin (arm64)
Terminal iterm2
Shell zsh
Does this stop you from using Cursor
No - Cursor works, but with this issue