Skip to content

besliky/cursor-api-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cursor API Switcher

A minimalist and elegant extension for Cursor IDE to quickly switch between multiple API keys and providers.

Features

  • 🚀 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 (or Cmd+Alt+A on Mac) to quickly open the profile picker.

How to Use

  1. Add Profiles: Run command Cursor API: Add New Profile or go to settings.
  2. Switch: Click the API indicator in the status bar or use the hotkey.
  3. Manage: Edit your profiles in the extension settings.

Settings

  • cursor-api-switcher.profiles: List of your API profiles.
  • cursor-api-switcher.debugMode: Enable if you need to see logs in the console.

Installation

  1. Download the .vsix file.
  2. In Cursor, go to Extensions -> ... -> Install from VSIX.

Building from Source

To build the extension from source:

  1. Install dependencies:

    npm install
  2. Compile TypeScript:

    npm run compile
  3. Package the extension:

    npx @vscode/vsce package

    This will create a .vsix file in the project root (e.g., cursor-api-switcher-1.0.0.vsix).

Development Scripts

  • npm run compile - Compile TypeScript to JavaScript
  • npm run watch - Watch mode for development
  • npm run lint - Run ESLint

Created with ❤️ for Cursor users.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors