Answer: If the Cursor agent can't access your repository, install the GitHub app with repository access, check repository permissions for private repos, and verify your GitHub account permissions. Status: Confirmed Entry: tool/cursor/troubleshooting/agent-cannot-access-repo Revision: 2 Digest: sha256:8c21bb77cf66fcc4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:10:56Z Last changed: 2026-11-19T12:33:00Z (Step 3: — → Verify your GitHub account permissions) Last verified: 2026-11-20T12:38:22Z Next check: 2026-11-21T12:38:22Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Step 1 | Install the GitHub app with repository access | [1] | 2026-11-20 Step 2 | Check repository permissions for private repos | [1] | 2026-11-20 Step 3 | Verify your GitHub account permissions | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/integrations/github.md". https://cursor.com/docs/integrations/github.md Role: primary. Accessed: 2026-11-20T12:38:22Z Quote: "Install the GitHub app with repository access" (Supports: Step 1) Quote: "Check repository permissions for private repos" (Supports: Step 2) Quote: "Verify your GitHub account permissions" (Supports: Step 3) Snapshot SHA-256: 66d06a3f62b06c0fb0127ce6c7ceacd2b2b66bc2a9563b5c2f821946e866812e (captured 2026-11-19T12:32:58Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T12:33:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:38:22Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:38:22Z Last attempt: 2026-11-20T12:38:22Z Notes and limitations: Extracted automatically from a single official source (section "Agent can't access repository"). Related: https://latestn.com/tool/cursor/troubleshooting/api-error-responses What are the common error responses from Cursor APIs? https://latestn.com/tool/cursor/troubleshooting/bitbucket-workspace-not-found Why can't Cursor find my Bitbucket workspace or list my Data Center repositories? https://latestn.com/tool/cursor/troubleshooting/bugbot-not-reviewing-azure-devops-prs Why doesn't Bugbot review my Azure DevOps pull requests in Cursor? https://latestn.com/tool/cursor/settings/view-repo-installed-apps How do I see which apps are installed on a specific Cursor Origin repository? https://latestn.com/tool/cursor/settings/view-sync-status Where can I see the sync status of a Cursor Origin repository mirrored from GitHub? https://latestn.com/tool/cursor/settings/worktrees-json-options What configuration options does Cursor support in worktrees.json? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:33:00Z | changed | Step 3: — → Verify your GitHub account permissions | [1] 2026-11-19T12:33:00Z | changed | Step 2: — → Check repository permissions for private repos | [1] 2026-11-19T12:33:00Z | changed | Step 1: — → Install the GitHub app with repository access | [1] 2026-11-19T12:33:00Z | changed | step 3: Verify your GitHub account permissions → — | [1] 2026-11-19T12:33:00Z | changed | step 2: Check repository permissions for private repos → — | [1] 2026-11-19T12:33:00Z | changed | step 1: Install the GitHub app with repository access → — | [1] 2026-11-13T03:10:56Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/troubleshooting/agent-cannot-access-repo/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/troubleshooting/agent-cannot-access-repo POST: https://latestn.com/dispute/tool/cursor/troubleshooting/agent-cannot-access-repo with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/troubleshooting/agent-cannot-access-repo?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What should I do if the Cursor agent can't access my repository? Revision 2, last verified 2026-11-20T12:38:22Z. https://latestn.com/tool/cursor/troubleshooting/agent-cannot-access-repo (accessed 2026-11-21T09:58:06Z). @misc{LatestN_tool_cursor_troubleshooting_agent_cannot_access_repo_r2, title = {What should I do if the Cursor agent can't access my repository?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/troubleshooting/agent-cannot-access-repo}}, note = {Revision 2; digest sha256:8c21bb77cf66fcc4; last verified 2026-11-20T12:38:22Z; accessed 2026-11-21T09:58:06Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/troubleshooting/agent-cannot-access-repo