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

# VS Code

> Connect KonbiniAPI to VS Code agent mode using the Model Context Protocol.

VS Code supports MCP servers natively in agent mode (1.99+), independently of GitHub Copilot.

<Steps>
  <Step title="Create the MCP config file">
    Create `.vscode/mcp.json` in your workspace (shared with your team via source control), or open the Command Palette and run `MCP: Open User Configuration` for a global config.
  </Step>

  <Step title="Add KonbiniAPI">
    ```json theme={null}
    {
      "servers": {
        "konbiniapi": {
          "type": "http",
          "url": "https://mcp.konbiniapi.com"
        }
      }
    }
    ```
  </Step>

  <Step title="Authorize">
    Open the Chat panel, switch to **Agent** mode, and start a prompt. VS Code will trigger the OAuth flow to link your KonbiniAPI account on first use.
  </Step>
</Steps>

<Note>
  GitHub Copilot uses the same MCP configuration. If you've already set this up
  for VS Code agent mode, Copilot will pick it up automatically.
</Note>
