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.
| Capability | Plan or edition | Built in or paid | Outside component needed |
|---|---|---|---|
| Self-hosted machines (individual or team connection) | Individual and team connections, per the self-hosted machines documentation | Confirm whether the plan that includes it is listed as paid or included | Your own machines or cluster running the worker |
| Team Pools | Enterprise only, per the Team Pools page | Paid, Enterprise custom pricing as of November 2026 | Pool workers hosted by you |
| Worker limit per user | Self-hosted machines: up to 10,000 workers per user or team | Confirm limits per plan with Cursor | Compute capacity you operate |
| Worker limit per user and per team (Team Pools) | Up to 200 workers per user and 1,000 per team | Enterprise only | Compute capacity you operate |
| Outbound HTTPS to Cursor API hosts only | Worker requirement on all self-hosted options | Not a licensed feature | Firewall rules allowing outbound HTTPS, no inbound ports or VPN |
| Environment-scoped secrets and Build Secrets | Never reach a worker | Not configurable for workers | Keep secrets in your own vault if the agent needs them |
| Secret sync (team and user secrets to pool workers) | Opt-in only, per worker pool | Not a licensed feature | Decision by each pool worker owner |
| Customer-operated compute | Required for any self-hosted worker | Paid to you or your infrastructure provider, not to Cursor | Cloud accounts, data center hosts or cluster operations |
| Cursor-hosted agent loop and inference | Cursor cloud, with model subprocessors | Included in Cursor plan and model usage | None, 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 docsUser 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 docsSecret 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.
A single team on Enterprise can connect self-hosted machines or a team pool, subject to the limits in Cursor's documentation. The 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, both as of November 2026. A single team usually sits well within these caps, but the documentation directs larger deployments to contact Cursor.
- Worker placement: Workers run file edits, terminal commands, computer-use tools and local MCP servers on your hardware.
- Network: Workers need only outbound HTTPS to Cursor's API hosts, with no inbound ports, public IPs or VPN tunnels.
- Secrets: 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.
- Data in transit: During a run, the worker sends file contents, terminal output, diffs, screenshots and local MCP results to Cursor.
- Admin scope: Confirm which settings a team admin can lock centrally on Enterprise.
For a single team, confirm the worker count you expect, the secret sync policy and which team members are allowed to opt in.
Many teams raise the questions of worker allocation, per-user limits and who is accountable for the machines. The Team Pools page states up to 200 workers per user and 1,000 per team, and the self-hosted machines page states up to 10,000 workers per user or team, as of November 2026. Your effective ceiling depends on how you divide capacity across teams and users, so calculate it against your own headcount rather than the maximums.
- Capacity planning: Map expected concurrent runs per team and per user against the published caps.
- Ownership: The customer pays for and operates the machines or cluster, so assign a platform owner for each pool.
- Scale requests: Deployments above the documented figures require a conversation with Cursor, so start that early.
- Policy consistency: Use Enterprise admin controls and access settings to keep the same rules across teams.
- Cost drivers: Machine count, hours of use and model usage all recur and grow with adoption.
Ask Cursor for written confirmation of the limits that apply to your tenant and of the process for scale increases.
When code or prompts contain regulated data, the key question is what leaves your network. Cursor's security page states that Privacy Mode can be enabled by a user or by a team or enterprise admin, and that Cursor will not train on customer data when it is enabled. Self-hosted workers keep file edits and terminal commands on your machines, but the worker still sends file contents, terminal output, diffs and screenshots to Cursor during a run, and Cursor's trust center lists AWS as cloud subprocessor and several model providers for inference.
- Data in the run: Treat file contents and terminal output sent by the worker as data that leaves your network.
- Privacy Mode: Confirm that Privacy Mode is enforced by an admin for all seats handling regulated data.
- Agent loop: Confirm with Cursor what reaches the agent loop and inference, and how long it is retained.
- Subprocessors: Review the subprocessor list in the trust center against your data processing terms.
- Certifications: Request the SOC 2 Type II report and ISO/IEC 27001:2022 certificate from Cursor's trust center.
Do not approve regulated workloads until a written data flow from Cursor confirms these points.
An air-gapped or fully isolated network cannot satisfy the self-hosted model as described in the sources. The documentation states that Cursor runs the agent loop, inference and planning, and the worker requires outbound HTTPS to Cursor's API hosts. The sources do not describe an offline or disconnected deployment, so do not assume full isolation is available.
- Required connectivity: Workers need outbound HTTPS to Cursor's API hosts, which conflicts with a no-egress design.
- Cloud components: The agent loop, inference and planning run in Cursor's cloud.
- Model providers: Inference subprocessors include Anthropic and OpenAI, which also receive run data.
- Alternatives: If isolation is required, evaluate tools whose deployment options you have confirmed in writing.
- Written answer: Ask Cursor whether any disconnected or air-gapped option exists, and what it omits.
Do not treat this as an approved configuration until Cursor confirms the network design in writing.
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.
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.
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.
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.
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.
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.
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.
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 item | Where it comes from | What it proves |
|---|---|---|
| Plan and pool entitlement | Cursor pricing page and Team Pools page, as of November 2026 | Team Pools require Enterprise. Confirm in writing which plan and worker limits apply to your organization before pilots begin. |
| Self-hosted machines documentation | Cursor self-hosted machines page | Which 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 hosts | Self-hosted machines page and your firewall or proxy logs from a test worker | Workers 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 configuration | Self-hosted machines documentation and your Cursor admin settings | Environment-scoped secrets and Build Secrets never reach a worker. Test that a planted value is absent from the worker environment. |
| Secret sync decisions | Team Pools documentation and a signed internal decision record | Pool 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 inventory | Worker data description in the self-hosted machines documentation, checked against your own test traffic | Workers 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 list | Cursor Trust Center at trust.cursor.com | Lists 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 reports | Cursor Trust Center, available on request | Independent 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 ownership | Self-hosted machines documentation | You 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.

