You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# MCP (Model Context Protocol) configuration for this workspace
2
+
3
+
This workspace includes an `mcp.json` (which configures MCP servers for GitHub Copilot and Microsoft Learn documentation) and recommends a few extensions to enable MCP features in VS Code.
4
+
5
+
## Recommended setup
6
+
7
+
1. Install the recommended extensions (copilot, copilot-labs, C#):
8
+
-`github.copilot`
9
+
-`github.copilot-labs`
10
+
-`ms-dotnettools.csharp`
11
+
12
+
2. Sign into GitHub Copilot and (optionally) Copilot Labs in VS Code.
13
+
14
+
3. When prompted by the MCP client or the Copilot extension, provide a GitHub PAT or App token. This repository has an `mcp.json` that defines an input named `Authorization` that the extension will ask for.
15
+
16
+
4. After installing extensions and signing in, open `Command Palette (Ctrl+Shift+P)` and look for MCP or Copilot commands to connect to the ``io.github.github/github-mcp-server`` server and the ``microsoftdocs/mcp`` server.
17
+
18
+
## Privacy & security
19
+
20
+
- Do not commit secrets (PATs, tokens or credentials). The `mcp.json` file expects the token to be provided via the editor prompt and does not store it in the repository.
21
+
22
+
## Troubleshooting
23
+
24
+
- If you don't see the MCP options in Copilot, update Copilot and Copilot Labs to the latest version.
25
+
- Ensure your GitHub token has appropriate scopes (usually `repo`, `read:org`, or other scopes Copilot/extension documents require).
0 commit comments