Cursor is unable to connect to my Github

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Hi

This is a follow up of my question in another thread and i was asked to create a separate topic.

RequestID: bc-b3ed94e5-60e1-5d36-812e-df88ae2534a1

I am trying to connect Slack to Cursor to Github. Slack to Cursor works fine. And when Cursor tries to talk to my Github, the env setup step fails. I was told by Mohit Jain that the cloud agent’s environment setup is failing because the repository can’t be cloned (a git authentication error).

My github repo is protected and we normally have ip address whitelisted. I tried to look for Cursor ip address to add and i couldnt find any. There was suggestions to add domain but no option on Github to do the same.

I created Github Personal access token and was passing GH_TOKEN as an env variable. That didnt work either. Triggering the agent from Browser view also returns the same issue.

It does seem like a config miss to me and need some guidance on the same.

Thanks
Venkatesh

Operating System

MacOS

Hi Venkatesh, thanks for creating the separate thread. I’ve completed my investigation.

Your GitHub organization has IP allowlisting enabled, which blocks the cloud agent’s outgoing connections. The agent VMs use dynamic IPs that won’t be on your org’s allowlist, so the clone fails at the network level. That’s also why the GH_TOKEN env variable didn’t help — the block happens before authentication.

I’ve enabled git egress proxy routing for your team, which routes cloud agent git traffic through a fixed set of IPs. Please add these three addresses to your GitHub organization’s IP allowlist:

  • 184.73.225.134

  • 3.209.66.12

  • 52.44.113.131

You can do this in GitHub at Organization Settings > Security > IP allow list.

Full details on this setup: Security & Network — Git egress proxy and IP allow list

Once the IPs are added, try running the cloud agent again and it should be able to clone your repo. Let me know if you run into anything else!

Thanks Mohit. That worked. Appreciate the quick response here.