Where does the bug appear (feature/product)?
Somewhere else…
Describe the Bug
Self-hosted worker is connected and visible in the Cloud Agents dashboard with the correct repo label (from git remote). On cursor.com/agents, after selecting Self-hosted, the repository dropdown is empty, so a new agent session cannot be started as described in the self-hosted documentation (“Select the repo that matches your worker”). Our Git is self-managed GitLab on an internal host (VPN-only); there is no public OAuth integration for that GitLab in Cursor.
Steps to Reproduce
Steps to Reproduce
Enable Allow Self-Hosted Agents (team admin).
On a Linux host, clone a repo whose origin is internal GitLab (SSH), install Cursor Agent CLI, run agent worker start --api-key .
Confirm in Cloud Agents dashboard that the worker appears and shows the expected repo.
Open https://cursor.com/agents, same account as the API key.
Choose Self-hosted in the environment dropdown.
Open the repository selector → list is empty (no way to pick the worker’s repo).
Expected Behavior
After choosing Self-hosted, I should be able to select the repo that matches the connected worker (e.g. same group/project as derived from git remote),
Operating System
Linux
Version Information
agent --version
2026.03.25-933d5a6
For AI issues: which model did you use?
N/A — session never starts; no model selected.
For AI issues: add Request ID with privacy disabled
N/A
Additional Information
Docs: Self-Hosted Cloud Agents — “Run a task” step 3.
Worker log shows successful auth, Derived repo label from git origin, bridge connected, frames received.
Cloud Agents API (POST /v0/agents) has no documented fields to pick a self-hosted worker / internal GitLab URL
Does this stop you from using Cursor
No - Cursor works, but with this issue