---
agent:
  instructions: "Use this search API to find what Blueping's public pages say, with keywords or a question, instead of crawling them one by one. Results are returned in Markdown, best first, each with its link."
  endpoint: "https://blueping.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

> The index of these docs for agents is at https://blueping.dev/llms.txt

# Give Gemini its own email address.

Gemini CLI makes an inbox for the flow it builds and reads what your app sends, and the Gemini app reads and answers your agent's mail.

Terminal:

```bash
gemini mcp add -s user --transport http blueping https://blueping.dev/mcp
# Then, inside a Gemini CLI session: /mcp auth blueping
```

Run the first line in a terminal, then sign in from a Gemini CLI session.

[Get an address](https://blueping.dev/signup.md) · [**Agents** /integrations/gemini.md](https://blueping.dev/integrations/gemini.md)

Blueping makes email inboxes for AI agents: one API call gives an agent its own address, with verification codes pulled out and every sender checked.

## Connect Gemini in three steps

Gemini CLI adds Blueping's hosted server with `gemini mcp add` and signs in with `/mcp auth`, and the Gemini app takes the same address as a custom app. Gemini can then make inboxes, wait for the codes services send, and read and answer mail.

### 1. Add the server to Gemini CLI

`-s user` writes the entry to `~/.gemini/settings.json`, so every project has it. Without it, the entry lands in the project's `.gemini/settings.json`.

Terminal:

```bash
gemini mcp add -s user --transport http blueping https://blueping.dev/mcp
```

### 2. Sign in from a session

Start `gemini` and run `/mcp auth blueping`. Your browser opens, you approve, and Gemini CLI keeps the token for later sessions. `/mcp` then lists the server and its tools.

The sign-in needs a browser on the same machine. Over SSH or in a container, add the server with your key in a header instead:

With a key:

```bash
gemini mcp add -s user -t http -H "Authorization: Bearer $BLUEPING_API_KEY" blueping https://blueping.dev/mcp
```

### 3. Or in the Gemini app

On gemini.google.com, open **Settings**, then **Connected Apps**. Under **Custom apps**, choose **Add a custom app**, paste `https://blueping.dev/mcp`, click **Next** and sign in. In a chat, type @ and pick the app. An app connected on the web works in the mobile app too.

Checked against [Gemini CLI docs, MCP servers](https://geminicli.com/docs/tools/mcp-server/), [Gemini CLI docs, commands](https://geminicli.com/docs/reference/commands) and [Gemini Apps Help, custom apps](https://support.google.com/gemini/answer/17209137) on November 27, 2026.

## What Gemini does with its own inbox

### Prove a change of address

Prompt: Change the test user's email on localhost:8080 to a fresh Blueping inbox and confirm the new address.

`create_inbox`, then `wait_for_code`, which returns the confirmation link for Gemini CLI to open.

### Parcels, by delivery day

Prompt: @Blueping which parcels in my agent's inbox arrive this week, and on which day?

`list_messages` reads the carriers' emails with their text pulled out, and Gemini sorts them by date.

### A reply that waits for your yes

Prompt: @Blueping draft an answer to the plumber offering Thursday morning, and keep it unsent.

`create_draft` keeps it in the inbox until you read it, and `send_draft` sends it after your go.

## Before you connect Gemini

- Gemini CLI names the tools `mcp_blueping_` and the tool, such as `mcp_blueping_wait_for_code`. In the server's entry, `includeTools` keeps the list to the ones you name.
- `trust: true` in the entry skips every confirmation for the server. For tools that send mail, keep the confirmations on.
- Google offers custom apps in the Gemini app to personal Google Accounts in the US, 18 and over, with History on, in English.

### Does Gemini CLI need a Blueping key?

No. `/mcp auth blueping` signs in through your browser. A key in the header is for machines where no browser opens.

### Can a Workspace account add Blueping to the Gemini app?

Not today: Google's help page lists custom apps for personal Google Accounts only.

## Build more with Gemini

- [**Email tests in CI** Your test suite signs up to staging with a tagged address, waits for the real email and checks its links and its authentication.](https://blueping.dev/use-cases/email-testing-in-ci.md)
- [**Coding agents** Claude Code, Codex and Cursor get an inbox over MCP to test your app's emails and read codes from the editor.](https://blueping.dev/use-cases/coding-agents.md)
- [**Orders, shipping and returns** The agent matches each email to an order, answers with its status, sends return labels and reads carrier notices.](https://blueping.dev/use-cases/orders-and-returns.md)
- [**Grok** A custom connector in Grok and Grok Bot, grok mcp add in Grok Build, or the xAI API.](https://blueping.dev/integrations/grok.md)
- [**Cursor** One entry in mcp.json, signed in when Cursor asks.](https://blueping.dev/integrations/cursor.md)
- [**Visual Studio Code** Copilot's agent mode, with the server in mcp-config.json.](https://blueping.dev/integrations/vs-code.md)

[All integrations](https://blueping.dev/integrations.md) · [The quickstart](https://blueping.dev/docs.md) · [API reference](https://blueping.dev/docs/api.md) · [Every MCP client](https://blueping.dev/agents.md)
