Skip to content

Commit ea94ba5

Browse files
committed
fix: update GitHub authorization method to use input prompt for personal access token
1 parent 36ce00b commit ea94ba5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.vscode/mcp.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,16 @@
1818
"type": "http",
1919
"url": "https://api.githubcopilot.com/mcp/",
2020
"headers": {
21-
"Authorization": "Bearer ${env:GITHUB_TOKEN}"
21+
"Authorization": "Bearer ${input:github-pat}"
2222
}
2323
}
2424
},
25-
"inputs": []
25+
"inputs": [
26+
{
27+
"type": "promptString",
28+
"id": "github-pat",
29+
"description": "GitHub Personal Access Token",
30+
"password": true
31+
}
32+
]
2633
}

0 commit comments

Comments
 (0)