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

# VS Code

> Add Qonto to GitHub Copilot Chat in VS Code

[GitHub Copilot Chat](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) in VS Code supports MCP servers. Qonto installs via a `vscode:` deeplink.

## Setup

<Steps>
  <Step title="Add to VS Code">
    Click the button below. VS Code will open and prompt you to register the **qonto** MCP server.

    <a href="vscode:mcp/install?%7B%22name%22%3A%22qonto%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.qonto.com%2Fmcp%22%7D" style={{ display: "inline-flex", alignItems: "center", gap: "8px", padding: "10px 20px", borderRadius: "8px", background: "#0E0E0E", color: "#FFFFFF", fontWeight: 600, fontSize: "15px", textDecoration: "none" }}>
      Add to VS Code
    </a>
  </Step>

  <Step title="Confirm the install">
    VS Code shows the server details. Click **Allow** to add it to your user-level MCP configuration.
  </Step>

  <Step title="Authenticate on first use">
    Open the Copilot Chat panel. The first time Copilot calls a Qonto tool, VS Code opens an OAuth window. Sign in to Qonto, pick the organization to connect, and consent.
  </Step>

  <Step title="Verify">
    In Copilot Chat, switch to **Agent mode** (the model picker → Agent) and ask:

    > List my Qonto cards.

    Copilot routes the call through the `list_cards` tool and shows the result.
  </Step>
</Steps>

## Manual setup (alternative)

Open the Command Palette (`Cmd/Ctrl + Shift + P`) and run **MCP: Add Server**. Choose **HTTP**, then enter:

* **Name**: `qonto`
* **URL**: `https://mcp.qonto.com/mcp`

Or edit your user settings JSON directly:

```json theme={null}
{
  "mcp": {
    "servers": {
      "qonto": {
        "type": "http",
        "url": "https://mcp.qonto.com/mcp"
      }
    }
  }
}
```

For a workspace-scoped install, place the same payload in `.vscode/mcp.json` at the workspace root.

## Notes

* Copilot Chat needs **Agent mode** to invoke MCP tools, the default Ask mode does not call tools.
* VS Code stores OAuth tokens in your OS keychain via the Authentication API.

## Removing the server

Open the Command Palette → **MCP: List Servers** → select **qonto** → **Remove**.
