Feedback

Chat Icon

Building with GitHub Copilot

From Autocomplete to Autonomous Agents

Integrating GitHub Copilot into Your Development Workflow
84%

Integrating with GitHub MCP Server

The GitHub MCP server, as we discussed earlier, allows GitHub Copilot to interact with your GitHub repositories and perform actions like creating issues, pull requests, and more. As a reminder, to configure the MCP server, you need to create the mcp.json file in the .vscode folder of your project and add the necessary configuration:

{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

After starting the server, you'll be able to see new commands in the chat box of GitHub Copilot Chat, such as:

  • list_branches: Lists all branches in the repository.
  • list_commits: Lists recent commits in the repository.
  • create_repository: Creates a new repository.
  • create_issue: Creates a new issue in the repository.
  • and almost anything that the GitHub API supports.

Building with GitHub Copilot

From Autocomplete to Autonomous Agents

Enroll now to unlock all content and receive all future updates for free.