Skip to main content

Utilisation du serveur MCP GitHub

Découvrez comment utiliser le serveur GitHub Model Context Protocol (MCP) pour interagir avec les référentiels, les tickets, les demandes de tirage (pull) et d'autres fonctionnalités GitHub, directement à partir de Discussion avec Copilot.

The GitHub MCP server is available to all GitHub users regardless of plan type. However, specific tools within the MCP server inherit the same access requirements as their corresponding GitHub features. If a feature requires a paid GitHub or Copilot license, the equivalent MCP tool will require the same subscription. For example, tools that interact with Copilot Coding Agent require a paid Copilot license.

About the GitHub MCP server

The GitHub MCP server is a Model Context Protocol (MCP) server provided and maintained by GitHub. MCP allows you to integrate AI capabilities with other tools and services, enhancing your development experience by providing context-aware AI assistance.

For a full introduction to the GitHub MCP server and an overview of MCP, see About Model Context Protocol (MCP).

Prerequisites

  • A GitHub account.
  • Visual Studio Code.
  • The GitHub MCP server, configured in your editor. See Setting up the GitHub MCP Server.
  • If you are a member of an organization or enterprise with a Copilot Business or Copilot Enterprise plan, the "MCP servers in Copilot" policy must be enabled in order to use MCP with Copilot.