---
title: "Connect Gemini CLI to Conecto (settings.json)"
url: https://conecto.chat/agents/gemini-cli
description: "Add Conecto to Gemini CLI in settings.json: one mcpServers entry for every area, over streamable HTTP, with your conecto_sk_ key in the headers."
checked: "2026-10-21 against https://raw.githubusercontent.com/google-gemini/gemini-cli/main/docs/tools/mcp-server.md"
---

# Gemini CLI

Gemini CLI reads Conecto from settings.json: one entry for every area, over streamable HTTP, with your key in a header.

- How: settings.json
- Works in: the terminal
- Steps checked in Gemini CLI's docs on 2026-10-21: https://raw.githubusercontent.com/google-gemini/gemini-cli/main/docs/tools/mcp-server.md

## Set it up

1. Get a key: the owner makes one on the account page (AI apps, Gemini CLI), or your agent signs up with one call (see SKILL.md).
2. Add the entry to mcpServers in ~/.gemini/settings.json.
3. Run /mcp in Gemini CLI to see the tools.

~/.gemini/settings.json:

```
{
  "mcpServers": {
    "conecto": {
      "httpUrl": "https://api.conecto.chat/v1/mcp",
      "headers": {
        "Authorization": "Bearer $CONECTO_KEY"
      }
    }
  }
}
```

## MCP address

One for all 52 areas: https://api.conecto.chat/v1/mcp. The key decides which ones Gemini CLI may use.

## Then ask

Each request is one tool call.

- "How much profit have we made so far this year?" (`books_report`, free)
- "Who is coming in for a fitting this week?" (`calendar_list_bookings`, free)

Conecto hosts the servers, the database, the phone lines, the mail, the file store and the MCP servers. Your agent only needs the address.

## For agents

- Start here: https://conecto.chat/SKILL.md
- This page in Markdown: https://conecto.chat/agents/gemini-cli.md
- Sign up: POST https://api.conecto.chat/v1/signup
- Skills index: https://conecto.chat/.well-known/agent-skills/index.json
- MCP (CRM): https://api.conecto.chat/mcp/crm
- Connector for ChatGPT, Claude or Grok, one for every area: https://api.conecto.chat/v1/mcp
- Tools (CRM): https://conecto.chat/tools/crm.md
- Every reply carries `cost_usd` and `balance_usd`.

A `crm_get_customer` call:

```bash
curl -X POST https://api.conecto.chat/v1/tools/crm_get_customer \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"jana@weber-kuechenplanung.example"}'
```

## Read next

- [What is an MCP server?](https://conecto.chat/guides/what-is-an-mcp-server.md)
- [MCP vs API: what's the difference?](https://conecto.chat/guides/mcp-vs-api.md)

## Other agents

- [Claude](https://conecto.chat/agents/claude.md): Custom connector
- [ChatGPT](https://conecto.chat/agents/chatgpt.md): Custom MCP server
- [Grok](https://conecto.chat/agents/grok.md): Custom connector
- [Claude Code](https://conecto.chat/agents/claude-code.md): SKILL.md and a setup line
- [Cursor](https://conecto.chat/agents/cursor.md): mcp.json
- [Codex](https://conecto.chat/agents/codex.md): SKILL.md and a setup line
- [OpenClaw](https://conecto.chat/agents/openclaw.md): SKILL.md and a setup line
- [Hermes Agent](https://conecto.chat/agents/hermes-agent.md): SKILL.md and a setup line
