Goal: Extend Copilot with GitHub integration using MCP (Model Context Protocol).
MCP allows Copilot to interact with external tools and services. The GitHub MCP Server lets Copilot access your repositories, issues, pull requests, and more directly from the chat.
- Open the Copilot Chat panel
- Click the wrench icon to open Settings (it opens the Tools tab)
- In the MCP settings:
- Click Browse MCP Servers
- Find and select GitHub from the registry
- Click Install
- Authenticate with GitHub when prompted
- Select the GitHub account/organization you want to grant access to
- In the Tools tab, the Available MCP Tools list will update automatically—confirm the GitHub MCP Server appears there
Once the GitHub MCP Server is installed, try these prompts in Copilot Chat (Ask or Agent mode):
Query 1: List Your Repositories
List all repositories in my GitHub account
Query 2: Check Pull Requests
What are the open pull requests in this project?
More Things You Can Try (Optional):
Show me recent issues in the <repository-name> repositoryGenerate release notes from commits
You've learned how to:
- Install the GitHub MCP Server
- Authenticate and configure MCP tools
- Query repositories and pull requests from Copilot Chat