# GitHub Copilot

GitHub Copilot Chat supports MCP servers across five IDEs. Each IDE has its own entry point but the underlying config is the same: a server URL pointing at the Cakewalk gateway, plus OAuth on first use.

{% hint style="info" %}
GitHub's MCP policy only applies to Copilot Business and Copilot Enterprise subscriptions. If you're on Business or Enterprise and the steps below fail to load, your admin may have restricted MCP access by policy. Free, Pro and Pro+ accounts are not subject to this policy.
{% endhint %}

## VS Code

VS Code's native MCP support and GitHub Copilot share the same `.vscode/mcp.json` file. Follow the [VS Code page](/docs/ai-agent-access/connections-and-integrations/agent-platforms/vs-code.md). Once the cakewalk server is in `.vscode/mcp.json`, Copilot Chat picks it up automatically.

## Visual Studio

1. Open **View**, then **GitHub Copilot Chat**.
2. Select **Agent** from the mode dropdown.
3. Click the tools icon, then the plus icon in the tool picker.
4. In the **Configure MCP server** pop-up, fill in:
   * **Server ID:** `cakewalk`
   * **Type:** HTTP
   * **URL:** `https://mcp-gateway.getcakewalk.io/mcp`
5. Save. In the resulting `mcp.json` entry, click **Auth** from the CodeLens above the server to authenticate. A pop-up walks you through OAuth.

## JetBrains IDEs

1. Open Copilot Chat in your JetBrains IDE.
2. Click the tools icon (**Configure your MCP server**).
3. Select **Add MCP Tools**.
4. Add the Cakewalk gateway URL (`https://mcp-gateway.getcakewalk.io/mcp`).

## Xcode

1. Open Copilot Chat.
2. Click the settings gear icon.
3. Select the **Tools** tab.
4. Click **Browse MCP Servers** and add the Cakewalk gateway.

## Eclipse

1. Click the Copilot icon in the status bar.
2. Select **Open Chat**.
3. Click the **Configure Tools** icon and add the Cakewalk gateway.

## Verifying It Works

In VS Code, open the Command Palette (`⇧⌘P` on Mac, `Ctrl+Shift+P` on Windows or Linux) and run **MCP: List Servers**. The cakewalk server appears. In Visual Studio, JetBrains, Xcode and Eclipse, the Copilot Chat tools picker lists the cakewalk tools once the server connects. In Cakewalk, the GitHub Copilot card on **My Agents** flips to **Connected** after the first agent call.

## Troubleshooting

* **Server appears but tools are empty:** click **Auth** (Visual Studio CodeLens) or run the OAuth flow surfaced in your IDE. Until the OAuth flow completes, the server is registered but cannot list tools.
* **Configuration storage conflicts across IDEs:** Copilot reads from per-IDE locations. A server added in VS Code does not automatically appear in Visual Studio or JetBrains. Add it once per IDE you use.

## Learn more

* [Extending Copilot Chat with MCP](https://docs.github.com/copilot/customizing-copilot/using-model-context-protocol/extending-copilot-chat-with-mcp) from GitHub.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-platforms/github-copilot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
