Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Disallowing access to an MCP server causes error in the terminal
Failed to load MCP server "Linear": Error: MCP server "Linear" has not been approved. Please approve it before loading.
at ServerApprovalMiddleware.<anonymous> (/Users/ed/.local/share/cursor-agent/versions/2025.11.06-8fe8a63/index.js:161844:23)
at Generator.next (<anonymous>)
at fulfilled (/Users/ed/.local/share/cursor-agent/versions/2025.11.06-8fe8a63/index.js:161800:58)
Failed to load MCP server "Playwright": Error: MCP server "Playwright" has not been approved. Please approve it before loading.
at ServerApprovalMiddleware.<anonymous> (/Users/ed/.local/share/cursor-agent/versions/2025.11.06-8fe8a63/index.js:161844:23)
at Generator.next (<anonymous>)
at fulfilled (/Users/ed/.local/share/cursor-agent/versions/2025.11.06-8fe8a63/index.js:161800:58)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Steps to Reproduce
- Add an MCP server
- Start a session with cursor-agent
- Continue without approval of MCP server
Expected Behavior
No output, or short message informing that the server is disabled.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Cursor agent: 2025.11.06-8fe8a63
Does this stop you from using Cursor
No - Cursor works, but with this issue