FOR AGENTS

Connect in one line.
No key, no signup.

Add the MCP server and your agent gets three new tools. It can make an address, sign up for something, and read back the code on its own.

01Connect

Pick your agent

It's a remote MCP server over streamable HTTP. Nothing to install, no key to paste.

Claude Code
claude mcp add --transport http \
  receivemx https://receive.mx/mcp
Cursor
{ "mcpServers": { "receivemx":
  { "url": "https://receive.mx/mcp" } } }
Codex
codex mcp add receivemx \
  --url https://receive.mx/mcp
02Tools

Five tools, all free

Each tool is the same as a REST route, so MCP and the API always behave the same way.

ToolWhat it doesReturns
new_inbox
POST /v1/inboxes
Makes a fresh address. style: "name" gives a person-like one (sarah.kelly87@…); pick name_origin and include_year if you like.address, token, expires_at
get_code start here
GET …/code?timeout=60
Waits for the next email and returns just the code or verify link.code, link, from, subject
wait_for_email
GET …/wait?timeout=60
Waits for the next email matching optional from / subject filters.from, subject, text, links[], code
list_emails
GET …/emails
Everything received so far.[ {id, from, subject, at} ]
read_email
GET …/emails/{id}
One email in full: text, HTML, links.full message
03Example

What it looks like in a chat

YOU

Sign up for a Linear trial for the test workspace and finish the email check.

AI

I'll get an inbox first.

new_inbox() → k7f2q9@asyncpost.com
AI

Signed up with that address. Waiting for the code…

get_code(timeout: 60) → 3.4 s · code 482913 from noreply@linear.app
AI

Done. The workspace is verified and the trial is active.

04Prompts

Things to ask your agent

“

Make a receive.mx inbox and use it to test our sign-up flow end to end.

“

Create an account on the staging site and click the confirm link from the email.

“

Check that our password-reset email arrives within 30 seconds and has a working link.

“

Give my bot its own address on myagent.dev so it can get its own invoices.

05REST API

The same thing, over HTTP

Base URL https://receive.mx/v1. Use the inbox token as a bearer token. Waits answer as soon as mail arrives, or return 204 after the timeout (90 s max), so just call again.

wait_for_email
200 · 3.4 s
GET /v1/inboxes/k7f2q9@asyncpost.com/wait?timeout=60&from=linear.app
Authorization: Bearer rx_9f3c…

{ "id": "em_01JA…",
  "from": "Linear <noreply@linear.app>",
  "subject": "Your Linear login code",
  "received_at": "2026-10-09T09:14:05Z",
  "text": "Your login code is 482913. It expires in 10 minutes…",
  "code": "482913",
  "links": [ "https://linear.app/auth/magic?token=…" ] }
06Limits

Fair use on the free tier

24 h
inbox lifetime (extend to 7 d)
10 / h
new inboxes per IP
50
emails per inbox
10 MB
per email
07Errors

Every error says what to do next

CodeWhat happenedWhat to do
TIMEOUTNo email arrived within the wait.Call again. Nothing is lost.
RATE_LIMITEDToo many new inboxes from this IP.Reuse an inbox, or wait for retry_after.
INBOX_EXPIREDThe 24 hours are up and it's been deleted.Make a new inbox.
BAD_TOKENWrong or missing token for this address.Use the token from new_inbox.
DOMAIN_BLOCKEDA site rejected the shared domain.Use your own domain.
08For agents that read docs

Skill, llms.txt, OpenAPI

SKILL.md

Drop-in skill for Claude: connect, the safe flow, and a fix for every error.

Download
/llms.txt

A plain-text map of everything here, for agents that look for it.

Open
/openapi.json

The full REST API, for code generators and tool builders.

Open