Unknown tool type: "listMcpResourcesToolCall" and an optimization request

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

Update:

I was able to resolve the flashing black console window on my side.

My previous approach (trying to hide the window from the caller side) was not the right direction.
The issue was resolved by adding a PowerShell (.ps1) wrapper in the CLI directory instead.

Marking this as solved.

Hey, thanks for the report, and thanks for finding a workaround!

The listMcpResourcesToolCall error is a known issue, and the team is working on a fix. The flickering console window on Windows has already been fixed in a newer CLI version.

Glad the PowerShell wrapper worked for you. If you run into any other issues, let me know.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.