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

# GitHub Copilot in VS Code - Connect StackOne

> Use the StackOne MCP server to connect your work systems to GitHub Copilot in VS Code.

For developers using GitHub Copilot in VS Code. Using the terminal? Follow [Copilot CLI User Setup](https://docs.stackone.com/ai-platforms/microsoft/github-copilot/copilot-cli.md) instead.

Recommended Set up with your agentPaste this into Copilot Chat. Copilot walks you through it, one step at a time.

Help me connect StackOne to GitHub Copilot. I use GitHub Copilot in VS Code. Read the setup guide at [https://docs.stackone.com/ai-platforms/setup-guide.md](https://docs.stackone.com/ai-platforms/setup-guide.md) and guide me one step at a time.
Copy

Or follow the steps yourself

## Connect

**1. Add StackOne**

1. Open the Command Palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows or Linux) and run **MCP: Add Server**.

2. Pick **HTTP (HTTP or Server-Sent Events)**, then paste this URL:

   ```text theme={null}
   https://mcp.stackone.com/mcp
   ```

3. Enter `StackOne` as the server ID.

4. Pick **Global**. If VS Code then asks which global configuration to use, pick **Copilot Global**.

   ![VS Code's Add MCP Server picker asking for the global configuration, with Copilot Global highlighted above User Configuration (deprecated)](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/microsoft/github-copilot-vscode-copilot-global.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=cceb213c1cfde0a43c9da69f15eca32e)

Or click [Add StackOne to VS Code](vscode:mcp/install?%7B%22name%22%3A%22StackOne%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.stackone.com%2Fmcp%22%7D), then **Install**.

> [accordion] Blocked by your organization
>
> On Copilot Business or Enterprise, Copilot can use MCP servers like StackOne only if your organization allows them. If StackOne won't add or start, ask your GitHub organization owner. Send them this:
>
> ```text theme={null}
> Can you allow the StackOne MCP server in GitHub Copilot for our organization? It needs the "MCP servers in Copilot" policy turned on, and https://mcp.stackone.com/mcp on our MCP allowlist if we use one.
> ```

**2. Start StackOne**

1. Run **Chat: Open Customizations** from the Command Palette and select **MCP Servers**.

2. Click **Start** next to **StackOne**.

   ![VS Code's Agent Customizations window on MCP Servers, with StackOne listed under User, its Start button and its toggle turned on](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/microsoft/github-copilot-vscode-mcp-servers.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=3fa66763c7155a6e08d1cd1648beec8f)

3. If VS Code asks you to trust the server, click **Trust**. If it asks to let StackOne sign in, click **Allow**.

**3. Sign in and authorize**

1. Sign in to StackOne. In a desktop app or code editor, this opens in your browser.
2. If StackOne asks for a project, pick yours and click **Continue to Accounts**.
3. Pick the work systems GitHub Copilot can use (your Linked Accounts).
4. If you see **Load tools when needed**, leave it on.
5. Click **Authorize**.

![StackOne's Select accounts screen with two Linked Accounts ticked, Load tools when needed on, and the Authorize button](https://mintcdn.com/stackone-60/RgaE_4ZxFuvAQ6gS/images/ai-platforms/oauth-consent-select-accounts.png?fit=max\&auto=format\&n=RgaE_4ZxFuvAQ6gS\&q=85\&s=66ef4eb4d8bf6e5246e5f01ec959c187)

**4. Check it works**

1. In the Chat view, start a new chat with **+**.
2. Pick **Agent** in the agent picker.
3. Send this, and approve the StackOne tool when Copilot asks:

   ```text theme={null}
   Which of my Linked Accounts can you reach through StackOne?
   ```

> [accordion] If something goes wrong
>
> **Blocked by your organization.** On Copilot Business or Enterprise, your GitHub organization owner decides whether Copilot can use MCP servers. Ask them to allow StackOne.
>
> **No StackOne tools in chat.** Pick **Agent** in the agent picker and check that StackOne's toggle is on under **Chat: Open Customizations → MCP Servers**.
>
> **Can't find Chat: Open Customizations.** Your VS Code is older. Run **MCP: List Servers**, pick **StackOne**, then **Start Server**.
>
> **A system you need is missing.** Ask your StackOne admin, or see [Linking Accounts](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md).
>
> **It stopped working.** Sign in again. Run **MCP: List Servers**, pick **StackOne**, then **Restart Server**. Access lasts 90 days from when you clicked **Authorize**.
>
> **It can't do something.** It can do only what your own StackOne access allows. Ask your StackOne admin.
>
> **Copilot cloud agent on GitHub.** It can't use StackOne's sign-in, so StackOne works in VS Code and Copilot CLI only.

> [accordion] Add or change accounts
>
> GitHub Copilot reaches only the Linked Accounts you approved when you connected. To add one you link later, or one someone shares with you afterwards:
>
> **1. Open Connected Apps**
>
> In the StackOne dashboard, go to [**Connected Apps**](https://app.stackone.com/connected_apps).
>
> **2. Edit the connection**
>
> 1. Open the **⋮** menu on the row for GitHub Copilot and select **Edit tool access**.
> 2. Select the Linked Account.
> 3. Click **Save changes**.
>
> To review or revoke the connection, use the same **⋮** menu in **Connected Apps**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.