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

# Gemini cli

title: "Gemini CLI"
description: "Use @byul/mcp with the Gemini CLI"
------------------------------------------------

## Settings file

Open `~/.gemini/settings.json` and add:

```json theme={null}
{
  "mcpServers": {
    "byul": {
      "command": "npx",
      "args": ["-y", "@byul/mcp"],
      "env": { "BYUL_API_KEY": "byul_api_key" }
    }
  }
}
```

If the `mcpServers` object is missing, create it.

<Tip>
  Only local stdio transport is supported. Remote HTTP/SSE endpoints are not available.
</Tip>
