Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Error message when asking about MCPs
Steps to Reproduce
Open Cursor CLI
Ask the AI:
What MCPs do you have?
Expected Behavior
No error message should be shown.
AI-generated workaround
After asking the AI about this issue, it suggested adding the following compiled code (as-is) after 7434.index.js:
case "listMcpResourcesToolCall":
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_anysphere_ink__WEBPACK_IMPORTED_MODULE_1__/* .Box */ .az, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_anysphere_ink__WEBPACK_IMPORTED_MODULE_1__/* .Text */ .EY, { children: "Listing MCP resources..." }) });
case "readMcpResourceToolCall":
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_anysphere_ink__WEBPACK_IMPORTED_MODULE_1__/* .Box */ .az, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_anysphere_ink__WEBPACK_IMPORTED_MODULE_1__/* .Text */ .EY, { children: "Reading MCP resource..." }) });
Notes:
This code was generated by AI
It was applied directly to the compiled output
After adding it, the error message no longer appears
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
version: 2025.11.25-d5b3271
Additional Information
Additional issue: flashing console window
Description
When running cursor-agent on Windows, a black console window briefly appears and disappears.
Command used:
cd /c/<project_dir> && echo 'echo hello' | "<path>/cursor-agent.cmd" -p -f --model auto --output-format stream-json --approve-mcps 2>&1
The window flashes on every execution, I tried multiple Python / subprocess approaches but couldn’t suppress it
It’s not very urgent; I would greatly appreciate it if this black console window could be addressed.
The content was generated with assistance from GPT.
Does this stop you from using Cursor
No - Cursor works, but with this issue