Question 1
You are developing an Azure SQL database solution from a locally cloned GitHub repository by using Microsoft Visual Studio Code and GitHub Copilot Chat.
You need to ensure that GitHub Copilot Chat can call the hosted GitHub MCP Server tools by using OAuth. The MCP server configuration must be scoped to the repository.
What should you do in Visual Studio Code?
In Visual Studio Code, repository-scoped MCP server configurations are stored in the .vscode/settings.json file. To ensure GitHub Copilot Chat can call the GitHub MCP Server using OAuth with repository-level scoping, you must add the MCP server configuration to this file. This configuration file is stored in the repository's .vscode directory, making it repository-specific, and allows you to define the OAuth authentication method required for the MCP server connection.



