Skip to content

Commit 2e755d4

Browse files
committed
added mcp.json for github
1 parent 09b1ad9 commit 2e755d4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.vscode/mcp.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"servers": {
3+
"github": {
4+
"command": "docker",
5+
"args": [
6+
"run",
7+
"-i",
8+
"--rm",
9+
"-e",
10+
"GITHUB_PERSONAL_ACCESS_TOKEN",
11+
"ghcr.io/github/github-mcp-server"
12+
],
13+
"env": {
14+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
15+
}
16+
}
17+
},
18+
"inputs": [
19+
{
20+
"id": "github_token",
21+
"type": "promptString",
22+
"description": "GitHub Personal Access Token",
23+
"password": true
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)