URL Format
| Component | Description | Example |
|---|---|---|
scheme | Protocol | qoder |
host | Deeplink handler identifier | aicoding.aicoding-deeplink |
path | Action path | /chat, /quest, /rule, /mcp/add |
parameters | URL query parameters | text=hello&mode=agent |
Available Deeplink Types
| Path | Description | Login Required |
|---|---|---|
/chat | Create AI Chat | Yes |
/quest | Create Quest task | Yes |
/rule | Create rule | No |
/mcp/add | Add MCP server | No |
Create AI Chat /chat
Share prompts that can be directly used in chat. When clicking a chat deeplink, the IDE opens and pre-fills the chat input with the specified content.URL Format
Parameters
| Parameter | Required | Description |
|---|---|---|
text | Yes | The prompt content to pre-fill |
mode | No | Chat mode: agent or ask (default: user’s current mode) |
Example
Generate Link Code
- TypeScript
- Python
Create Quest Task /quest
Share Quest tasks that enable AI to autonomously complete complex development tasks. Quest mode allows AI to plan, execute, and iterate on tasks with minimal human intervention.URL Format
Parameters
| Parameter | Required | Description |
|---|---|---|
text | Yes | Task description |
agentClass | No | Execution mode: LocalAgent (default), LocalWorktree, or RemoteAgent |
Execution Modes
| Mode | Description |
|---|---|
LocalAgent | Execute in current workspace |
LocalWorktree | Execute in isolated git worktree |
RemoteAgent | Execute on remote server |
Example
Generate Link Code
- TypeScript
- Python
Create Rule /rule
Share rules to guide AI behavior. Rules can define coding standards, project conventions, or specific instructions for AI responses.URL Format
Parameters
| Parameter | Required | Description |
|---|---|---|
name | Yes | Rule name (used as filename) |
text | Yes | Rule content |
Example
Generate Link Code
- TypeScript
- Python
Add MCP Server /mcp/add
Share MCP (Model Context Protocol) server configurations. MCP servers extend AI capabilities by providing additional tools and context sources.URL Format
Parameters
| Parameter | Required | Description |
|---|---|---|
name | Yes | MCP server name |
config | Yes | Base64 encoded MCP server JSON configuration |
Example
Generate Link Code
MCP server JSON configuration encoding Process:- Create the configuration JSON object
- Serialize with
JSON.stringify() - URL encode with
encodeURIComponent() - Base64 encode with
btoa() - URL encode the result with
encodeURIComponent()
- TypeScript
- Python
Security Considerations
Important: Always review deeplink content before sharing or clicking.
- Never include sensitive data: Do not embed API keys, passwords, or proprietary code in deeplinks
- Verify the source: Only click deeplinks from trusted sources
- Review before confirming: The IDE always shows a confirmation dialog - carefully review the content before proceeding
- No automatic execution: Deeplinks never execute automatically; user confirmation is always required
Troubleshooting
| Issue | Possible Cause | Solution |
|---|---|---|
| ”Unregistered deeplink path” | Unsupported deeplink path | Check if the path is supported and ensure Qoder version is 0.2.21 or above |
| ”Missing required parameter” | Parameter not provided | Check that all required parameters are included in the URL |
| ”Invalid JSON config” | Malformed JSON | Validate JSON structure before encoding |
| ”Quest mode is disabled” | Quest feature not enabled | Enable Quest mode in Settings |
| Login prompt appears | Deeplink requires authentication | Sign in to your account first |
| ”Invalid Base64 encoded config” | Incorrect MCP config encoding | Ensure correct encoding order: JSON → encodeURIComponent → btoa → encodeURIComponent |
URL Length Limits
Deeplink URLs should not exceed 8,000 characters. For longer content, consider:- Shortening the prompt or rule content
- Using external references instead of inline content
- Splitting into multiple deeplinks