GitHub for VS Code
io.github.abhishekkumar2021/github
GitHub via MCP: search, repos, issues, PRs, files, notifications. OAuth device flow or token.
client:VS Code
transport:stdio
runtime:npm
Install GitHub in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "github-token",
"description": "GITHUB_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "github-client-id",
"description": "GITHUB_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "github-readonly",
"description": "GITHUB_READONLY",
"password": true
}
],
"servers": {
"github": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/github"
],
"env": {
"GITHUB_TOKEN": "${input:github-token}",
"GITHUB_CLIENT_ID": "${input:github-client-id}",
"GITHUB_READONLY": "${input:github-readonly}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs