<!-- Generated by scripts/generate-llms.mjs from docs/clients/vscode.md. Do not edit. -->

Source: https://qbash.com/docs/clients/vscode

# How to add a remote MCP server to VS Code

To add a remote MCP server to VS Code, run **MCP: Add Server** from the Command Palette, choose HTTP and paste the URL, then start the server from **MCP: List Servers** and sign in.

VS Code gives MCP tools to its agent chat. A server can be global, where every workspace sees it, or live in one workspace's `.vscode/mcp.json`.

:::note[Here from Google? Hi, we make the server in the screenshots]

- qbash runs Tasks, which are Python programs with AI steps, on its own servers, alongside your connected accounts and shared memory folders. Copilot's agent can call all of it as tools.
- You don't need qbash to follow this guide. Any remote MCP server goes in the same `mcp.json`.

[What the qbash server does](https://qbash.com/docs-markdown/mcp-servers/official-mcp-server.md)

:::

## With the install link

[Add qbash to VS Code](https://qbash.com/docs/clients/vscode:mcp/install?%7B%22name%22%3A%22qbash%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.qbash.com%2Fmcp%22%7D)

VS Code opens and asks you to confirm before it adds the server.

## With the Add Server command

1. Open the Command Palette and run **MCP: Add Server**.
2. Choose **HTTP (HTTP or Server-Sent Events)** and enter `https://mcp.qbash.com/mcp`.
3. Enter `qbash` as the server ID.
4. For every workspace, choose **Global**, then **Copilot Global**.

## In mcp.json

For one workspace, add qbash to `.vscode/mcp.json`:

```json
{
  "servers": {
    "qbash": {
      "type": "http",
      "url": "https://mcp.qbash.com/mcp"
    }
  }
}
```

**MCP: Open User Configuration** opens the user-profile `mcp.json`, which takes the same block. VS Code's guided flow labels both of these files deprecated, and they still work.

## Start it and sign in

Run **MCP: List Servers**, select qbash and choose **Start Server**. VS Code may ask you to trust the server, then asks you to sign in and opens the qbash sign-in in your browser. Pick the qbash organization VS Code should use.

## With an access token

For a token in place of the sign-in, add a header that reads it from an input, so VS Code prompts for the token and stores it. Inputs work in `.vscode/mcp.json` and the user-profile `mcp.json`. The Copilot Global file doesn't support them.

```json
{
  "inputs": [
    {"type": "promptString", "id": "qbash-token", "description": "qbash access token", "password": true}
  ],
  "servers": {
    "qbash": {
      "type": "http",
      "url": "https://mcp.qbash.com/mcp",
      "headers": {"Authorization": "Bearer ${input:qbash-token}"}
    }
  }
}
```

The VS Code [MCP server guide](https://code.visualstudio.com/docs/agent-customization/mcp-servers), [server management guide](https://code.visualstudio.com/docs/agents/run/manage-mcp-servers) and [configuration reference](https://code.visualstudio.com/docs/agents/reference/mcp-configuration) cover the other options.

## If your organization manages GitHub Copilot

On Copilot Free, Pro and Pro+, you can add any server. On Copilot Business and Enterprise, two policies decide it:

- **MCP servers in Copilot** must be enabled. Enterprise owners set it under **AI controls**, then **MCP**, and organization owners under **Copilot**, **Policies**, **Features**. Since 22 October 2026 its default follows the enterprise's default for new features, and an explicit **Disabled** stays in place.
- **Restrict MCP access to registry servers** must be **Allow all**, or qbash must be in the organization's MCP registry.

VS Code's own `chat.mcp.access` setting, which an organization can lock by policy, must not be set to none.

Sources: GitHub's [MCP server access docs](https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-mcp-usage/configure-mcp-server-access) and [changelog on global feature defaults](https://github.blog/changelog/2026-10-22-global-default-for-copilot-features-generally-available), and VS Code's [enterprise AI settings](https://code.visualstudio.com/docs/enterprise/ai-settings), checked 2026-11-04.
