Cursor self-hosted agents: what runs on your machines

Cursor can run agent workers on your own machines, but the agent loop, inference and planning still run in Cursor's cloud. This page explains the split, the data that leaves your network and the plan limits.

On this page

Can Cursor self-hosted agents keep code execution inside our network?

A platform or security lead needs to know whether the actions that touch code can stay on company infrastructure. Cursor supports self-hosted cloud agent workers, but only on team pools, and team pools require the Enterprise plan. The agent loop, inference and planning still run in Cursor's cloud, so the answer is partial: the file edits, terminal commands, computer-use tools and local MCP servers run on your machines, while the reasoning that decides what to do does not.

Your organization operates those machines or cluster and pays for them, on top of the model usage billed by Cursor. The worker needs only outbound HTTPS to Cursor's API hosts, with no inbound ports, public IPs or VPN tunnels, so the network team's main review is egress control. Before approving, confirm the worker host image, patching, and where logs from those hosts are kept, and confirm with Cursor which worker counts apply to your planned deployment under the self-hosted machines documentation.

The reviewer should also expect that the worker sends Cursor file contents, terminal output, diffs, screenshots, local MCP results and routing metadata during each run. Code execution is inside your perimeter, but the data those actions produce is not, so the approval should state that explicitly. Confirm the secret handling as well: environment-scoped secrets and Build Secrets never reach a worker, and pool workers receive team and user secrets only if they opt in to Secret sync. Ask Cursor to confirm in writing how these settings can be enforced at the team level before you approve the pool.

Self-hosted capabilities by plan and deployment option

This table compares what Cursor runs on your machines against what stays in Cursor's cloud, by deployment option and plan. Read each row against the plan column to see whether the feature is included, paid, or needs your own compute. The main takeaway is that self-hosted workers keep file edits and commands on your side, but the agent loop and inference still run in Cursor's cloud.

CapabilityPlan or editionBuilt in or paidOutside component needed
Self-hosted machines (individual or team connection)Individual and team connections, per the self-hosted machines documentationConfirm whether the plan that includes it is listed as paid or includedYour own machines or cluster running the worker
Team PoolsEnterprise only, per the Team Pools pagePaid, Enterprise custom pricing as of November 2026Pool workers hosted by you
Worker limit per userSelf-hosted machines: up to 10,000 workers per user or teamConfirm limits per plan with CursorCompute capacity you operate
Worker limit per user and per team (Team Pools)Up to 200 workers per user and 1,000 per teamEnterprise onlyCompute capacity you operate
Outbound HTTPS to Cursor API hosts onlyWorker requirement on all self-hosted optionsNot a licensed featureFirewall rules allowing outbound HTTPS, no inbound ports or VPN
Environment-scoped secrets and Build SecretsNever reach a workerNot configurable for workersKeep secrets in your own vault if the agent needs them
Secret sync (team and user secrets to pool workers)Opt-in only, per worker poolNot a licensed featureDecision by each pool worker owner
Customer-operated computeRequired for any self-hosted workerPaid to you or your infrastructure provider, not to CursorCloud accounts, data center hosts or cluster operations
Cursor-hosted agent loop and inferenceCursor cloud, with model subprocessorsIncluded in Cursor plan and model usageNone, but data leaves your network for these steps

Which parts run on your machines and which stay in Cursor's cloud

The key point for reviewers is that Cursor runs the agent loop, inference and planning, while the customer's worker runs file edits, terminal commands, computer-use tools and local MCP servers. The model does not move onto your hardware when you use self-hosted machines. What changes is where the actions happen: the worker on your machine or cluster executes the commands and edits the files, and Cursor's cloud decides what to do next. Your security review should therefore start from the worker's permissions and network path, not from the location of the model.

The network boundary is about what returns to Cursor. According to Cursor's self-hosted machines documentation, during a run the worker sends Cursor file contents, terminal output, diffs, screenshots, local MCP results and routing metadata. Those are the data flows to map in your data classification and to compare with your retention and privacy settings. Ask Cursor to confirm in writing which of these items are retained, for how long, and whether any of them are excluded when Privacy Mode is enabled. Do not assume that running the worker inside your network keeps this content inside it.

Connectivity is the simpler part of the design. Workers need only outbound HTTPS to Cursor's API hosts, and the documentation states that no inbound ports, public IPs or VPN tunnels are required. Your network team should confirm the exact host list from Cursor's documentation and allow only those destinations through egress controls and proxies. On secrets, environment-scoped secrets and Build Secrets never reach a worker. Pool workers receive team and user secrets only if they opt in to Secret sync, so treat that opt-in as a control to review and, where your policy requires, to restrict.

Decisions to make before connecting workers

Connecting a self-hosted worker is less a single switch than a set of choices about who owns the machine, whose secrets it can read, where it can reach and how many can run. Each choice changes your security exposure, your cost and how much your operations team has to run.

Worker ownership: personal or pool

A personal worker runs on a machine one developer controls, so its files, terminal and local MCP servers sit with that person. A pool worker runs on machines your team operates, which moves patching, access control and monitoring to your platform group. Decide which model fits each repository's sensitivity before anyone installs a worker, because the operating burden follows the ownership choice. Ask Cursor how pool machines are provisioned and who can administer them.

Self-hosted machines docs

User or team pool scope

A user pool serves one person's runs, which limits blast radius if credentials or a machine are compromised. A team pool is shared across members, so one misconfigured worker can affect everyone who uses it. Team pools require the Enterprise plan according to Cursor's documentation, so confirm your edition before designing around them. Map each team to a pool scope and document who may submit work to it.

Team pools docs

Secret sync opt-in for pool workers

Environment-scoped secrets and Build Secrets never reach a worker. Pool workers receive team and user secrets only when their owner opts in to Secret sync. Treat that opt-in as a credential-release decision: any secret synced to a pool machine can be read by commands the agent runs there. Require a written approval for each secret that crosses to a pool, and rotate anything synced to a machine that is retired.

Egress allowlist for Cursor API hosts

Workers need only outbound HTTPS to Cursor's API hosts, with no inbound ports, public IPs or VPN tunnels. That keeps the attack surface small, but the allowlist is still the control that defines what leaves your network. Ask Cursor for the current list of hosts, restrict workers to them at the firewall or proxy, and log denied connections. During a run, workers send file contents, terminal output, diffs, screenshots and local MCP results, so the allowlist is also your data egress boundary.

Scale tier and worker limits

Cursor's documentation gives different ceilings: up to 10,000 workers per user or team on the self-hosted machines page, and up to 200 workers per user and 1,000 per team on the Team Pools page, both as of November 2026. Choose the tier that matches your largest planned pool before rollout, since larger deployments need to contact Cursor. Plan capacity, cost and on-call coverage for the machines you operate, because you pay for them in addition to model usage.

MCP servers and repositories a worker reaches

A worker can run local MCP servers and act on the repositories cloned onto it, so each reachable MCP server and repository is an access grant. Limit workers to an approved list of servers and repos, and give each pool only the credentials those repos need. Enterprise admins can control repository, model and MCP access centrally, so confirm that these controls apply to worker-run sessions as well as to desktop use before relying on them.

How the answer changes by plan, team size and data sensitivity

The sources tie Team Pools to the Enterprise plan, so a Teams subscription does not give you pooled workers. The Teams plan is listed at $30 per user per month on Cursor's pricing page as of November 2026, and it includes SSO, centralized billing, usage analytics and team-wide privacy settings. Confirm with Cursor whether any self-hosted worker option is available on Teams before you assume one exists, because the self-hosted machines documentation does not state a Teams entitlement.

  • Pool workers: Team Pools require Enterprise according to Cursor's documentation, so do not plan a shared worker pool on Teams.
  • Worker options: Ask Cursor in writing whether individual self-hosted machines can be connected on Teams and under which limits.
  • Privacy settings: Teams can set team-wide privacy settings, but confirm that Privacy Mode is enforced for every seat.
  • Governance gaps: SCIM seat management and audit logs are listed on Enterprise, not Teams, so plan manual offboarding and review.
  • Cost ownership: If you run machines yourself, you pay for and operate them in addition to model usage.

Before approving Teams, get written confirmation of the worker options, the privacy enforcement method and the logging you will have.

Where the agent loop, worker and your network meet

The diagram starts inside your network, where a worker machine or pool worker runs file edits, terminal commands, computer-use tools and local MCP servers. Each worker makes only outbound HTTPS calls to Cursor's API hosts, which run the agent loop, inference and planning. The return path carries file contents, terminal output, diffs, screenshots, local MCP results and routing metadata, so that flow is what your data review must cover. No inbound ports, public IPs or VPN tunnels are needed, but confirm with your own firewall team which hosts and egress rules apply.

Worker traffic leaves your network only over outbound HTTPS to Cursor's cloud.

Rollout order for self-hosted workers

This sequence confirms entitlement, ownership, network reach and secret handling before any developer session runs on a self-hosted worker. It ends with a documented operating model that states who runs the machines and how much capacity the team can rely on.

  1. Confirm plan and pool entitlement

    Ask the Cursor account owner to confirm in writing which plan the organization holds and whether it includes Team Pools. Both the self-hosted machines documentation and the Team Pools page state that Team Pools require Enterprise, and the pricing page lists the Teams plan and the Enterprise plan with custom pricing as of November 2026. Done means a named plan on the order form and a written answer on pool access, not a sales assurance.

  2. Decide worker ownership and scope

    Assign an owning team for the machines or cluster and decide whether workers serve one user, one team or a shared pool. Cursor's documentation states that the customer pays for and operates the machines in addition to model usage, so the owner must also fund hosts, patching and capacity. Record the owner, the scope and the cost center in the rollout ticket before provisioning anything.

  3. Set the outbound egress allowlist

    Work with network engineering to allow outbound HTTPS from worker subnets to the Cursor API hosts listed in Cursor's documentation, and block all other egress from those hosts. Cursor states that workers need no inbound ports, public IPs or VPN tunnels. Confirm the final host list with Cursor, then verify from a test host that connections to unlisted destinations fail.

  4. Confirm secret policy and Secret sync opt-in

    Document which secrets belong in the environment and which belong in team or user scope. Cursor states that environment-scoped secrets and Build Secrets never reach a worker, and pool workers receive team and user secrets only when users opt in to Secret sync. Have the security team approve the opt-in rule and check that no production credential is placed in a scope that syncs to workers.

  5. Restrict MCP servers and repositories

    Limit which local MCP servers and repositories the worker may reach, and register only approved servers in the admin configuration available on Enterprise. Cursor's documentation states that the worker runs local MCP servers and sends their results back, so each approved server becomes a data path. Confirm the allowlist with the application owners and keep a dated copy of it with the rollout record.

  6. Run a test session and inspect egress

    Run a controlled test session with a non-sensitive repository and capture the traffic leaving the worker network. Cursor's documentation states that the worker sends file contents, terminal output, diffs, screenshots, local MCP results and routing metadata during a run, so the test should confirm each category against what the network capture shows. Done means a written inspection record that the security reviewer signs before any real repository is connected.

  7. Document the operating model and capacity limits

    Write down who patches the workers, who monitors them, how new workers are added and who requests a limit increase. Cursor's self-hosted machines page states that each user or team can connect up to 10,000 workers, while the Team Pools page states up to 200 workers per user and 1,000 per team as of November 2026, and both direct larger deployments to contact Cursor. Confirm the applicable limit with Cursor in writing and keep the operating runbook with the security and IT owners.

Evidence a security reviewer asks for

This table lists the documents and records a reviewer should collect before approving self-hosted Cursor workers, and what each one proves. Read it as a checklist: the plan and pool entitlement shows whether the setup is allowed at all, while the worker documentation and egress rules show what runs on your machines and what leaves your network. Items marked for confirmation need a written answer from Cursor or a test in your own environment.

Evidence itemWhere it comes fromWhat it proves
Plan and pool entitlementCursor pricing page and Team Pools page, as of November 2026Team Pools require Enterprise. Confirm in writing which plan and worker limits apply to your organization before pilots begin.
Self-hosted machines documentationCursor self-hosted machines pageWhich steps run in Cursor's cloud (agent loop, inference, planning) and which run on your worker (file edits, terminal, computer use, local MCP servers).
Egress rules to Cursor API hostsSelf-hosted machines page and your firewall or proxy logs from a test workerWorkers need only outbound HTTPS to Cursor's API hosts, with no inbound ports, public IPs or VPN tunnels. Verify this with a captured test run.
Secret scoping configurationSelf-hosted machines documentation and your Cursor admin settingsEnvironment-scoped secrets and Build Secrets never reach a worker. Test that a planted value is absent from the worker environment.
Secret sync decisionsTeam Pools documentation and a signed internal decision recordPool workers receive team and user secrets only if users opt in to Secret sync. Record who may opt in and which secrets are allowed.
Data flow inventoryWorker data description in the self-hosted machines documentation, checked against your own test trafficWorkers send file contents, terminal output, diffs, screenshots, local MCP results and routing metadata to Cursor during a run. Map each category to a data classification and retention decision.
Subprocessor listCursor Trust Center at trust.cursor.comLists Amazon Web Services for cloud infrastructure and several inference providers, 19 subprocessors in total. Compare against your third-party risk requirements and track changes.
SOC 2 Type II and ISO/IEC 27001:2022 reportsCursor Trust Center, available on requestIndependent attestation over Cursor's own controls. Confirm the report period and scope cover the self-hosted worker path, since the worker runs in your environment.
Infrastructure cost ownershipSelf-hosted machines documentationYou pay for and operate the machines or cluster in addition to model usage. Confirm sizing, patching and monitoring responsibilities in writing.

Questions buyers ask before approving self-hosted Cursor workers

Does self-hosting mean the Cursor model runs on our own hardware?

No. Cursor's self-hosted machines documentation states that Cursor runs the agent loop, inference and planning in its own service, while your worker runs file edits, terminal commands, computer-use tools and local MCP servers. The model itself is not moved onto your machines. Model inference is handled through Cursor's inference subprocessors, which its trust center lists as Anthropic, OpenAI and SpaceXAI. Before approval, confirm this split against the self-hosted machines documentation and map which data crosses to Cursor's services during a run, since the worker sends file contents, terminal output, diffs, screenshots, local MCP results and routing metadata.

What does a self-hosted Cursor worker deployment cost?

You pay twice: for the machines or cluster that run the workers, and for model usage on Cursor's side. The self-hosted documentation states that the customer pays for and operates the machines or cluster in addition to model usage. Cursor's pricing page lists Teams from $30 per user per month as of November 2026, and Enterprise on custom pricing. Team Pools, which the Cursor team pools page says require Enterprise, add pooled workers per user and per team. The main cost drivers are the compute each worker needs, how many workers you run concurrently, and how heavily developers use agents. Ask for a quote that separates plan fees, model usage assumptions and your own infrastructure costs, and confirm which are one-time and which recur.

How long does it take to get self-hosted workers running?

The sources we reviewed do not state a setup duration, so do not plan a schedule from this page. Setup time depends on how quickly your team can provision the machines or cluster, open outbound HTTPS to Cursor's API hosts, configure secret handling and pilot the workers with a small group of developers. Confirm with Cursor which steps it expects you to complete and whether any of them need its involvement. Any timeline you agree should come from a written, fixed scope with defined deliverables, which is how DeployOpen typically structures its engagements.

Can our own engineers set up and run the workers without outside help?

It depends on your operations skills and network controls. Workers need only outbound HTTPS to Cursor's API hosts, and the documentation states that no inbound ports, public IPs or VPN tunnels are required, which simplifies network approval. However, your team still has to run the machines or cluster, patch them, size capacity, manage the environment-scoped secrets and control which team and user secrets pool workers receive when they opt in to Secret sync. Check whether your platform team already runs container or VM fleets with image hygiene, logging and egress filtering, and whether your firewall policy allows the required outbound destinations.

Does self-hosting guarantee that our data stays in our region?

Not from the sources reviewed here. Self-hosting keeps the worker and its file system on your infrastructure, but the worker still sends file contents, terminal output, diffs and routing metadata to Cursor during a run, and inference is performed by subprocessors. Cursor's trust center lists Amazon Web Services as its cloud infrastructure subprocessor and 19 subprocessors in total. Ask Cursor in writing where each data category is processed and stored, which regions are used for inference, what retention applies to the data in transit, and how the data processing terms cover GDPR or other residency obligations you must meet. Use the Cursor Trust Center to request the subprocessor list and reports.

What does outside help from DeployOpen cover for self-hosted Cursor workers?

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, and runs security testing, including AI systems and agents. Cursor's workers are a commercial product rather than an open-source platform, so any work on them should be scoped in writing with that boundary stated. A typical fixed scope could cover reviewing the network and egress design, setting up the worker environment inside your cloud account, hardening the secret and MCP configuration, and testing the agent's permissions. Most engagements are fixed-scope, with scope, deliverables and timelines agreed before work starts. Ongoing support and continuous testing are available as retainers. DeployOpen does not publish prices, and a quote follows from the written scope.

Which Cursor plans and limits apply to self-hosted workers?

Self-hosted machines are the customer-operated option, and the self-hosted documentation states that each user or team can connect up to 10,000 workers. Cursor's Team Pools page states up to 200 workers per user and 1,000 per team as of November 2026, and it requires Enterprise. Both pages say larger deployments should contact Cursor. Teams from $30 per user per month is listed on the pricing page, but confirm with Cursor which plan covers the exact worker mode you intend to use, because pool features are tied to Enterprise. Ask for the limits in writing for your planned headcount and worker count before you commit to a design.

Primary sources to check each claim against

Before approving a self-hosted Cursor worker design, a reviewer should verify each claim against the vendor's own pages rather than secondhand summaries. Start with the Cursor self-hosted machines documentation, which sets the boundary that matters most here: the agent loop, inference and planning stay in Cursor's cloud, while your worker runs file edits, terminal commands, computer-use tools and local MCP servers. Confirm that boundary against the version your team will actually deploy, and record the page date with your approval notes.

Next, check the capacity and plan terms on the Cursor team pools page. The worker limits differ between the self-hosted machines page and the pool page, so the reviewer should note which figure applies to each deployment model and confirm with Cursor whether a larger fleet needs a separate arrangement. Pools require Enterprise, so the pricing check belongs on the Cursor pricing page, where the Teams and Enterprise terms and the custom Enterprise pricing should be matched to your written quote. Ask the vendor which self-hosted features are included in each tier and whether machine and cluster costs are excluded from model usage.

Finally, use the Cursor security page and the Cursor Trust Center to confirm the data flow and the assurance evidence. The security page covers Privacy Mode and training commitments, while the Trust Center holds the attestation reports on request and the subprocessor list. Compare the subprocessor list with the data your workers will send, including file contents, terminal output, diffs, screenshots and MCP results. Record each confirmed answer with its source, date and the name of the person who verified it.

How DeployOpen helps you approve self-hosted Cursor workers

DeployOpen is a Chainscore Labs company that plans, implements, hardens and documents self-hosted platforms inside your own infrastructure, and runs security testing that includes AI and agent systems. We help your team map what the Cursor worker runs on your machines, what leaves your network, and what your reviewers need to see before approval.

How we scope

  • We map which worker actions run on your hosts: file edits, terminal commands, computer-use tools and local MCP servers.
  • We list the data a worker sends during a run, including file contents, terminal output, diffs, screenshots and routing metadata.
  • Engagements are fixed-scope, with scope and deliverables agreed in writing before any work starts.

How we build

  • We plan worker placement, outbound HTTPS allowlists to Cursor's API hosts, and the absence of inbound ports in your network design.
  • We set up worker pools and secret handling so environment-scoped and Build Secrets stay off the machines, and review any Secret sync opt-in.
  • We test the deployment against the controls your security team defines, and record the results as evidence for review.

How we hand over

  • We document the architecture, network flows, worker inventory and the data categories that leave your network.
  • We deliver a cost and operating model covering the machines or cluster you pay for and operate, alongside model usage.
  • We prepare a handover package your security, compliance and procurement reviewers can check against their own requirements.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • We can repeat worker and network checks when Cursor changes its self-hosted documentation, plan limits or advisories.
  • We help you confirm worker limits and plan requirements with Cursor before you size a larger deployment.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.