Feature Request: Add the ability to switch between multiple GitHub accounts (work/personal) within Cursor IDE without logging out and back in

Current Situation:

  • Users need to completely log out and log back in to switch between different GitHub accounts
  • This is time-consuming and disrupts workflow when needing to switch between work and personal projects
  • Git commit configurations need to be managed separately

Proposed Solution:
Implement a profile switcher that allows:

  • Easy switching between multiple GitHub accounts (similar to VS Code or Chrome profile switching)
  • Maintaining separate settings/configurations for each profile
  • Quick access via command palette or status bar
  • Optional ability to have different profiles open in separate windows

Benefits:

  1. Improved productivity by eliminating logout/login cycle
  2. Better separation of work/personal contexts
  3. Easier management of different GitHub accounts and their associated settings
  4. More professional workflow for developers who maintain both work and personal projects

Similar Features Exist In:

  • VS Code (Account switching)
  • Chrome (Profile switching)
  • IntelliJ IDEs (Account switching)

Would love to hear if others face similar needs and what specific features they’d want in such a profile switcher!

This is actually really important - my manager just informed me that it looks like I haven’t been working for 3 months because I’ve been pushing commits up as my personal Github user since I started using Cursor…!

UPDATE

I was able to fix this by changing my global git username/email config.

yeah came looking for this exact feature so annoying

Joined the forum just to up vote this feature request :slight_smile:

Can someone please tell me how you actually do this so it works!? step by step?

I go to SEttings > Logout > Close Cursor, open again > same organisation selected in Github (hence I can’t find my project). Not a developer here.

Thanks

Hi @Samir_Pekaz thank you for pointing that out and thanks to all for posting. I will ask the team to check.

Is there any update on this feature request? Much needed!

pretty please

+1 .

Faced the same issue but this was my workaround.

If you are on windows > navigate to manage windows credentials > look for git:https://github.com > remove

head back to cursor > open cmd > clone remote repo > auth with target account > remote repo cloned

If you’re on macOS, I vibe coded a zsh script to switch between multiple accounts.

https://raw.githubusercontent.com/xvvvyz/dotfiles/refs/heads/main/link/.bin/cursed

cursed -h for usage.

is there on update with this?

mcp-cursor-profiles
is updated and robust… so i published an actual version 1.0

Need this feature

**Concrete use case: PR preview broken across GitHub orgs**

I work across repos in two different GitHub orgs — each requires a different GitHub account (different SSH keys, different `gh` CLI users). Git operations work fine because SSH config handles per-host identity switching. The `gh` CLI also handles this cleanly with `gh auth switch --user`.

But Cursor’s built-in PR preview uses a single GitHub OAuth session (the Accounts menu), which is completely separate from the SSH/CLI auth paths. When I open a PR from org A’s repo, it works. When I switch to org B’s repo and try to view a PR, the preview shows “We couldn’t load this PR’s file changes” because the OAuth token belongs to the wrong account.

**What I’d like:** Per-repo or per-remote GitHub account mapping for Cursor’s API features (PR preview, review threads, checks). The identity is already deterministic — `git remote get-url origin` tells you which org you’re in. Cursor could infer which GitHub account to use from the remote URL, the same way SSH config does.

**Current workaround:** Sign out and sign back in via the Accounts menu every time I switch repos across orgs. This breaks flow, especially when reviewing PRs from teammates.