Skip to content

Commit 1fe3c36

Browse files
authored
Fix deep link in doc (#8276)
1 parent cb0f757 commit 1fe3c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/copilot/chat/mcp-servers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ code --add-mcp "{\"name\":\"my-server\",\"command\": \"uvx\",\"args\": [\"mcp-se
227227
VS Code also includes a URL handler that you can use to install an MCP server. To form the URL, construct an `obj` object in the same format as you would provide to `--add-mcp`, and then create the link by using the following logic:
228228

229229
```typescript
230-
// For Insiders, use `code-insiders` instead of `code`
231-
const link = `code:mcp/install?${encodeURIComponent(JSON.stringify(obj))`;
230+
// For Insiders, use `vscode-insiders` instead of `code`
231+
const link = `vscode:mcp/install?${encodeURIComponent(JSON.stringify(obj))`;
232232
```
233233
234234
This link can be used in a browser, or opened on the command line, for example via `xdg-open $LINK` on Linux.

0 commit comments

Comments
 (0)