Getting Started
Installation
Install protocol-launcher using your preferred package manager:
sh
$ npm install protocol-launchersh
$ pnpm add protocol-launchersh
$ yarn add protocol-launcherbash
$ bun add protocol-launcherUsage
Tree Shaking (Recommended)
To minimize bundle size, import specific modules directly:
typescript
// Only imports Cherry Studio related code
import { installMCP, installProvider } from 'protocol-launcher/cherry-studio'typescript
// Only imports Cursor related code
import { installMCP } from 'protocol-launcher/cursor'Full Import
You can also import everything from the root package, but this will include all application modules and does not support tree-shaking:
typescript
import { cherryStudio, cursor } from 'protocol-launcher'For detailed usage instructions for each application, please refer to their respective guides: