Delete oauth tokens when an mcp is uninstalled

Describe the Bug

You appear to be retaining oauth client ids even after an mcp server is deleted.
This requires deleting cursor and reinstalling to properly test an mcp+oauth flow.

Client id still appears in:
/Users/{user}/Library/Application Support/Cursor/User/globalStorage/{state.vscdb, state.vscdb.backup, }

Steps to Reproduce

  1. Authorize a mcp server.
  2. Remove the server
  3. confirm removal in your mcp logs
  4. Re-add server
  5. still uses old client id during auth loop (never does new DCR)

Expected Behavior

When I delete an MCP server, should clear any associated client ids and tokens

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue