> ## 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.

# Gemini CLI

> Connect KonbiniAPI to the Gemini CLI using the Model Context Protocol.

The Gemini CLI supports MCP servers via HTTP with OAuth.

<Steps>
  <Step title="Edit the Gemini CLI config">
    Open or create `~/.gemini/settings.json` and add the following:

    ```json theme={null}
    {
      "mcpServers": {
        "konbiniapi": {
          "httpUrl": "https://mcp.konbiniapi.com",
          "timeout": 10000
        }
      }
    }
    ```
  </Step>

  <Step title="Authorize">
    In the Gemini CLI, run the following command:

    ```text theme={null}
    /mcp auth konbiniapi
    ```

    Confirm the prompt, then complete the browser sign-in flow to grant
    KonbiniAPI access.
  </Step>
</Steps>
