Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 9 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,9 @@ Add the following JSON block to your IDE MCP settings.
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
}
]
}
}
}
Expand All @@ -194,13 +190,9 @@ Optionally, you can add a similar example (i.e. without the mcp key) to a file c
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
}
]
}
}
}
Expand All @@ -220,13 +212,9 @@ More about using MCP server tools in VS Code's [agent mode documentation](https:
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
]
}
}
}
Expand Down Expand Up @@ -377,16 +365,10 @@ the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data r
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"-e",
"GITHUB_HOST",
"-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}",
"-e", "GITHUB_HOST=https://<your GHES or ghe.com domain name>",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}",
"GITHUB_HOST": "https://<your GHES or ghe.com domain name>"
}
]
}
```

Expand Down