Where does the bug appear (feature/product)?
Cursor CLI + Cursor Agent Window on macOS
Describe the Bug
When using a self-hosted agent in macOS app (Cursor Glass), no new thread can be started, always leading to a stuck “Setting up environment” step with the error “No matching self-hosted worker is eligible”.
When starting the agent with the same settings in cursor.com/agents, everything works as expected, even when taking over the agent session in the macOS app after creation in the web ui.
Steps to Reproduce
- Login using Cursor CLI using
agent login - Start worker in git repo
agent worker start - In macOS App in agent window start a new agent and select the worker in the “Machines” menu item
- Start a prompt
Expected Behavior
Agent session properly started from macOS app using the self hosted agent.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
IDE: 3.6.31 (also did not work on nightly)
CLI: 2026.06.02-8c11d9f
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
