Learning resourcesReviewed · GitHub

Extending GitHub Copilot Chat with Model Context Protocol (MCP) servers

This GitHub guide helps developers connect Copilot Chat to outside tools and data, but setup depends on the editor, server and account permissions. It covers Model Context Protocol (MCP) configuration in VS Code, Visual Studio, JetBrains IDEs, Xcode and Eclipse, with local and remote server examples.

Researched 13 Nov 2026

In short.

This GitHub guide helps developers add outside tools and data to Copilot Chat, but compatible editor software, server configuration and account permissions are required. It explains registry installation, manual configuration and authentication across five editor environments, with a Fetch walkthrough and additional VS Code features for prompts and resources. Runtime reliability, output quality and time savings are unassessed; prices and specific software licence terms are unknown.

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

Covers the complete captured article identified in Identity, including all five editor variants, account-policy scope, registry preview notice, configuration examples, VS Code prompts and resources, and existing-configuration discovery. The original source address differs from the captured article address; redirect behavior is unknown. Linked pages, server repositories and packages are excluded. No setup, authentication or tool interaction was executed, so runtime behavior and documented outcomes remain unassessed.

The overview

Identity

GitHub publishes this practical documentation article about connecting Model Context Protocol (MCP) servers to Copilot Chat inside development environments. The resource is a setup guide, with separate instructions for VS Code, Visual Studio, JetBrains IDEs, Xcode and Eclipse.

The original source address is [https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp-in-your-ide/extend-copilot-chat-with-mcp]. The captured article identifies its address as [https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/extend-copilot-with-tools-and-context/extend-copilot-chat-with-mcp]. The evidence does not establish the redirect relationship between those addresses.

Practical assessment

The guide is useful for existing Copilot users who need tools or information from outside their editor. Its strongest material is the concrete configuration paths, authentication examples and instructions for finding available server tools.

It assumes working Copilot access. Server runtime installation, detailed credential management and troubleshooting are not fully explained, so beginners may need additional documentation before completing a connection.

Who it suits

Beginners can use the registry instructions and screenshots to understand how a server becomes available in chat. Experienced developers get configuration fields, local-process examples, remote authentication patterns and project-level configuration options.

Team administrators will find an important access dependency: the MCP servers in Copilot policy is disabled by default for organization-provided Copilot Business and Enterprise subscriptions. The article says this policy does not govern MCP access for Copilot Free, Pro, Pro+ or Max.

What the guide covers

The article documents installing listed servers through a registry and defining other servers manually. Examples include fetching web content, connecting to the GitHub MCP server and configuring a local memory server. It also describes creating a custom server for a database or web service, while leaving implementation details to linked documentation.

The VS Code section covers grouping tools into toolsets, invoking server-defined prompts with /mcp.servername.promptname, and adding server data through Add Context followed by MCP Resources. These features are described specifically for VS Code; equivalent support in the other editors is not established.

Using it

Requirements

All editor paths require Copilot access. The stated minimums are VS Code 1.99, Visual Studio 17.14 and Eclipse 2024-09. Visual Studio also requires signing in to GitHub. Xcode requires the GitHub Copilot for Xcode extension. Compatible JetBrains products include IntelliJ IDEA, PyCharm, Rider and WebStorm; minimum JetBrains and Xcode versions are not specified.

The local examples invoke uvx, npx or Docker, so the corresponding executable must be available for that example. Installation steps and runtime versions are unspecified. Remote examples require the relevant service credentials or OAuth authorization, and applicable Business or Enterprise accounts require the MCP policy to be enabled.

How it works

MCP defines how applications share context with large language models. In the documented workflow, the editor connects to a configured server, discovers its tools and makes them available to Copilot Chat. Servers can also expose reusable prompts and data resources.

Local servers run as processes on the user's machine and can access local resources. Remote servers are hosted elsewhere and use a service address and authentication. The Visual Studio example uses OAuth; the JetBrains, Xcode and Eclipse remote examples place a personal access token in an Authorization header. The article does not establish identical authentication support across all editors.

Setup paths

In VS Code, the registry route starts in Extensions: search for @mcp followed by the server name, install it, review the trust prompt, and inspect configured entries using MCP: List Servers. Manual configuration uses .vscode/mcp.json for a project or settings.json for personal configuration across workspaces. The article recommends one location per server because duplicate definitions may cause conflicts.

Visual Studio adds a server through the Agent-mode tool picker and its plus button, with an Auth control for the OAuth example. JetBrains uses Add MCP Tools to edit mcp.json. Xcode provides MCP settings and Edit Config. Eclipse exposes Server Configurations through its tools or MCP preferences. JetBrains, Xcode and Eclipse also have registry installation instructions.

For existing Claude Desktop configurations, the VS Code section documents setting chat.mcp.discovery.enabled to true in settings.json. Discovery and compatibility with any particular existing configuration remain unassessed.

Documented example

The VS Code walkthrough defines a fetch server with command uvx and argument mcp-server-fetch. It then starts the server, selects Agent mode and asks Copilot to fetch [https://github.com/github/docs]. The article describes page details appearing in chat after any requested confirmation. No actual response, latency or success rate is established.

A separate Visual Studio example connects to the remote GitHub MCP endpoint at [https://api.githubcopilot.com/mcp/] and authenticates through OAuth. Its local alternative invokes the GitHub MCP server through Docker and supplies GITHUB_PERSONAL_ACCESS_TOKEN as an environment variable.

Assessment & evidence

Limits and caveats

Registry installation covers only listed servers; other servers need manual configuration. The article explicitly labels the GitHub MCP Registry as public preview and subject to change. It supplies no exhaustive compatibility matrix for servers, authentication methods and editor versions.

The Fetch sample contains comments despite its JSON label, and its promptString input has no demonstrated reference from the displayed server command. Acceptance of that exact sample by a specific editor version is unassessed.

Personal access tokens appear directly in several configuration examples, while project configuration can be shared. Credential storage, data retention and isolation guarantees are not explained. A server running locally does not, by itself, establish that the complete Copilot interaction stays on the machine.

Why it may fit

The practical value is connecting an existing Copilot workflow to information or operations exposed by a chosen server. Project configuration may help teams share connection definitions, and VS Code toolsets provide a documented way to manage related tools.

Those features support considering the guide when external context is a recurring need. The article provides no measured evidence that MCP improves coding accuracy, reduces task time or reliably chooses the correct tool.

Other documented approaches

For supported services, the article describes GitHub-verified connectors under Customizations in the Agents window. It says users can authorize a service once and reuse the connection across supported Copilot surfaces. The supported-service list and detailed connector behavior are not included.

Within the MCP approach, the documented choices are registry installation or manual configuration, and locally launched or remotely hosted servers. The article provides no comparative performance, cost or privacy assessment of these choices or other assistants.

Evidence and confidence

GitHub Docs directly supports the stated editor requirements, configuration paths and intended interaction steps. The article includes screenshots and configuration samples, but no execution logs, benchmark measurements or observed results for the examples.

No configuration or server was executed. Connection success, authentication behavior, permission enforcement and response quality remain unassessed. Linked documentation and repositories do not establish additional facts about their contents.

Access & freshness

Costs

The article provides no prices for Copilot plans, MCP usage, connected services or server hosting. It requires Copilot access but does not calculate usage allowances or charges for a particular workload. Total cost is unknown.

Rights and licences

The footer describes GitHub Docs as open source and links to the article's source file. The captured page does not supply a specific licence or redistribution conditions.

It also does not establish the licences for Copilot or the illustrated server packages and container image. Describing MCP as an open standard does not establish the licensing terms of those implementations.

Freshness

The article was captured on 13 November 2026. It does not state an article publication or last-update date. The sample server packages and container image have no pinned versions or image digest.

The registry's public-preview notice makes its installation experience subject to change. That notice applies to the registry and does not establish that every documented MCP feature is in preview.

Suggested next steps

Choose the section for your editor, confirm its stated requirements and check whether your account needs administrator enablement. Then choose one server that provides a specific tool or data source you need, and review its runtime and authentication requirements before configuring it.

For a first connection, inspect the available tools and use a narrow request such as fetching a public page. Review server trust and requested permissions, keep real tokens out of shared project files, and confirm service charges separately. Successful installation alone would not establish the quality or suitability of the resulting answers.

Evidence for this report

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