# VS Code and GitHub Copilot

Copilot agent mode reads .vscode/mcp.json or the user config.

Sign in with browserAPI key[Add to VS Code](vscode:mcp/install?%7B%22name%22%3A%22zomler%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.zomler.com%2Fmcp%22%7D)

## Setup

1.  1
    
    Use the install button, or run MCP: Add Server from the command palette and choose HTTP. Or write the file yourself.
    
    **.vscode/mcp.json**
    
    ```
    {
      "servers": {
        "zomler": {
          "type": "http",
          "url": "https://api.zomler.com/mcp"
        }
      }
    }
    ```
    
2.  2
    
    VS Code prompts to sign in the first time the server starts. Approve in the browser.
    
3.  3
    
    To use a key instead, keep it out of the checked-in file with an input prompt.
    
    **.vscode/mcp.json with a key**
    
    ```
    {
      "inputs": [
        { "id": "zomler-key", "type": "promptString", "description": "Zomler API key", "password": true }
      ],
      "servers": {
        "zomler": {
          "type": "http",
          "url": "https://api.zomler.com/mcp",
          "headers": { "Authorization": "Bearer ${input:zomler-key}" }
        }
      }
    }
    ```
    

## What you get

One tool per platform, plus `capabilities` and `check_balance`, at `https://api.zomler.com/mcp`. Every answer is [the envelope](https://zomler.com/docs/api/responses): what was measured, when, what was left out and why, and what it cost. Fresh fetches spend [credits](https://zomler.com/docs/api/credits); anything already held is free.

Keys are created under [API keys](https://app.zomler.com/api-keys) in the dashboard, where each one's calls and spend are listed. Revoking a key stops this client on its next call. The same key also calls the [REST API](https://zomler.com/docs/api).

[All clients](https://zomler.com/docs/mcp)

---

Source: https://zomler.com/docs/mcp/vscode
