A minimalist and elegant extension for Cursor IDE to quickly switch between multiple API keys and providers.
- 🚀 Quick Switch: Switch between multiple API profiles directly from the status bar.
- 🎨 Minimalist UI: Clean status bar indicator showing the active profile.
- 🤫 Silent Operation: No console noise unless debug mode is enabled.
- 🔑 Multi-Profile Support: Store and manage multiple API keys (OpenAI, Anthropic, etc.).
- ⌨️ Hotkeys: Use
Ctrl+Alt+A(orCmd+Alt+Aon Mac) to quickly open the profile picker.
- Add Profiles: Run command
Cursor API: Add New Profileor go to settings. - Switch: Click the API indicator in the status bar or use the hotkey.
- Manage: Edit your profiles in the extension settings.
cursor-api-switcher.profiles: List of your API profiles.cursor-api-switcher.debugMode: Enable if you need to see logs in the console.
- Download the
.vsixfile. - In Cursor, go to Extensions ->
...-> Install from VSIX.
To build the extension from source:
-
Install dependencies:
npm install
-
Compile TypeScript:
npm run compile
-
Package the extension:
npx @vscode/vsce package
This will create a
.vsixfile in the project root (e.g.,cursor-api-switcher-1.0.0.vsix).
npm run compile- Compile TypeScript to JavaScriptnpm run watch- Watch mode for developmentnpm run lint- Run ESLint
Created with ❤️ for Cursor users.