Terminal hangs when invoked via Cursor Agent

Describe the Bug

When the Cursor Agent runs terminal commands, they hang and never complete. No output is returned, even for simple commands like git log.

Symptoms:

Commands run in the background and never finish
No output within 30-60 seconds
Happens for any terminal command run by the agent

Steps to Reproduce

  1. Open Cursor Agent chat
  2. Ask it to run any terminal command (e.g. git log -2)
  3. Command hangs, no result is returned

Expected Behavior

  1. Command executes correctly with full output

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.6.18
VSCode Version: 1.105.1
Commit: 68fbec5aed9da587d1c6a64172792f505bafa250
Date: 2026-03-10T02:01:17.430Z (1 day ago)
Build Type: Stable
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.0.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a known issue. We’ve seen a few similar reports over the last week, and the team is aware.

A few things to check:

  1. MCP servers: If you have any set up (in .cursor/mcp.json or globally), try removing them temporarily. In a similar thread, that was the cause.

  2. zsh config: Temporarily rename ~/.zshrc to ~/.zshrc.bak, then restart Cursor. Some plugins (oh-my-zsh, powerlevel10k) can conflict with terminal output capture.

  3. Legacy Terminal: In Cursor Settings CMD+Shift+J > Agents, enable Legacy Terminal Tool, then run CMD+Shift+P > Terminal: Kill All Terminals, and fully restart Cursor.

  4. Extensions: Run cursor --disable-extensions from a terminal to check if something is blocking it.

If none of that helps, we’ll need:

  • A screenshot of the DevTools Console at Help > Toggle Developer Tools > Console right after you try running a command via the agent
  • The Request ID from the chat (top right > Copy Request ID)

Let me know what you find.

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