Cursor Agents with access to our VPN or environment variables

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

We have an app that relies on a VPN connection, and also another app that needs certain secrets/environment variables to run.

How can we set that our Cursor Background Agent for these apps, can:

  1. Have access to our VPN? Can we run them in the VPC?
  2. Be set to have certain secrets/env vars (like API_SECRET_KEY and API_ACCESS_ID in it’s environment).

That would allow our agents to do a lot things like run certain scripts, run codegen, read API schemas, or run our test suite against some of our APIs, etc.

Steps to Reproduce

n/a

Operating System

MacOS

Version Information

any cursor agent version

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey there!

For secrets / env variables, I think these are the docs you’re searching for. Cloud Agents | Cursor Docs.

Regarding a VPN connection — while in theory nothing should stop you from configuring your VPN on the cloud agent host (or setting variables to go through a proxy) it might be simpler to put the cloud agent IPs on an allow list. You can find the Egress IPs here (Cloud Agent Egress IP Ranges | Cursor Docs)

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.