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

Claude Code signs up with it, reads the codes services send and answers mail, without leaving your terminal.

Terminal:

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

Run both in a terminal. The second signs Claude Code in through your browser. Then start a new Claude Code session: it loads its tools when a session starts.

[Get an address](https://blueping.dev/signup.md) · [**Agents** /integrations/claude-code.md](https://blueping.dev/integrations/claude-code.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 Claude Code in two commands

Two commands add Blueping's hosted MCP server to Claude Code, and the second signs it in through your browser. From the next prompt, Claude Code can make an inbox, read the code a service emails it, and send and answer mail from your terminal.

### 1. Add the server and sign in

The first command registers the server; the second opens your browser, where you approve the connection. No key goes into any file.

Terminal:

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

### 2. Or share it with your team in .mcp.json

Checked into a repository, this file gives every teammate the server, each with the key in their own `BLUEPING_API_KEY`. `type` is required: Claude Code skips an entry without it.

.mcp.json:

```json
{ "mcpServers": { "blueping": {
  "type": "http",
  "url": "https://blueping.dev/mcp",
  "headers": { "Authorization": "Bearer ${BLUEPING_API_KEY}" }
} } }
```

### 3. Check it from a session

Type `/mcp` inside Claude Code: `blueping` shows as connected, with its tools. Add `-s user` to the first command to have it in every project.

Checked against [Claude Code docs, MCP](https://code.claude.com/docs/en/mcp) on November 22, 2026.

## What Claude Code does with its own inbox

### Test your own sign-up flow

Prompt: Make an inbox called qa-signup, register on http://localhost:3000/signup with it, and tell me whether the confirmation link works.

`create_inbox`, then `wait_for_code` with your app's domain as `from`. The link comes back pulled out, so Claude Code can open it and check the page.

### Sign up to a service your code needs

Prompt: Create an account on the staging dashboard with a fresh inbox and put the API key it emails into .env.local.

The code or link arrives in one call, and the email's text says where the key is. Claude Code reads it as data and asks before it writes anything you did not ask for.

### Report to the people who wait for a release

Prompt: Once the tests pass, email the release notes from CHANGELOG.md to release@marlow.example.

`send_email` from the agent's own address. Until you claim the agent it writes only to people who wrote to it first, so the claim comes before mail to your team.

### File what arrives

Prompt: Read the invoices in my inbox from this week and add each one to invoices.csv.

`list_messages`, then `read_attachment` for each PDF, read as text.

## Before you connect Claude Code

- Claude Code asks before each tool call unless you allow it; `delete_inbox` and `delete_thread` ask every time.
- Inside a session, `/mcp` lists the server, signs it in again, or turns it off.
- Every message someone else wrote reaches Claude Code marked `untrusted: true`: data to read, never instructions.

### Do I need an API key for Claude Code?

No. `claude mcp login blueping` signs in through your browser with OAuth. A key in `BLUEPING_API_KEY` works too, with the `--header` form or `.mcp.json`.

### Can Claude Code use Blueping in CI?

Yes, with a key: CI has no browser to sign in with. Put the key in your CI's secrets as `BLUEPING_API_KEY` and use the `.mcp.json` entry above.

### Which tools does Claude Code get?

The 10 core tools of the hosted server by default: inboxes, codes, messages, attachments, search, sends and replies. https://blueping.dev/mcp/all serves all 40, with threads, drafts, labels, rules, events and limits. [Every tool](https://blueping.dev/agents.md) is listed with what it does.

## Build more with Claude Code

- [**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)
- [**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)
- [**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)
- [**Claude Desktop and claude.ai** A custom connector in Claude's settings, the same on the web and the desktop app.](https://blueping.dev/integrations/claude.md)
- [**ChatGPT** A custom MCP server in ChatGPT's plugins, with OAuth sign-in.](https://blueping.dev/integrations/chatgpt.md)
- [**Gemini** gemini mcp add in Gemini CLI, or a custom app in the Gemini app.](https://blueping.dev/integrations/gemini.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)
