Learning resourcesReviewed · GitHub

Setting up the GitHub MCP Server

This GitHub guide helps developers connect Copilot in their editor to GitHub tools, but usable access depends on permissions, organization policies and feature subscriptions. It covers five editor families, remote and local hosting choices, and sign-in or personal access token authentication.

Researched 13 Nov 2026

In short.

This GitHub setup guide is for developers connecting Copilot in their editor to GitHub tools, with access constrained by permissions, organization policies and feature subscriptions. It documents Visual Studio Code, Visual Studio, JetBrains IDEs, Xcode and Eclipse. GitHub recommends its hosted server for most VS Code users and points to local installation guidance for customization or specific security requirements. The page explains configuration and authentication, but does not establish tool reliability, task success or total cost.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied documentation page, including all five editor variants and its subscription, authentication, trust and enterprise notices. The original requested address is [https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp-in-your-ide/set-up-the-github-mcp-server]; the captured page identifies its address as [https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/extend-copilot-with-tools-and-context/set-up-the-github-mcp-server]. The cause of that path difference is unknown. Linked pages, repositories, license texts and local installation instructions are excluded. Nothing was installed or run; successful authentication, tool calls and runtime compatibility remain unassessed.

The overview

identity

Setting up the GitHub MCP Server is an official GitHub Docs how-to article. It teaches editor configuration for the Model Context Protocol server that GitHub identifies as provided and maintained by GitHub.

The resource is the setup guide itself. The server repository is linked at [https://github.com/github/github-mcp-server], but its contents are outside this article's scope.

assessment

The guide is useful when the immediate goal is to establish an editor connection to the GitHub MCP server. It provides concrete interface steps, configuration fields and authentication restrictions.

Its coverage is strongest for remote setup. Local deployment, enterprise configuration and toolset controls are delegated to linked documentation. It offers no measured evidence of productivity gains or successful completion of GitHub tasks.

users

The intended readers are developers using Visual Studio Code, Visual Studio, a compatible JetBrains IDE, Xcode or Eclipse. Beginners get a gallery installation path for VS Code and interface instructions for the other editors. Experienced developers get configuration details and an explanation of authentication scopes.

Developers in managed organizations also need to understand their administrators' MCP and authentication policies. Readers seeking a complete local deployment tutorial or a tool-by-tool reference will need additional documentation.

capabilities

The article documents installation through VS Code's MCP Registry view and remote OAuth or personal access token configuration for Visual Studio, JetBrains IDEs, Xcode and Eclipse. It distinguishes GitHub-hosted remote operation from hosting the server on your own machine.

It points readers to read-only or read/write toolset configuration and additional enterprise settings. It does not enumerate the available GitHub tools, their required permissions or their returned data.

Using it

requirements

The VS Code prerequisites list a GitHub account and Visual Studio Code. The other four editor sections explicitly require access to Copilot. Visual Studio requires version 17.14 or later; Eclipse requires version 2024-09 or later. JetBrains and Eclipse require the latest Copilot extension, and Xcode requires GitHub Copilot for Xcode. Visual Studio, JetBrains and Eclipse also explicitly require GitHub sign-in.

Compatible JetBrains products listed include IntelliJ IDEA, Android Studio, PyCharm, Rider and WebStorm, among others. No minimum JetBrains, VS Code or Xcode version is specified.

For members of organizations or enterprises using Copilot Business or Copilot Enterprise, the MCP servers in Copilot policy must be enabled. GitHub Enterprise Server and Enterprise Cloud with data residency require additional configuration.

mechanism

MCP connects AI assistance with external tools and services. The configuration examples for Visual Studio, JetBrains IDEs, Xcode and Eclipse point to [https://api.githubcopilot.com/mcp/]. The VS Code MCP Registry installation route does not show which endpoint it uses. The local option hosts the server on the user's machine.

OAuth uses a GitHub sign-in approval flow, with access limited to approved scopes, meaning permission boundaries. A personal access token, or PAT, grants access within the token's scopes. Organization restrictions can further limit either method. The remote OAuth paths do not require creating a PAT or installing local server software.

setup

For VS Code, the documented route is to open Extensions, search for @mcp github, select the GitHub MCP server, choose Install and confirm the server trust prompt. The command palette entry MCP: List Servers should then show it as configured. A listed configuration alone does not demonstrate a successful GitHub operation.

For Visual Studio, open Copilot Chat, select Agent mode and add a server through the tool picker. Use github as the server ID, HTTP/SSE as the type and the documented remote endpoint as the URL. Save the configuration and use Auth above the server entry in mcp.json to sign in.

JetBrains uses Copilot Chat in Agent mode and Add MCP Tools. Xcode uses the Copilot extension's Settings, MCP and Edit Config controls. Eclipse accepts configuration through Configure Tools or GitHub Copilot's MCP preferences, followed by Apply. Their OAuth paths then present GitHub authorization prompts.

example

The OAuth example for JetBrains, Xcode and Eclipse defines a github entry inside servers. It sets type to http and url to [https://api.githubcopilot.com/mcp/]. The editor then handles the GitHub authorization flow.

The PAT examples instead supply an Authorization header through requestInit.headers, with a value consisting of Bearer followed by the user's token. The article does not specify minimum token scopes for a particular task. These are documented configuration examples; their execution and resulting tool behavior have not been assessed.

Assessment & evidence

limitations

Enterprise Managed Users have PAT access disabled by default unless an enterprise administrator enables it. Where OAuth access restrictions apply, the page says each client application's OAuth app must be enabled, with an exception for Visual Studio Code and Visual Studio.

The article does not provide local installation steps, task-specific permission mappings or complete enterprise settings. It also does not establish data retention, offline operation, response accuracy, latency or runtime reliability for either hosting option.

reasoning

Configuration and usable access are separate concerns here. The article states that approved scopes, organization policies and feature subscriptions restrict access. A configured server therefore does not establish that a particular tool will be available for a particular account.

The guide supports choosing a connection method and identifying prerequisites. Judging whether the integration fits a specific task also requires information about that task's tools and permissions, which this page does not supply.

alternatives

The documented hosting choices are GitHub's remote server and a server hosted on your machine. GitHub recommends remote hosting for most VS Code users and local hosting for customization or specific security requirements. Detailed local instructions are linked elsewhere.

For remote authentication, OAuth avoids creating a token manually, while PAT authentication uses a credential with explicitly granted scopes. The article mentions other MCP-compatible editors but supplies no detailed instructions or comparisons for them.

evidence

The evidence is GitHub's setup article at [https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/extend-copilot-with-tools-and-context/set-up-the-github-mcp-server]. It includes all five editor variants, configuration examples, subscription notices and authentication caveats.

These are vendor-documented procedures. The page supplies no benchmark results or demonstrated task outcomes. Installation, authentication and tool execution have not been assessed.

Access & freshness

costs

GitHub states that the MCP server is available to GitHub users on every plan. Individual tools retain the subscription requirements of their underlying GitHub features. The explicit example is interaction with Copilot Cloud Agent, which requires a paid Copilot license.

Availability across plans does not establish zero total cost. The article supplies no subscription prices, separate server pricing, usage charges, quotas or local operating costs. Those amounts and limits are unknown from this page.

rights

The footer describes GitHub Docs as open source and links to the article's source. It does not provide a specific content license or the conditions for redistribution. The footer also says "GitHub Inc. © 2026" and links to GitHub's Terms of Service at [https://docs.github.com/en/site-policy/github-terms/github-terms-of-service]. The terms text is outside the captured scope.

The selected article also does not state the GitHub MCP server's software license. Permission to redistribute the documentation, configuration examples or server software is not established by this page alone.

freshness

The supplied documentation was captured on 13 November 2026. The article provides no publication or update date and identifies no GitHub MCP server release version.

Its requirement for the latest Copilot extension does not identify an exact extension version. Compatibility and availability after the capture are unknown. The article points readers to the server repository for updates.

actions

Start with the section for your editor and confirm its prerequisites, Copilot access requirements and applicable organization policy. Choose the hosting and authentication method that matches your needs, then review the permissions requested during authorization.

For read-only or read/write tool choices, consult the linked toolset guide at [https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/extend-copilot-with-tools-and-context/configure-toolsets]. Enterprise Server and data residency users should consult the additional configuration guide at [https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/extend-copilot-with-tools-and-context/enterprise-configuration]. Those linked pages are outside this article's assessed scope.

Evidence for this report

selected-page.htmlselected · checked 2026-11-13