Skip to content

Commit b2faa1c

Browse files
AArnottLuluBeatson
andauthored
Clarify Visual Studio version and setup instructions (#787)
Updated Visual Studio requirements and configuration steps for GitHub Copilot integration. Co-authored-by: Lulu <59149422+LuluBeatson@users.noreply.github.com>
1 parent 2af8538 commit b2faa1c

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/installation-guides/install-other-copilot-ides.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,34 @@ Quick setup guide for the GitHub MCP server in GitHub Copilot across different I
1212
1313
## Visual Studio
1414

15-
Requires Visual Studio 2022 version 17.14 or later.
15+
Requires Visual Studio 2022 version 17.14.9 or later.
1616

1717
### Remote Server (Recommended)
1818

1919
The remote GitHub MCP server is hosted by GitHub and provides automatic updates with no local setup required.
2020

2121
#### Configuration
22-
1. Go to **Tools****Options****GitHub****Copilot****MCP Servers**
22+
1. Create an `.mcp.json` file in your solution or %USERPROFILE% directory.
2323
2. Add this configuration:
2424
```json
2525
{
2626
"servers": {
2727
"github": {
28-
"url": "https://api.githubcopilot.com/mcp/",
29-
"authorization_token": "Bearer YOUR_GITHUB_PAT"
28+
"url": "https://api.githubcopilot.com/mcp/"
3029
}
3130
}
3231
}
3332
```
34-
3. Restart Visual Studio
33+
3. Save the file. Wait for CodeLens to update to offer a way to authenticate to the new server, activate that and pick the GitHub account to authenticate with.
34+
4. In the GitHub Copilot Chat window, switch to Agent mode.
35+
5. Activate the tool picker in the Chat window and enable one or more tools from the "github" MCP server.
3536

3637
### Local Server
3738

3839
For users who prefer to run the GitHub MCP server locally. Requires Docker installed and running.
3940

4041
#### Configuration
41-
1. Create an `.mcp.json` file in your solution directory
42+
1. Create an `.mcp.json` file in your solution or %USERPROFILE% directory.
4243
2. Add this configuration:
4344
```json
4445
{
@@ -65,9 +66,11 @@ For users who prefer to run the GitHub MCP server locally. Requires Docker insta
6566
}
6667
}
6768
```
68-
3. Save the file and restart Visual Studio
69+
3. Save the file. Wait for CodeLens to update to offer a way to provide user inputs, activate that and paste in a PAT you generate from https://github.com/settings/tokens.
70+
4. In the GitHub Copilot Chat window, switch to Agent mode.
71+
5. Activate the tool picker in the Chat window and enable one or more tools from the "github" MCP server.
6972

70-
**Documentation:** [Visual Studio MCP Guide](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers?view=vs-2022)
73+
**Documentation:** [Visual Studio MCP Guide](https://learn.microsoft.com/visualstudio/ide/mcp-servers)
7174

7275
---
7376

0 commit comments

Comments
 (0)