---
url: /apps/qoder.md
---

# Qoder

[Qoder](https://qoder.com/) 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.

Chat modes are `agent`, `chat`, `ask` (an alias for chat), and `experts` (requires Experts enabled). Set `isNewChat: false` to prefill the current chat. Current Quest documentation lists `LocalAgent` and `LocalWorktree`; `RemoteAgent` is retained for compatibility.

### Open IDE

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'open' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}open()
```

### Create Chat

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'createChat' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}createChat({
  text: 'Hello, Qoder!',
  mode: 'chat',
  isNewChat: false,
  openInNewWindow: true,
})
```

### Create Quest

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'createQuest' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}createQuest({
  text: 'You are a development expert.',
  agentClass: 'LocalAgent',
})
```

### Create Rule

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'createRule' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}createRule({
  name: 'my_rule',
  text: 'You are a development expert.',
})
```

### Install STDIO MCP Server

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'installMCP' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}installMCP({
  name: 'server-everything',
  type: 'stdio',
  command: 'npx',
  args: ['-y', '@modelcontextprotocol/server-everything'],
})
```

### Install Streamable HTTP MCP Server

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'installMCP' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}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

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'installMCP' : 'qoder' }} } from '{{ importPath }}'

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

### Open Extension

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'openExtension' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}openExtension({
  id: 'esbenp.prettier-vscode',
})
```

### Open File

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'openFile' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}openFile({
  path: '{{ appStore.isWindows ? 'C:\Windows\System32\drivers\etc\hosts' : '/etc/hosts' }}',
  line: 1,
  column: 2,
  openInNewWindow: true,
})
```

### Open Folder

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'openFolder' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}openFolder({
  path: '{{ appStore.isWindows ? 'C:\Windows\System32\drivers\etc' : '/etc' }}',
  openInNewWindow: true,
})
```

### Open Remote

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'openRemote' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}openRemote({
  type: 'ssh-remote',
  host: 'root@172.18.105.209:22',
  path: '/code/my-project',
})
```

### Clone Project

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'cloneProject' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}cloneProject({
  repo: 'https://github.com/zhensherlock/protocol-launcher',
})
```

### Open Settings

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'openSettings' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}openSettings({
  path: 'terminal.integrated.suggest.enabled',
})
```

### Create Command

Import a custom command after confirmation in Qoder. Names use lowercase letters, numbers, hyphens, and underscores. Optional description and scope (user or project) are supported.

```ts-vue [{{currentMethod}}]
import { {{ currentMethod === 'On-Demand' ? 'createCommand' : 'qoder' }} } from '{{ importPath }}'

const url = {{currentMethod === 'On-Demand' ? '' : 'qoder.'}}createCommand({
  name: 'review',
  text: 'Review the changes',
  description: 'Review pull request',
  scope: 'project'
})
```

## Official Documentation

* [URL scheme documentation](https://docs.qoder.com/user-guide/deeplink)
