> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Box MCP for GitHub Copilot

> Connect the Box MCP server to GitHub Copilot in VS Code so Copilot can search and use files in Box.

Connect the Box MCP server to GitHub Copilot in VS Code: find it on the [GitHub MCP Registry](https://github.com/mcp), then complete setup with [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) using the flow below.

Copilot acts as the Box user who authorizes the connection. Scopes and Box file permissions still apply. See [permission-aware agent access](/guides/box-mcp/permission-aware-access).

## Prerequisites

* [VS Code](https://code.visualstudio.com/) with [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) installed.

## GitHub MCP Registry

The Box MCP server is listed on GitHub at the [Box MCP server overview page](https://github.com/mcp/box/mcp-server-box-remote). From there you can open the install flow for supported editors and tools (for example VS Code with Copilot) without hunting for the endpoint URL elsewhere.

## Enable Box integration in Box

<Badge color="orange" size="lg">Admin</Badge>

1. Sign in to the [Box Admin Console](https://app.box.com/master).
2. Go to **Integrations** and find **Custom Box MCP Server** either by using the **MCP Category** filter, or by using the search bar at the top of the page.
3. Go to **Configuration** > **Add Integration Credentials** to generate new credentials.
4. In **Redirect URIs**, change the Box redirect URIs to the Redirect URI provided by the external MCP Client.
5. Copy the **Client ID** and **Client Secret** for later use. These are required later for GitHub to authorize the connection.
6. Check the desired **Access scopes**:
   * **Scopes** define the maximum set of actions. Users can only access content they already have permission to view or edit in Box.
7. Click **Save**.

## Enable the integration in VS Code

<Badge color="green" size="lg">User</Badge>

1. Go to the [Box MCP server overview page](https://github.com/mcp/box/mcp-server-box-remote) on GitHub.
2. Click **Install MCP server**.
3. You will be redirected to the VS Code editor. Click **Install** and complete OAuth to grant access to Box.

You may need to manually enter your Client ID and Client Secret. When registering your OAuth application, make sure to include the following redirect URIs:

```sh theme={null}
http://127.0.0.1:33418
https://vscode.dev/redirect
```

## Video walkthrough

<iframe width="100%" height="315" src="https://www.youtube.com/embed/Y1a16jhCVPc" title="Build a working API demo-fast-by connecting GitHub Copilot to the Box MCP Server" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
