---
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 Grok its own email address.

Grok signs up with an address of its own, reads the code that follows and answers the mail, on grok.com, in Grok Bot or in your terminal.

Connector URL:

```text
https://blueping.dev/mcp
```

Paste it in a custom connector on grok.com or in Grok Bot, then approve the sign-in.

[Get an address](https://blueping.dev/signup.md) · [**Agents** /integrations/grok.md](https://blueping.dev/integrations/grok.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 Grok four ways

Grok reaches Blueping's hosted MCP server four ways: a custom connector on grok.com, a custom connector in Grok Bot, `grok mcp add` in Grok Build, and the `mcp` tool of the xAI API. The apps sign in through your browser and the API takes your key. Grok can then make inboxes, wait for codes, and send and answer mail.

### 1. On grok.com

Open grok.com/connectors, click **New Connector**, then **Custom**. Name it Blueping, paste `https://blueping.dev/mcp` as the server URL, add it, and approve the sign-in on Blueping's page. From then on, Grok calls the email tools when a question needs them.

### 2. In Grok Bot

Open **Connect apps** in the sidebar and choose **Add a custom connector** at the bottom. Name it Blueping, pick **Remote HTTPS** as the type, paste the server URL, select **Add plugin**, and sign in.

You can also ask your Bot to add an MCP server named Blueping at that address. Type @ in a task to attach it.

### 3. In Grok Build

One command adds the server, and the browser sign-in starts on first use. In the terminal UI, `/mcps` lists it and `i` signs it in. With a key, the single quotes keep `${BLUEPING_API_KEY}` as it is in `~/.grok/config.toml`, and Grok Build reads the key from your environment when it connects.

Sign in:

```bash
grok mcp add --transport http blueping https://blueping.dev/mcp
```

With a key:

```bash
grok mcp add --transport http blueping https://blueping.dev/mcp --header 'Authorization: Bearer ${BLUEPING_API_KEY}'
```

### 4. From the xAI API

Give the Responses API an `mcp` tool with the server's URL, a `server_label` and your key in `authorization`, which reaches Blueping as a bearer token. `allowed_tools` keeps the list to the calls your agent makes.

agent.py:

```python
import os

from openai import OpenAI

client = OpenAI(api_key=os.environ["XAI_API_KEY"], base_url="https://api.x.ai/v1")

response = client.responses.create(
    model="grok-4.7",
    input=[{"role": "user", "content": "Make an inbox called noor-errands and tell me its address."}],
    tools=[{
        "type": "mcp",
        "server_url": "https://blueping.dev/mcp",
        "server_label": "blueping",
        "authorization": os.environ["BLUEPING_API_KEY"],
        "allowed_tools": ["create_inbox", "wait_for_code", "list_messages", "read_message", "reply_to_email"],
    }],
)
print(response.output_text)
```

Checked against [xAI docs, Grok connectors](https://docs.x.ai/grok/connectors), [xAI docs, Grok Bot apps](https://docs.x.ai/grok-bot/computer-and-apps), [xAI docs, Grok Build MCP servers](https://docs.x.ai/build/features/mcp-servers), [xAI docs, remote MCP tools](https://docs.x.ai/developers/tools/remote-mcp) and [xAI cookbook, database over MCP](https://docs.x.ai/cookbook/examples/database-over-mcp) on November 27, 2026.

## What Grok does with its own inbox

### A Bot that signs up for you

Prompt: Sign up for the Fernhill free trial with your own Blueping inbox and confirm the account.

The Bot makes an inbox with `create_inbox`, fills in the form in its own browser, and `wait_for_code` hands back the code or the link Fernhill sends.

### A routine for the morning mail

Prompt: Every weekday at 8:00 AM, read the new mail in your Blueping inbox and tell me what needs an answer.

Grok Bot keeps it as a scheduled routine. Each run calls `list_messages` with `since`, so it reads only what came after the last one.

### Tickets found from a chat

Prompt: Look through my agent's inbox for the Oslo train tickets and tell me the departure time and the coach.

`search_messages` finds the operator's email, and `read_message` returns its text, ready to quote.

### A password reset, tested in the terminal

Prompt: Trigger a password reset on localhost:3000 for a fresh Blueping inbox and check that the link works.

Grok Build names the tools after the server, as `blueping__create_inbox` and `blueping__wait_for_code`, and runs them like its own.

### Support answers from your own code

Your server hands each `email.received` webhook to the Responses API with the `mcp` tool, and Grok answers in the thread with `reply_to_email`.

## Before you connect Grok

- On grok.com and in Grok Bot the connector signs in with OAuth, so no key is pasted anywhere. You can revoke the connection from your Blueping dashboard.
- Grok Build reads skills from `~/.grok/skills/`. Save [Blueping's skill](https://blueping.dev/.well-known/agent-skills/blueping/SKILL.md) as `~/.grok/skills/blueping/SKILL.md`, and it knows the HTTPS calls as well as the tools.

### Does Grok need a Blueping key?

Not in the apps: grok.com and Grok Bot sign in through your browser. Grok Build takes a sign-in or a key, and the xAI API takes your key in `authorization`.

### Which tools does Grok get?

The 10 core tools of the hosted server, from inboxes and codes to sends and replies, and all 40 with https://blueping.dev/mcp/all as the address, threads, drafts and labels included. [The full list](https://blueping.dev/agents.md) says what each one does.

## Build more with Grok

- [**Verification codes and sign-ups** The agent signs up to a service with an address of its own and reads the code or the magic link in one call.](https://blueping.dev/use-cases/verification-codes.md)
- [**Travel bookings** Bookings carry the agent's address; it files confirmations, passes on schedule changes and reminds travelers to check in.](https://blueping.dev/use-cases/travel-bookings.md)
- [**Executive assistant** A busy person forwards mail with a note on top; the agent drafts the replies, schedules the reminders and files the rest.](https://blueping.dev/use-cases/executive-assistant.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)
- [**Codex** codex mcp add, then a browser sign-in.](https://blueping.dev/integrations/codex.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)
