← Back to news
Cursor Self-Hosted Machines: Faster Debugging, Tighter Credential Boundaries

Photo: Derrick Coetzee / Wikimedia Commons (CC0 1.0)

22/11/2026

Cursor Self-Hosted Machines: Faster Debugging, Tighter Credential Boundaries

Cursor’s November update makes self-hosted agents more useful—and more privileged

The most useful question about a coding agent is often not which model it runs. It is whether that agent can reproduce the environment where your software actually breaks. An internal package registry, a particular Mac toolchain, a GPU dependency or a large warm build cache can determine whether an apparently simple task takes minutes or consumes an afternoon. Cursor’s Self-Hosted Machines addresses that environment gap by executing tools on infrastructure you manage, while keeping the agent experience in Cursor.

The timely development is in Cursor’s release notes for the week of November 9, 2026: team-pool workers can receive short-lived source-control tokens and dashboard secrets during runs. An administrator must enable the relevant setting, and the worker must explicitly opt in. This is not merely another convenience switch. It changes how a team can provision reproducible workers without copying permanent developer credentials everywhere, while creating a new authorization boundary that needs deliberate review.

This guide separates documented behavior from engineering recommendations. It is a practical adoption blueprint, not a claim that we benchmarked a private Cursor deployment. The central principle is straightforward: delegate implementation and evidence collection, but keep infrastructure policy, credential scope, merge decisions and release authorization with accountable humans.

What actually runs on your machine

Self-Hosted Machines moves terminal commands, file edits and other tool execution to a worker on your laptop, devbox or company-managed infrastructure. Cursor still runs the agent loop, inference and planning in its cloud. The worker opens an outbound connection; the basic worker connection does not require opening inbound ports. Your existing toolchain and network access become available to the work performed there.

This is not an offline agent or a fully on-premises model deployment. Cursor’s documentation explicitly says that file content, terminal output, diffs, screenshots, local MCP results and routing metadata can leave the worker as required by a run. Artifacts are uploaded to Cursor-managed storage. Keeping the checkout and build cache inside your network therefore does not mean every representation of your code stays there.

That distinction matters before security approval. Review model access, retention terms, Privacy Mode, artifact handling and the actual data emitted by tools. A command that prints a configuration file can turn a locally stored secret into remote terminal output. A screenshot can expose customer data even when the repository itself never moves. Local execution controls placement; it does not, on its own, provide a complete data-loss-prevention policy.

Choose the simplest execution model that solves the problem

Cursor recommends its managed Cloud Agents for most teams. Private connectivity, network allowlists and supported connections to private source control may solve your constraints without operating a fleet. Self-hosting becomes compelling when you really need specific hardware, a custom operating-system image, an existing development machine or an execution environment that cannot reasonably be recreated in managed compute.

There are two useful entry points. My Machines connects a personal machine to a particular user and is the simplest pilot. Team Pools provides centrally managed worker capacity and service-account authentication for Enterprise teams. A pool is a named routing destination: requests wait until an eligible worker claims them. A pool worker serves one agent at a time, so concurrent work requires additional workers.

Do not start by building a Kubernetes controller. First establish that environment locality saves meaningful engineering effort. A single dedicated devbox can reveal whether the real bottleneck is setup, model reasoning, test execution or human review. If managed agents already reach the needed services reliably, maintaining another fleet may reduce productivity rather than improve it.

Install and access it without turning a quickstart into a security shortcut

The official installation page is linked in the dedicated sources section, alongside the personal-worker quickstart, pool reference and runtime-selection guide. On macOS, Linux and WSL, Cursor documents the installer command curl https://cursor.com/install -fsS | bash. Native Windows installation is documented separately using PowerShell. In a controlled engineering environment, inspect the installer and approve its origin before execution, then package the approved installation path in your normal workstation or image-management process.

After installation, check agent --version. For a personal pilot, run agent login, move into a clean checkout of the intended repository and start agent worker start. Keep the process running. At https://cursor.com/agents, select the machine under My Machines in the execution-location menu and submit a deliberately low-risk task. These are documentation-based setup instructions; no agent was installed or authenticated as part of this article.

Use a dedicated OS account with only the access required for the pilot. Do not register your everyday workstation with a production shell, broad cloud credentials and an unrestricted password manager attached. Before the first modifying task, ask the agent to identify the repository, report its current revision, list the relevant test commands and explain which files it expects to inspect. Compare that answer with the actual checkout.

If the machine does not appear, run agent worker debug. Check that the CLI and application use the same account, the process is still running, the Git remote identifies the expected repository and required outbound hosts are reachable. A successful network request is not proof that repository routing or authorization is correct; verify both independently.

Move to team pools only with an explicit credential design

Team Pools requires a Cursor Enterprise plan, appropriate administrator settings and a service-account API key for worker authentication. Personal user keys and team administration keys are not interchangeable with that service-account credential. Prefer your organization’s approved secret-injection mechanism over putting real credentials in shell history, deployment manifests or copied command examples.

For a repository-backed pilot pool, the documented shape is agent worker --pool engineering-pilot start, launched from its prepared workspace after authentication is configured. Put worker options before start. Run the process under a suitable supervisor and give the pool a descriptive name. A pool called engineering-pilot is easier to audit than an unexplained default that eventually receives unrelated workloads.

The November addition has two separate opt-ins. Source-control token delivery requires an administrator to enable SCM token minting and the worker to use --mint-scm-token. Dashboard-secret delivery requires Secret sync plus --sync-dashboard-secrets. Enable neither simply because the flags exist. Start without them, establish exactly what fails, and authorize the smallest capability needed to resolve that failure.

The pool reference also documents important constraints: credential-enabled workers assume one worker per container or OS user. Environment-scoped secrets and Build Secrets are not delivered through dashboard-secret synchronization. Repository selection and pool type affect which secrets are available. Test these boundaries with disposable credentials before relying on them for a real workflow. Short-lived credentials reduce exposure duration; they do not make an overprivileged task harmless.

Use case one: debug an integration failure where it actually happens

Consider a backend service whose tests pass publicly but fail against an internal staging dependency. A useful task is: “Reproduce this failure at the specified commit using the staging sandbox. Do not modify shared data. Identify the failing request, add a regression test using synthetic fixtures and propose the smallest patch. Stop before changing credentials, infrastructure or service configuration.”

The worker can use the approved internal toolchain and connectivity rather than asking a developer to relay every log line manually. Require a structured handoff: exact revision, commands executed, observed failure, sanitized evidence, patch summary and remaining uncertainty. Ask for the failing test before the fix and the same test afterward. A passing screenshot is less useful than a reproducible command and its exit status.

The human still decides whether staging behavior represents the production contract. An agent may “fix” a failure by relaxing validation, increasing a timeout or skipping an assertion. Review the test and the implementation together. The productivity opportunity is a shorter reproduce-investigate-patch loop, not permission to redefine correctness until the suite turns green.

Use case two: make large-repository maintenance less interruptive

A large repository may need expensive dependency resolution or generated code before meaningful tests can run. A prepared worker can reuse approved tooling and caches, reducing repeated setup work. Give the agent one bounded maintenance task: update a generated client, migrate one deprecated API or repair a specific lint rule without mixing unrelated cleanup into the patch.

Write acceptance criteria before starting. For a client update, require the generated files to match the approved schema revision, prohibit hand edits to generated output and run the package’s contract tests. Ask the agent to report the generator version and distinguish generated changes from handwritten adapters. This makes review about the intended behavior rather than about reconstructing the environment afterward.

Warm state is also a source of false confidence. A local cache may hide a missing dependency or stale generated artifact. Follow the fast worker run with a clean CI execution using the same reviewed commit. Preserve lockfiles and image versions, and avoid combining tasks in one dirty checkout. A quick result that nobody can reproduce is not a durable productivity improvement.

Use case three: investigate platform-specific failures

Self-hosted execution is especially relevant when a task needs a Mac build environment, a particular GPU stack or custom binaries. Route that work to the matching pool rather than hoping a generic Linux environment can reproduce it. Separate hardware profiles and network trust levels; a convenient name is not an isolation mechanism, so enforce the boundary in infrastructure and identity policy.

For an iOS issue, a sensible scope is to reproduce a simulator failure, isolate the responsible code path and prepare a small patch with the relevant test output. Keep distribution signing, certificate administration and store submission outside the initial agent environment. For GPU workloads, constrain the dataset, budget and permitted devices. A hung process can consume expensive capacity without making the task more correct.

The measurable benefit is fewer human context switches between specialist machines and ordinary development work. The limitation is that platform-specific dependencies still need maintenance. Someone must patch the host, refresh the image and ensure the documented reproduction remains valid. The agent does not remove ownership of the environment it uses.

Use case four: gather UI evidence without granting unrestricted desktop access

Cursor supports computer-use tools on documented self-hosted configurations. With the appropriate packages or permissions, an agent can click, type, take screenshots and drive applications. This can help investigate a UI regression that static inspection misses: a broken settings flow, a layout problem after a migration or an error path requiring several interactions.

Enable this only in an isolated desktop with synthetic accounts. On macOS, Cursor’s helper needs Accessibility and Screen Recording permissions; Linux requires the documented desktop setup. Browser profiles must not contain personal sessions, production dashboards or unrelated confidential tabs. Screenshots and videos are potential exports, not merely local debugging conveniences.

Give the agent a written interaction script and require the same path before and after the patch. Preserve viewport size, browser version and fixture state. Use recordings to help reviewers understand behavior, but keep automated assertions for durable regression coverage. Human review remains necessary for usability, accessibility and product intent; a successful click sequence does not establish those properties.

Use case five: connect private developer tools through MCP carefully

The worker documentation makes an important transport distinction. Command-based MCP servers using stdio run on the worker and can reach its private network. HTTP or SSE MCP connections are handled by Cursor’s backend. Moving tools onto a self-hosted worker does not automatically move every MCP connection into that same network.

A useful first integration is a read-only internal documentation search or a test-result lookup with sanitized output. Configure only the tools needed for that task. Avoid a broad administrative integration that can search tickets, change permissions and deploy software through one identity. Treat tool responses and repository documents as untrusted information, not as authority to expand the assignment.

For each MCP tool, record its transport, execution location, credential source, allowed operations and data returned. Test an expected denial as well as a successful query. This small inventory often produces more value than adding another agent feature: the engineer can delegate research knowing where the boundary is and which actions still require explicit approval.

Build a verification and recovery contract

Every delegated task should end with evidence another engineer can use: starting revision, modified files, commands and exit statuses, tests not run, external systems touched and known limitations. Require an explicit distinction between “not tested” and “passed.” Review the diff for permission changes, dependency additions, weakened tests and accidental secrets before considering the feature itself.

Keep independent CI and branch protections. The worker’s successful test run is supporting evidence, not an exemption from release gates. Separate identities for implementation and deployment, and do not let the same broad credential authorize every stage. Human approval should refer to a particular reviewed revision, not to an evolving branch name that can change afterward.

Plan for interruptions too. Workers can disconnect, run out of disk space or lose access to a package registry. Cursor’s recent release notes describe improvements to stopping, reconnection and self-hosted-worker reliability, but those are not a guarantee of exactly-once effects. After an interruption, inspect the filesystem, Git status and any external operations before restarting. Never assume a repeated migration or API call is safe simply because the agent reports that the earlier turn failed.

Measure the workflow, not the marketing promise

Run a bounded pilot on a representative set of low-risk tasks. Capture environment-preparation time, time to first useful reproduction, engineering minutes spent supervising, review effort, CI retries and the proportion of accepted patches. Track model usage and worker cost alongside these figures. Do not count unattended waiting as human time saved when the work still blocks someone later.

Compare against your existing workflow using similar tasks, and document differences in difficulty. There is no universal speedup to promise from these release notes. The likely gains come from removing repeated environment setup, reducing log-relay work and making specialist machines accessible through a consistent task interface. The likely costs are fleet maintenance, credential governance and additional review of generated changes.

Adopt the capability when those measured gains exceed the operational burden. Keep managed execution where it already works. Use self-hosted workers where environment fidelity genuinely matters. Above all, treat November’s credential-delivery features as an opportunity to improve least privilege—not as a reason to give agents every secret a senior engineer happens to possess.