Trusting workspace... consistently hangs on Windows/pwsh

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Whenever I start working on a new folder Cursor hasn’t seen before, selecting Trust this workspace results in it becoming non-responsive. Can’t exit, can’t type. I consistently have to close the terminal and start over.

Steps to Reproduce

run agent on a folder you haven’t trusted before, select [a] Trust this workspace

Expected Behavior

Trusts the folder and immediately allows working on it. Same thing happens when approving MCP servers…

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

❯ agent about
About Cursor CLI

CLI Version 2026.06.03-0bbb28e
Model Composer 2.5 Fast
Subscription Tier Pro
OS win32 (x64)
Terminal windows-terminal
Shell cmd

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This is a known bug in the CLI on Windows. After you click Trust this workspace, and also after approving MCP servers, stdin doesn’t get reattached and the terminal hangs. We’re tracking the issue, but I can’t share a clear ETA for a fix yet.

A workaround that works is to close the terminal after it hangs, then run agent again in the same folder. The workspace is already marked as trusted, so the dialog won’t show up again and the agent should work normally. Same for MCP, after the first approve, a restart won’t ask again.

If you want to avoid this step entirely, the bug doesn’t happen on WSL, or when running the agent from the IDE.

I’ll post an update in the thread once we have more info on the fix.