Unable to Index my Github Repo(s)

Hi all,

I seem to continuously get this error when attempting to index any of my Github repos. Any suggestions?

Could you open up dev tools (Cmd/Ctrl + Shift + I) and check if there are any errors in the Console tab? That would help us track down what’s going on

Also make sure you can access repo42.cursor.sh - some corporate networks/VPNs can block HTTP/2 which we need for indexing. You can check with:

curl -I --http2 -v https://api2.cursor.sh

More details on network requirements here: Cursor – Common Issues

Hi Dan,

Thank you for getting back to me. HTTP/2 seems fine.

Here is the Console log, with a few PII redactions.

[MCPServics] Starting server initialization workbench.desktop.main.js:1015
[MCPServics] Getting servers: ► Array(0) workbench.desktop.main.js:1015
[MCPServics] Found servers on startup: ► Array(0) workbench.desktop.main.js:1015
[MCPServics] Getting servers: ► Array(0) workbench.desktop.main.js:1015
[MCPServics] Getting servers: ► Array(0) workbench.desktop.main.js:1015
[MCPServics] No connected servers found. Server statuses: workbench.desktop.main.js:1015

ConnectError: [invalid_argument] Keyword search is deprecated
    at _Vt.runInPlaceMutateRequestBeforeSubmit (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at workbench.desktop.main.js:[REDACTED_LINE_NUMBER]
    at workbench.desktop.main.js:[REDACTED_LINE_NUMBER]
    at new Promise (<anonymous>)
    at t.value (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at r.value (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at Xa.runCapabilitiesForProcess (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at async workbench.desktop.main.js:[REDACTED_LINE_NUMBER]
    at async Sn.submitChatMaybeAbortCurrent (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at async Object.ut [as onSubmit] (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
streamResponse @ workbench.desktop.main.js:[REDACTED_LINE_NUMBER]

[composer] Error in AI response: ConnectError: [invalid_argument] Keyword search is deprecated
    at _Vt.runInPlaceMutateRequestBeforeSubmit (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at workbench.desktop.main.js:[REDACTED_LINE_NUMBER]
    at workbench.desktop.main.js:[REDACTED_LINE_NUMBER]
    at new Promise (<anonymous>)
    at t.value (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at r.value (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at Xa.runCapabilitiesForProcess (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at async workbench.desktop.main.js:[REDACTED_LINE_NUMBER]
    at async Sn.submitChatMaybeAbortCurrent (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
    at async Object.ut [as onSubmit] (workbench.desktop.main.js:[REDACTED_LINE_NUMBER])
(anonymous) @ workbench.desktop.main.js:[REDACTED_LINE_NUMBER]

[composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:[REDACTED_LINE_NUMBER]

[Extension Host] Error: spawn docker ENOENT
	at ChildProcess._handle.onexit (node:internal/child_process:[REDACTED_LINE_NUMBER])
	at onErrorNT (node:internal/child_process:[REDACTED_LINE_NUMBER])
	at process.processTicksAndRejections (node:internal/process/task_queues:[REDACTED_LINE_NUMBER])
Jur @ workbench.desktop.main.js:[REDACTED_LINE_NUMBER]

What version of Cursor are you running and what OS are you on?

Sequoia 15.1 and Cursor 0.45.11

Are you trying to access this repo locally or through SSH/dev containers?

Nothing in your logs suggests the cause for this issue, and your platform and version should work fine!

I am using Remote Repositories (Microsoft) and GitHub Repositories (GitHub) extensions to access them remotely.

I am using Remote Repositories (Microsoft) and GitHub Repositories (GitHub) extensions to access them remotely.

Do you have GH CLI installed?

wrap you gh cli directives into the prompt for a .psi1 that will provide

Did you try asking the bot itself:


# github-index.ps1

# Check if GitHub CLI is installed
function Test-GHInstalled {
    try {
        $null = Get-Command gh -ErrorAction Stop
        return $true
    }
    catch {
        Write-Error "GitHub CLI is not installed. Please install it from: https://cli.github.com/"
        return $false
    }
}

# Authenticate and get repository list
function Get-GHRepositories {
    # Check auth status
    $authStatus = gh auth status 2>&1
    if ($LASTEXITCODE -ne 0) {
        Write-Error "Not authenticated with GitHub. Please run: gh auth login"
        return $null
    }

    # Get list of repositories
    $repos = gh repo list --json nameWithOwner,url --limit 100
    return $repos | ConvertFrom-Json
}

# Force index specific repository
function Update-RepoIndex {
    param (
        [Parameter(Mandatory=$true)]
        [string]$RepoPath
    )
    
    # Ensure repo directory exists
    if (-not (Test-Path $RepoPath)) {
        Write-Error "Repository path does not exist: $RepoPath"
        return
    }

    # Force git update
    Push-Location $RepoPath
    try {
        git fetch --all
        git pull --force
        
        # Clear and rebuild any existing index
        if (Test-Path ".git/index") {
            Remove-Item ".git/index" -Force
            git reset --hard
            git clean -fdx
        }
        
        # Force index rebuild
        git update-index --really-refresh
        Write-Host "Repository index rebuilt: $RepoPath"
    }
    catch {
        Write-Error "Failed to update repository: $_"
    }
    finally {
        Pop-Location
    }
}

# Main execution
if (Test-GHInstalled) {
    $repos = Get-GHRepositories
    if ($repos) {
        foreach ($repo in $repos) {
            Write-Host "Processing repository: $($repo.nameWithOwner)"
            $localPath = Join-Path $env:USERPROFILE "source\repos" $repo.nameWithOwner
            Update-RepoIndex -RepoPath $localPath
        }
    }
}

Try this:

claude got new UX where I cant find the publish whole convo, just artifacts…

But, we need the ability for Agent to self configure…

Ive been absent from forum for a moment, so im catching up on where we are in that, though I noticed a lot of AR/AP financial issues popping up (I personally was charged $20/month from OpenAI wihtout receiving the benefit, and then after proving the charges with bank the bank denied my rebuttle given I agreed to pay them for the pro account, aside from the fact I never received pro account…

So this is what I want LegalCursor version for, solving ‘layman legal issues’