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

# Gemini CLI

> Add Hive to Gemini CLI through settings.json.

## Add the server

Edit `~/.gemini/settings.json`:

```json theme={null}
{
  "mcpServers": {
    "hive": {
      "httpUrl": "https://mcp.hiveintelligence.xyz/mcp"
    }
  }
}
```

<Note>
  Gemini CLI uses `httpUrl` for a streamable HTTP server like Hive. It also accepts `url`,
  but that selects its SSE transport, which is not what you want here. `serverUrl` is a
  Windsurf key and will not work.
</Note>

Complete OAuth in the browser when the server first connects.

## Verify

Restart the CLI and ask for a live price. If the server does not load, check the JSON parses
and that you used `httpUrl`.
