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

# Gemini CLI

> Connect Gemini CLI to rendermate.

```bash theme={null}
gemini mcp add --transport http -s user rendermate https://api.rendermate.com/mcp
```

Gemini CLI opens the rendermate sign-in page in your browser the first time it connects, where
you sign in and pick the workspace. To sign in again, run `/mcp auth rendermate`.

Or add it to `~/.gemini/settings.json` yourself, or to `.gemini/settings.json` in a project.
`httpUrl` is the address of a Streamable HTTP server:

```json theme={null}
{
  "mcpServers": {
    "rendermate": { "httpUrl": "https://api.rendermate.com/mcp" }
  }
}
```

To use an [API key](https://rendermate.com/docs/authentication.md#api-keys) instead, add it as a header. The tools then act in
the key's workspace:

```bash theme={null}
gemini mcp add --transport http -s user rendermate https://api.rendermate.com/mcp \
  --header "Authorization: Bearer $RENDERMATE_API_KEY"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.