Skip to content

Cherry Studio

Cherry Studio is a powerful AI client that supports multiple models and providers. Protocol Launcher allows you to generate deep links to automatically configure MCP Servers and AI Providers in Cherry Studio.

Usage

There are two ways to use this library:

  • On-Demand import from subpaths enables tree-shaking and keeps bundles small.
  • Full Import from the root package is convenient but includes all app modules.

Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.

Select Installation Method

On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.

Install Multiple MCP Servers

On-Demand
ts
import { installMCP } from 'protocol-launcher/cherry-studio'
const url = installMCP({
  mcpServers: {
    'server-everything': {
      name: 'server-everything',
      description:
        'This MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.',
      type: 'stdio',
      command: 'npx',
      args: ['-y', '@modelcontextprotocol/server-everything'],
      registryUrl: 'https://registry.npmmirror.com',
      provider: 'Anthropic',
      providerUrl: 'https://modelcontextprotocol.io/',
      logoUrl: 'https://avatars.githubusercontent.com/u/182288589?s=200&v=4',
    },
    'qcc-company-basic-stream': {
      name: '企查查企业信息 MCP',
      description:
        '企业信息 MCP 提供全面的企业画像分析与企业信息洞察服务,助您快速验证企业  真实性、评估其稳定性和发展轨迹,为您的商业行动提供坚实的数据支撑。',
      type: 'streamableHttp',
      baseUrl: 'https://mcp.qcc.com/basic/stream',
      headers: {
        Authorization: 'M0jtlHI3ASqdMXkC3pBcibrFwmVxsD1QMreZxcSM1LbDNGPE',
      },
      provider: 'QCC',
      providerUrl: 'https://openapi.qcc.com/mcpTools?service=basic',
      logoUrl: 'https://openapi.qcc.com/favicon.ico',
      tags: ['company-basic', '企业信息'],
      timeout: 30,
    },
    'qcc-company-risk-sse': {
      name: '企查查风险信息 MCP',
      description:
        '风险信息 MCP 提供全面的企业风险透视扫描能力,可识别企业在司法、行政、经营等方面的信用与合规隐患,助您精准评估合作对象的可靠性,有效规避商业陷阱与连带风险。',
      type: 'sse',
      baseUrl: 'https://mcp.qcc.com/basic/sse',
      headers: {
        Authorization: 'M0jtlHI3ASqdMXkC3pBcibrFwmVxsD1QMreZxcSM1LbDNGPE',
      },
      provider: 'QCC',
      providerUrl: 'https://openapi.qcc.com/mcpTools?service=risk',
      logoUrl: 'https://openapi.qcc.com/favicon.ico',
      tags: ['company-risk', '风险信息'],
      timeout: 30,
    },
  },
})

Install STDIO MCP Server

On-Demand
ts
import { installMCP } from 'protocol-launcher/cherry-studio'

const url = installMCP({
  name: 'server-everything',
  description: 'This MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.',
  type: 'stdio',
  command: 'npx',
  args: ['-y', '@modelcontextprotocol/server-everything'],
  registryUrl: 'https://registry.npmmirror.com',
  provider: 'Anthropic',
  providerUrl: 'https://modelcontextprotocol.io/',
  logoUrl: 'https://avatars.githubusercontent.com/u/182288589?s=200&v=4',
})

Install Streamable HTTP MCP Server

On-Demand
ts
import { installMCP } from 'protocol-launcher/cherry-studio'

const url = installMCP({
  name: '企查查企业信息 MCP',
  description:
    '企业信息 MCP 提供全面的企业画像分析与企业信息洞察服务,助您快速验证企业真实性、评估其稳定性和发展轨迹,为您的商业行动提供坚实的数据支撑。',
  type: 'streamableHttp',
  baseUrl: 'https://mcp.qcc.com/basic/stream',
  headers: {
    Authorization: 'M0jtlHI3ASqdMXkC3pBcibrFwmVxsD1QMreZxcSM1LbDNGPE',
  },
  provider: 'QCC',
  providerUrl: 'https://openapi.qcc.com/mcpTools?service=basic',
  logoUrl: 'https://openapi.qcc.com/favicon.ico',
  tags: ['company-basic', '企业信息'],
  timeout: 30,
})

Install SSE MCP Server

On-Demand
ts
import { installMCP } from 'protocol-launcher/cherry-studio'

const url = installMCP({
  name: '企查查风险信息 MCP',
  description:
    '风险信息 MCP 提供全面的企业风险透视扫描能力,可识别企业在司法、行政、经营等方面的信用与合规隐患,助您精准评估合作对象的可靠性,有效规避商业陷阱与连带风险。',
  type: 'sse',
  baseUrl: 'https://mcp.qcc.com/basic/sse',
  headers: {
    Authorization: 'M0jtlHI3ASqdMXkC3pBcibrFwmVxsD1QMreZxcSM1LbDNGPE',
  },
  provider: 'QCC',
  providerUrl: 'https://openapi.qcc.com/mcpTools?service=risk',
  logoUrl: 'https://openapi.qcc.com/favicon.ico',
  tags: ['company-risk', '风险信息'],
  timeout: 30,
})

Install Provider

On-Demand
ts
import { installProvider } from 'protocol-launcher/cherry-studio'

const url = installProvider({
  id: 'new-api',
  baseUrl: 'https://open.cherryin.ai',
  apiKey: 'sk-xxxx',
})