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

# VS Code (Copilot)

> Connect VS Code and GitHub Copilot to Modus over MCP using agent mode.

GitHub Copilot in VS Code (v1.102+) can use Modus as an MCP server in **agent
mode**, bringing your organization's scopes and context into Copilot Chat.

<Frame>
  <img src="https://mintcdn.com/modus-c77f86cb/0t9CfZKMweBgcLaa/images/mcp/scope-vscode.png?fit=max&auto=format&n=0t9CfZKMweBgcLaa&q=85&s=513252c763c225e6f4a63d29a3cb4ef6" alt="VS Code (Copilot) tab on a scope's MCP tab with the Add to VS Code install button" width="418" height="251" data-path="images/mcp/scope-vscode.png" />
</Frame>

## One-click install

Open the [scope](/guides/scopes) you want in Modus, go to its **MCP** tab, click
the **VS Code** tab, and use the install button — it opens VS Code and registers
that scope's server for you. (To connect *all* of Modus instead, use
**Account → MCP**.)

## Manual configuration

Copy the scope's URL from its **MCP** tab and add Modus to `.vscode/mcp.json` in
your workspace:

```json theme={null}
{
  "servers": {
    "modus-revenue-analyst": {
      "type": "http",
      "url": "https://mcp.getmodus.com/org/<org>/scope/<scopeId>"
    }
  }
}
```

To connect all of Modus instead, use the org-level URL
(`https://mcp.getmodus.com/modus?toolsets=context`) from **Account → MCP**.

## Sign in and use

<Steps>
  <Step title="Start the server">
    Open Copilot Chat, switch to **Agent** mode, and start the Modus server when
    prompted (or via **MCP: List Servers** in the command palette).
  </Step>

  <Step title="Authorize">
    Your browser opens the Modus sign-in. Approve access and choose your
    organization.
  </Step>

  <Step title="Ask">
    Ask org-grounded questions in agent mode — Copilot discovers your published
    scopes and workflows and routes questions through them.
  </Step>
</Steps>

Need help? Contact us at [support@getmodus.com](mailto:support@getmodus.com).
