Constantly stuck in "Planning Next Moves" or "Generating..."

The Cursor agent is blocked bygit.exe.
git opens files: Mcp FileSystem Writer.log Cursor Agent Exec.log that Cursor also uses
Solution: Kill the git process.

  • Windows CMD:
    tasklist /FI "IMAGENAME eq git.exe"

  • PowerShell:
    pskill -Name git

1 Like

Same issue.

This worked for me though.

Thanks for the heads up!

1 Like

And now it stopped working again…. :confused:

No MCP enabled

I create a powershell script to monitors and kills stuck git.exe processes spawned by Cursor IDE
I run it in a separate window, and now Cursor is no longer blocked.

This doesn’t work on MacOS (after rewriting the script). There are no stuck git processes there (when the Agent is stuck im “Planning…” or “Generating…”).

Doing Developer: Restart Extension Host worked for me on a Mac, and I had 5 stuck Agent conversations at the same time.

sad for me it works great…