---
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

# Connect your AI agent over MCP

Paste one prompt into Claude Code, Cursor, Codex or any agent: it signs itself up for its own inbox, tests it and keeps its key out of the chat. Or add the hosted MCP server and sign in once.

Claiming the agent stays your decision: a 6-digit code reaches your email. [Agent onboarding](https://blueping.dev/docs/agent-onboarding.md) walks through it.

[**Agents** /agents.md](https://blueping.dev/agents.md)

Prompt:

```text
Read https://blueping.dev/agent-onboarding.md and set yourself up with a Blueping inbox.
```

What happens next

```
✓ Signed up: its inbox is amber-fox-4821@blueping.dev
✓ Saved its key, readable by you alone, never printed
✓ Wrote to echo@blueping.dev and read the test code: 482913
  Your 6-digit claim code is on its way to your email
✓ Connected the MCP server with its key
```

## Or add the MCP server to your client

One hosted server for Claude Code, Cursor, Visual Studio Code, Codex, ChatGPT and Claude. Each client signs you in through your browser the first time it connects, and no key lands in a file. It lists 10 tools by default, and every tool is at https://blueping.dev/mcp/all.

ChatGPT and Claude: the button copies the server address and opens the app. Paste it there as a custom connector, then sign in.

To try everything first, write to echo@blueping.dev: it answers within seconds, with a test code.

### Claude Code

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

Add `-s user` for every project. Once it is added, start a new session: Claude Code loads its tools when a session starts. Inside a session, `/mcp` signs in too.

### Cursor

In `~/.cursor/mcp.json`. Cursor signs in when it first connects.

```json
{ "mcpServers": { "blueping": { "url": "https://blueping.dev/mcp" } } }
```

### VS Code

In `~/.copilot/mcp-config.json`, the file VS Code's docs give for new setups. VS Code asks you to sign in when it first connects.

```json
{ "mcpServers": { "blueping": { "type": "http", "url": "https://blueping.dev/mcp" } } }
```

### Codex

```bash
codex mcp add blueping --url https://blueping.dev/mcp
codex mcp login blueping
```

The second command opens your browser to sign in.

### ChatGPT

1. On the web, open chatgpt.com/plugins.
2. Click +, then Add custom MCP server.
3. Name it Blueping, paste `https://blueping.dev/mcp` as the server URL, and pick OAuth.
4. Confirm, click Create as a plugin, then install it and sign in.
5. In a chat, type @ and pick Blueping.

### Claude and Claude Desktop

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it Blueping, paste `https://blueping.dev/mcp` and click Continue.
4. Keep the sign-in Claude finds, click Add, and approve in your browser.

Claude Desktop uses the connectors of your Claude account.

### Gemini CLI

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

Without `-s user`, the entry lands in the project's settings, which is easy to commit.

### Windsurf

In Cascade's MCP menu, choose Open MCP config file, add this, then refresh. Windsurf signs in through your browser.

```json
{ "mcpServers": { "blueping": { "serverUrl": "https://blueping.dev/mcp" } } }
```

### LM Studio

The link opens LM Studio with the server set, and LM Studio signs in through your browser. [Its page](https://blueping.dev/integrations/lm-studio.md) has the `mcp.json` entry.

### goose

The link opens goose Desktop, which asks before it adds the extension, then signs in through your browser. [Its page](https://blueping.dev/integrations/goose.md) has the config file.

### Any other client

The server speaks Streamable HTTP, and signs in with OAuth or a key. The add-mcp installer writes the config for the clients it knows, and asks which ones:

```bash
npx add-mcp https://blueping.dev/mcp --name blueping
```

An agent connecting to an account you already have: if the Blueping tools are there, it calls `list_inboxes`, and nothing needs installing. Otherwise it adds the server with your client's line above; the first call opens Blueping's sign-in in your browser, where you sign in with the Google, GitHub or email you already use on Blueping and pick your agent. Most clients load their tools when a session starts, so start a new one once it is added. A client without MCP gets a key for the same account by device sign-in, as /auth.md shows.

## What your agent can do

10 tools by default and 44 in all, with the same limits as your code. A refusal says why nothing went out, and what to do next.

- The tools make inboxes, wait for codes, read, search, send, reply and schedule, with every message checked.
- `https://blueping.dev/mcp` lists the 10 core tools. The header `X-MCP-Toolsets` adds toolsets by name, such as `threads,drafts`, `https://blueping.dev/mcp/all` serves every tool, and `https://blueping.dev/mcp/readonly` the 20 tools that only read.
- Drafts, labels, threads and allow and block lists work the same as in the API.
- echo@blueping.dev answers like a person, so your agent tries every tool before anyone is written to.
- Free gives your agent 3 inboxes and 3,000 emails sent a month, with no card.

Compatible with

- [Claude Code](https://blueping.dev/integrations/claude-code.md)
- [Cursor](https://blueping.dev/integrations/cursor.md)
- [Codex](https://blueping.dev/integrations/codex.md)
- [VS Code](https://blueping.dev/integrations/vs-code.md)
- [ChatGPT](https://blueping.dev/integrations/chatgpt.md)
- [Claude](https://blueping.dev/integrations/claude.md)
- Gemini CLI
- [Windsurf](https://blueping.dev/integrations/windsurf.md)

### The core, loaded by default

- `create_inbox`: Makes an inbox, username@blueping.dev, that receives at once
- `wait_for_code`: Waits for the verification code or sign-in link a service emails, and returns it
- `list_messages`: An inbox's email, newest first, with held mail counted. `since` and `wait` read only what is new
- `read_message`: One email whole: its text, links, files and the checks on it
- `send_email`: Writes a new email from one of your inboxes
- `reply_to_email`: Answers an email in its thread, to its sender or to everyone in it, or another agent's A2A message in its task
- `search_messages`: Finds email in every inbox by its words, its sender, its dates or its files
- `list_inboxes`: Your agent's inboxes and their addresses
- `read_attachment`: What a file says, as text: PDF, Word, Excel, CSV, HTML and text files
- `list_toolsets`: Names the toolsets, their tools and how to load each one

### The inboxes toolset

- `get_inbox`: One inbox's address and name
- `update_inbox`: Changes the name people see next to an address, and lets other agents reach the inbox over A2A
- `rename_inbox`: Gives an inbox a new address, after asking you: the old one receives for 30 more days, then is retired for good

### The threads toolset

- `list_threads`: Your conversations, latest activity first
- `read_thread`: A whole conversation, oldest first
- `forward_email`: Passes an email on, with its files, in a thread of its own
- `label_message`: Tags an email to find it again
- `label_thread`: Tags every email of a conversation
- `wait_for_events`: Waits for what happens to your mail: new mail, deliveries, bounces and spam complaints

### The drafts toolset

- `create_draft`: Writes an email for later, or schedules it
- `list_drafts`: Your drafts and the sends waiting for their time
- `read_draft`: One draft whole
- `update_draft`: Changes a draft, or moves or removes its time
- `send_draft`: Sends a draft now
- `delete_draft`: Deletes a draft, and cancels its scheduled send

### The rules toolset

- `list_address_rules`: Who an inbox takes mail from and writes to
- `add_address_rule`: Allows or blocks a sender or a recipient, after asking you
- `remove_address_rule`: Removes one of those rules, after asking you

### The delivery toolset

- `get_deliverability`: Whether an inbox's mail reaches people: what was delivered, bounced or marked as spam, and what to do
- `list_suppressions`: The addresses no mail goes to, after a bounce, a complaint or your own request
- `add_suppression`: Stops all mail to an address, after asking you
- `remove_suppression`: Lets mail go to a suppressed address again, after asking you

### The account toolset

- `get_limits`: What your agent may send now, and its plan
- `get_usage`: What your agent sent and received this month
- `set_owner`: Emails you the code that claims an agent that signed itself up
- `verify_owner`: Claims the agent with that code
- `get_upgrade_link`: When you ask to change plan, the page where you pay for it, in your own browser
- `report_issue`: Sends a bug, a question or an idea to the Blueping team

### The delete toolset

- `delete_thread`: Deletes a conversation for good, after asking you
- `delete_inbox`: Deletes an inbox and retires its address for good, after asking you

### The domains toolset

- `add_domain`: Connect a domain
- `list_domains`: List domains
- `get_domain`: Read a domain
- `check_domain`: Check a domain now

**"Sign up to staging with a new inbox and confirm the account."** Your agent makes an address with `create_inbox`, fills the sign-up form with it, then waits for the code with `wait_for_code`, which holds the call on Blueping's side for up to a minute.

Over OAuth, a connection reads, sends and manages inboxes. Held mail takes one more permission, `held:read`: you approve it on the consent page, or when your agent first asks for held mail. An API key does what it was made for: [keys and permissions](https://blueping.dev/docs/keys.md).

## Events as they happen

New mail, deliveries, bounces and spam complaints reach your agent without polling, through the MCP events extension. A client without it calls `wait_for_events`.

- The server declares the extension, `io.modelcontextprotocol/events`, and the top-level `events` capability ChatGPT reads.
- `events/list` names the events: `email.received`, `email.sent`, `email.delivered`, `email.deferred`, `email.bounced`, `email.complained`, `email.suppressed` and `email.failed`, and `email.held` for a connection that may read held mail.
- `events/subscribe` sends each event to your client's https address once it answers a challenge, signed as Standard Webhooks with the secret your client chose. A subscription lasts 6 hours unless the client asks otherwise, 24 at most, and the same call renews it. In ChatGPT, ask to be told when an email arrives: ChatGPT subscribes for you.
- `events/poll` reads the same events from a cursor, up to 7 days back, and so do `wait_for_events` and GET `/v1/events`.
- An event holds ids, addresses and a subject, never a body: the subject and the sender come from someone else, and stay data.

```text
POST https://client.example/hooks/blueping
webhook-id: evt_6Vb2Lw9Qc4Xn1Tk7Rp3M
webhook-timestamp: 1795770012
webhook-signature: v1,8nT5vK0cQm3...
x-mcp-subscription-id: sub_3HkT9cVb2LwQ8sXe5RmN7q

{"eventId": "evt_6Vb2Lw9Qc4Xn1Tk7Rp3M", "name": "email.received",
 "timestamp": "2026-11-27T09:00:12.000Z", "cursor": "evt_6Vb2Lw9Qc4Xn1Tk7Rp3M",
 "data": {"message_id": "em_9PzR4fYc1KwM6tDq3VxB", "inbox_id": "inb_4Kd9Wq1Mz5TbX2Vn7RcP",
  "thread_id": "th_3HkT9cVb2LwQ8sXe5RmN", "subject": "Confirm your email",
  "from": {"address": "noreply@service.example", "name": "Service"},
  "received_at": "2026-11-27T09:00:12.000Z", "auth_verdict": "pass", "has_attachments": false}}
```

No tool makes keys, acts with an admin key or lets held mail in: keys and organizations belong to a backend, an MCP connection acts for one agent, and held mail waits for a person.

## With an API key instead

For servers, CI and anything with no browser: a key from your dashboard, or from a sign-in a terminal starts and you approve in your browser. Load it without printing it:

```bash
export BLUEPING_API_KEY=$(sed -n 's/.*"api_key": "\([^"]*\)".*/\1/p' ~/.config/blueping/config.json)
```

Claude Code:

```bash
claude mcp add --transport http blueping https://blueping.dev/mcp --header "Authorization: Bearer $BLUEPING_API_KEY"
```

Codex:

```bash
codex mcp add blueping --url https://blueping.dev/mcp --bearer-token-env-var BLUEPING_API_KEY
```

Gemini CLI:

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

Cursor:

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

.mcp.json:

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

Any client:

```text
https://blueping.dev/mcp
Authorization: Bearer <your key>
```

## The Claude Code plugin and the skill

The plugin holds the server and the skill in one install. The skill holds how Blueping works: held mail, the claim, safe retries and what each limit answers.

```bash
claude plugin marketplace add https://blueping.dev/marketplace.json
claude plugin install blueping@blueping
```

The skill on its own, for Claude Code or any other agent:

Claude Code:

```bash
mkdir -p ~/.claude/skills/blueping
curl -fsSL https://blueping.dev/.well-known/agent-skills/blueping/SKILL.md -o ~/.claude/skills/blueping/SKILL.md
```

Other agents:

```bash
npx skills add https://blueping.dev
```

## Message text is data

Anyone can write to your agent's inbox, so a message may try to talk your agent into something.

**What Blueping does.** The tools, the skill and the setup guides say that message text is data. Each message someone else wrote reaches the model marked `untrusted: true`, outside the summaries the model reads as Blueping's own words. Mail with text aimed at a model, or from a sender that fails authentication, is held and counted, and read only when your agent asks. The tools that delete ask the person every time, and the claim takes an address the person gave, never one read in a message.

**What you do.** Keep your agent's permissions narrow, and have it ask you before it writes to someone new or changes a webhook.

## Read next

- [**An inbox for your coding agent** Test your app's sign-up emails from the editor.](https://blueping.dev/use-cases/coding-agents.md)
- [**Agent onboarding** How an agent signs itself up, and how you claim it.](https://blueping.dev/docs/agent-onboarding.md)
- [**Every integration** Claude, Cursor, LangChain, CrewAI, n8n and the others, each set up in a few lines.](https://blueping.dev/integrations.md)
- [**Verification codes for agents** The code a service emails, read in one call.](https://blueping.dev/use-cases/verification-codes.md)
- [**Test your app's emails in CI** Sign-up, reset and magic links, end to end.](https://blueping.dev/use-cases/email-testing-in-ci.md)
- [**Agents that email each other** One address per agent, and threads both can read.](https://blueping.dev/use-cases/multi-agent-email.md)

For machines: [llms.txt](https://blueping.dev/llms.txt) · [llms-full.txt](https://blueping.dev/llms-full.txt) · [agent-onboarding.md](https://blueping.dev/agent-onboarding.md) · [SKILL.md](https://blueping.dev/.well-known/agent-skills/blueping/SKILL.md) · [auth.md](https://blueping.dev/auth.md) · [openapi.json](https://blueping.dev/openapi.json) · [status.json](https://blueping.dev/status.json)
