Content-Length: 309942 | pFad | http://github.com/ChrisLally/github-mcp-server/commit/9ba0f22326dd512082c0bf80beb65f26b745cf9a

48 Simplify vscode MCP setup with input (#19) · ChrisLally/github-mcp-server@9ba0f22 · GitHub
Skip to content

Commit 9ba0f22

Browse files
authored
Simplify vscode MCP setup with input (github#19)
note: realized this doesn't actually work (microsoft/vscode#243875) but I will fix that today and wait to merge until then
1 parent d4ffeae commit 9ba0f22

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -326,22 +326,26 @@ First of all, install `github-mcp-server` with:
326326
go install ./cmd/github-mcp-server
327327
```
328328
329-
Make sure you:
330-
331-
1. Set your `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable and ensure VS Code has access to it.
332-
2. VS Code Insiders has access to the `github-mcp-server` binary
333-
334-
Go to settings, find the MCP related settings, and set them to:
329+
Run **Preferences: Open User Settings (JSON)**, and create or append to the `mcp` setting:
335330
336331
```json
337332
{
338333
"mcp": {
339-
"inputs": [],
334+
"inputs": [
335+
{
336+
"type": "promptString",
337+
"id": "githubpat",
338+
"description": "GitHub Personal Access Token",
339+
"password": true
340+
}
341+
],
340342
"servers": {
341343
"mcp-github-server": {
342344
"command": "path-to-your/github-mcp-server",
343345
"args": ["stdio"],
344-
"env": {}
346+
"env": {
347+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:githubpat}"
348+
},
345349
}
346350
}
347351
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/ChrisLally/github-mcp-server/commit/9ba0f22326dd512082c0bf80beb65f26b745cf9a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy