# Gemini CLI

> Connect Piqline's MCP server to Gemini CLI (Google): the block to copy, where it goes, and the API key in a header.

Source: https://piqline.com/docs/api/clients/gemini-cli

Piqline reads public sources, dates what it sees and hands it to agents with the proof. This page connects its MCP server to Gemini CLI.

## Gemini CLI

**Where:** Terminal or ~/.gemini/settings.json

One command, or the block in `settings.json`. The `httpUrl` key selects the HTTP transport (`url` would mean legacy SSE).

```bash tab="CLI"
gemini mcp add --transport http \
  --header "Authorization: Bearer $PIQLINE_API_KEY" piqline https://piqline.com/api/mcp
```
```json tab="settings.json"
{
  "mcpServers": {
    "piqline": {
      "httpUrl": "https://piqline.com/api/mcp",
      "headers": { "Authorization": "Bearer piq_live_…" }
    }
  }
}
```

Source: [geminicli.com](https://geminicli.com/docs/tools/mcp-server/), read on 20 Nov 2026 (block from the official documentation). Tested with a real key on 2026-11-20.

## Next

Ask the agent, for example: “Who published first on this subject?”, “Which companies pay to hire in France this week?”, or “Read this page and tell me since when it exists”.

- [Six things Piqline does for an agent](/assistants)
- [All clients](/docs/api/clients) · [The MCP server](/docs/api/mcp) · [Create a key](/docs/api/authentication)
