Multi-Account Support with Project-Level Assignment

Feature Request: Multi-Account Support with Project-Level Assignment

Description:
Allow users to add and manage multiple accounts within Cursor—such as a personal account and one provided by their employer. Users should be able to define which account to use for prompts and credit consumption on a per-project basis via a project configuration file.

Use Case:
Many developers use Cursor both personally and professionally. This feature would let them cleanly separate personal usage from work-related usage, ensuring the correct account (and billing) is used for each project.

Proposed Implementation:

  • Enable multiple account management in the user interface.
  • Introduce a project settings file (e.g., cursor.config.json) with a field like "activeAccount": "company" to specify which account to use.

Benefits:

  • Clear separation between personal and professional usage.
  • Better control and visibility over credit consumption.
  • Streamlined workflow for freelancers, contractors, and employees using shared or sponsored accounts.
2 Likes

Hey, appreciate the suggestion here! Not sure how many users switch accounts often on the same system (usually users have one business device and a seperate personal device).

I’ll log this as feedback for the team, but I imagine this will be very low priority unless a lot of people want this!

Hey @danperks
Depends, In my case for example I’m freelancer working with long term contract with companies.
Sometimes they wan’t you tu use their tools (cursor include) meanwhile you have the contract without giving you a business device.

My point would be to have a project config file, so you don’t need to switch manualy between accounts.
Prompts will use the credit of the account defined in the config file if there is one, if not use the “default” account.

While we don’t have direct support for this, there may be a workaround!

When launching Cursor from the terminal, you can add a parameter --user-data-dir, which lets you change where Cursor’s settings and data are stored.

To achieve what you want, you can probably make a shortcut that launches Cursor with a different directory set, which will enable you to be logged into a different account, and also have different settings and project history, independent from the standard directory Cursor would use by default.

Here’s how you can do that on each platform, compliments of ChatGPT (untested):

Windows: Right-click on the desktop, choose New > Shortcut, and enter cursor --user-data-dir="CursorData/Project1" as the command and name the shortcut. Optionally, click Change Icon to customize it.

macOS: Open Automator, create a new Application, and add a Run Shell Script action with /usr/local/bin/cursor --user-data-dir='CursorData/Project1'. Save it to your Applications folder, then drag it to the Dock or desktop for quick access. You can change the icon by right-clicking, selecting Get Info, and pasting a new icon over the preview.

Linux: Create a .desktop file in ~/.local/share/applications with Exec=cursor --user-data-dir='CursorData/Project1'. Make it executable (chmod +x), then it’ll appear in your app launcher or can be placed on the desktop. You can customize the Icon= line to set a specific icon path.

3 Likes

Testing this on MacOS - I get:

The action “Run Shell Script” encountered an error: “-: cursor: command not found”

When I run the command in my terminal, it works fine.
It appears I need to provide the full path to the Application Shortcut for it to work from the Shortcut:

EG:

/usr/local/bin/cursor --user-data-dir='CursorData/Project1'
1 Like

Updated the guide to show this, thanks!

1 Like