Protocol Launcher
cursor://anysphere.cursor-deeplink/mcp/install?name=...
vscode://file/etc/hosts:1:2?windowId=_blank
cherrystudio://mcp/install?config=eyJ0eXBl...
protocol-launcher/cursor
x-apple.systempreferences:com.apple.preference...
deep-link fatigue

别再手写
复杂启动链接

URL Scheme 一旦参数、编码或平台差异出错,用户的一键体验就会断掉

code -> url -> action

TypeScript
描述意图

Protocol Launcher 生成安全、可点击、可分发的一键启动链接

install-mcp.ts
import { installMCP } from 'protocol-launcher/cursor'

const url = installMCP({
  name: 'server-everything',
  type: 'stdio',
  command: 'npx',
  args: [
    '-y',
    '@modelcontextprotocol/server-everything',
  ],
})
Generated launch URL
cursor://anysphere.cursor-deeplink/mcp/install?name=server-everything&config=...
添加到 Cursor launch URL ready
cursor.installMCP()
installMCP({
  name: '企查查企业信息 MCP',
  type: 'streamable_http',
  url: 'https://agent.qcc.com/mcp/company/stream',
  headers: {
    Authorization: 'Bearer REPLACE_WITH_YOUR_TOKEN',
  },
})
Cursor
AI coding workflow

一键安装 MCP 服务

STDIO本地命令启动服务
HTTP / SSE远程服务配置
添加到 Cursor install MCP ready
AI client setup

Cherry Studio
配置也能一键完成

把 MCP、模型提供商、Base URL 和 API Key 打包成可点击入口

Cherry Studio
MCP + Provider import
installMCP()一次导入多个 MCP Servers
installProvider()快速配置模型服务商
Unicode-safe中文配置稳定编码
Encoded payload安全传递结构化配置
cherrystudio://mcp/install?config=eyJtY3BTZXJ2ZXJzIjp7...
VS Code
Editor deep links
openFile()/etc/hosts:1:2 编辑器
openFolder()项目目录一键打开
cloneProject()仓库到工作区
openRemote()SSH 远程开发入口
vscode.openFile()
import { openFile } from 'protocol-launcher/vscode'

const url = openFile({
  path: '/etc/hosts',
  line: 1,
  column: 2,
  openInNewWindow: true,
})

// vscode://file/etc/hosts:1:2?windowId=_blank
broad protocol coverage

一个库,连接现代 App 的一键入口

从 AI 工具到编辑器,再到效率应用和 macOS 工具

Cursor
Cherry Studio
VS Code
CodeBuddy
Thunder
Windsurf
OpenCode
Trae
GitHub
Xcode
Obsidian
Bear
Things
Todoist
Telegram
Steam
macOS
Drafts
Fantastical
Kiro
114
supported applications
0
runtime dependencies
ESM
modern Node and bundlers
TS
typed payload builders
Protocol Launcher
One-click launch URLs for modern apps
get started

把复杂配置,变成一个按钮

$ pnpm add protocol-launcher