Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Sanity Remote MCP intermittently becomes unusable in Cursor due to aggressive MCP discovery and resource prefetching.
After OAuth succeeds, Cursor repeatedly calls MCP discovery endpoints (ListOfferings, ListToolsRaw) and aggressively prefetches MCP resources (sanity://rules/*). This triggers Sanity MCP rate limiting (429 Too Many Requests). Cursor ignores the retryAfter value and immediately retries, causing the MCP server to enter a degraded state where 0 tools / 0 resources are reported until Cursor is fully restarted.
This is a regression. The same Sanity MCP setup worked reliably in previous Cursor versions.
Steps to Reproduce
- On Windows 10/11, add Sanity Remote MCP in Cursor using OAuth (https://mcp.sanity.io).
- Enable the Sanity MCP server.
- OAuth completes successfully and tools initially appear.
- Cursor immediately issues repeated ListToolsRaw and ReadResource calls (sanity://rules/*) in parallel.
- Sanity MCP responds with 429 Too Many Requests.
- Cursor ignores retryAfter and continues retrying.
- MCP tools/resources intermittently drop to 0 and remain unusable until Cursor is fully restarted.
Toggling the Sanity MCP server off/on increases the likelihood of triggering the issue.
Expected Behavior
Cursor should cache MCP tool and resource discovery per session and respect retryAfter on 429 responses. After successful OAuth and initial discovery, the MCP server should remain stable and usable.
Operating System
Windows 10/11
Version Information
Version: 2.4.22 (user setup)
VSCode Version: 1.105.1
Commit: 618c607a249dd7fd2ffc662c6531143833bebd40
Date: 2026-01-26T22:51:47.692Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
No - Cursor works, but with this issue