Cursor agent hangs

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Running cursor agent hangs forever. Launching the IDE and interacting with the agent works.
Is there a way to debug the agent?

Steps to Reproduce

In a terminal, type cursor agent and wait

Expected Behavior

Cursor responds within a few seconds

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.6.20
VSCode Version: 1.105.1
Commit: b29eb4ee5f9f6d1cb2afbc09070198d3ea6ad760
Date: 2026-03-17T01:50:02.404Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This is a known issue with the CLI agent, and the team is aware of it and tracking it.

A couple things to try:

  1. Temporarily disable MCP servers

The CLI agent loads the MCP config from the same files as the IDE, and a stuck MCP server can block startup completely. Try renaming the config to rule this out:

mv ~/.cursor/mcp.json ~/.cursor/mcp.json.bak

If you also have a project .cursor/mcp.json, rename that too. Then run agent again.

  1. Share your cursor-agent version
agent --version

If it works without MCP, that helps narrow it down. If it still hangs, we can dig in further.

Also, there’s a known interaction between iTerm2 and the CLI on macOS Apple Silicon. If disabling MCP doesn’t help, try running agent from the standard Terminal.app and see if anything changes.

Let me know how it goes.