Skip to content

Commit f8436ab

Browse files
fuentesjrwilliammartin
authored andcommitted
Add other example config snip
1 parent be22f6e commit f8436ab

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,38 @@ For quick installation, use one of the one-click install buttons at the top of t
2727

2828
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.
2929

30-
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
30+
```json
31+
{
32+
"mcp": {
33+
"inputs": [
34+
{
35+
"type": "promptString",
36+
"id": "github_token",
37+
"description": "GitHub Personal Access Token",
38+
"password": true
39+
}
40+
],
41+
"servers": {
42+
"github": {
43+
"command": "docker",
44+
"args": [
45+
"run",
46+
"-i",
47+
"--rm",
48+
"-e",
49+
"GITHUB_PERSONAL_ACCESS_TOKEN",
50+
"ghcr.io/github/github-mcp-server"
51+
],
52+
"env": {
53+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
54+
}
55+
}
56+
}
57+
}
58+
}
59+
```
60+
61+
Optionally, you can add a similar example (i.e. without the mcp key) to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
3162

3263

3364
```json

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy