Skip to content

Qoder ​

Qoder is an agentic coding platform designed for real software development. It seamlessly integrates enhanced context engineering with intelligent agents to gain a comprehensive understanding of your codebase and systematically tackles software development tasks. Protocol Launcher allows you to generate deep links to open and configure resources in Qoder.

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.

Open IDE ​

On-Demand
ts
import { open } from 'protocol-launcher/qoder'

const url = open()

Create Chat ​

On-Demand
ts
import { createChat } from 'protocol-launcher/qoder'

const url = createChat({
  text: 'Hello, Qoder!',
  mode: 'agent',
  openInNewWindow: true,
})

Create Quest ​

On-Demand
ts
import { createQuest } from 'protocol-launcher/qoder'

const url = createQuest({
  text: 'You are a development expert.',
  agentClass: 'LocalAgent',
})

Create Rule ​

On-Demand
ts
import { createRule } from 'protocol-launcher/qoder'

const url = createRule({
  name: 'my_rule',
  text: 'You are a development expert.',
})

Install STDIO MCP Server ​

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

const url = installMCP({
  name: 'server-everything',
  type: 'stdio',
  command: 'npx',
  args: ['-y', '@modelcontextprotocol/server-everything'],
})

Install Streamable HTTP MCP Server ​

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

const url = installMCP({
  name: '企查查企业信息 MCP',
  type: 'streamable_http',
  url: 'https://agent.qcc.com/mcp/company/stream',
  headers: {
    Authorization: 'Bearer REPLACE_WITH_YOUR_TOKEN',
  },
})

Install SSE MCP Server ​

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

const url = installMCP({
  name: '企查查风险信息 MCP',
  type: 'sse',
  url: 'https://mcp.qcc.com/basic/sse',
  headers: {
    Authorization: 'Bearer REPLACE_WITH_YOUR_TOKEN',
  },
})

Open Extension ​

On-Demand
ts
import { openExtension } from 'protocol-launcher/qoder'

const url = openExtension({
  id: 'esbenp.prettier-vscode',
})

Open File ​

On-Demand
ts
import { openFile } from 'protocol-launcher/qoder'

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

Open Folder ​

On-Demand
ts
import { openFolder } from 'protocol-launcher/qoder'

const url = openFolder({
  path: '/etc',
  openInNewWindow: true,
})

Open Remote ​

On-Demand
ts
import { openRemote } from 'protocol-launcher/qoder'

const url = openRemote({
  type: 'ssh-remote',
  host: 'root@172.18.105.209:22',
  path: '/code/my-project',
})

Clone Project ​

On-Demand
ts
import { cloneProject } from 'protocol-launcher/qoder'

const url = cloneProject({
  repo: 'https://github.com/zhensherlock/protocol-launcher',
})

Open Settings ​

On-Demand
ts
import { openSettings } from 'protocol-launcher/qoder'

const url = openSettings({
  path: 'terminal.integrated.suggest.enabled',
})