Skip to content

Getting Started

Installation

Install protocol-launcher using your preferred package manager:

sh
$ npm install protocol-launcher
sh
$ pnpm add protocol-launcher
sh
$ yarn add protocol-launcher
bash
$ bun add protocol-launcher

Usage

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: