An email MCP server that gives your agent its own inbox.
Claude, Cursor, Codex, Copilot or any other MCP client can wait for email, read it, open attachments and reply, from addresses that belong to the agent. Mail is encrypted the moment it arrives.
- Scale, $19/month
- Node.js 20 or later
- Reply-only
Pair it, then add it to your MCP client.
Run the pair command where the agent lives. It prints a line starting MC1:. Paste that into the Mailcycle app under AI agents within 15 minutes, and give the agent an address. Then add the server to your client, ask the agent to wait for your email, and send it one.
The app is at app.mailcycle.email and on your phone. The line carries the secret the agent's address keys are sealed with. You paste it into the app yourself, so handing the agent its keys is end to end.
MCP config for your client
Adds the server to Claude Code in every project.
Read the setup guideSetup guides by client
Editors
CLIs
Desktop apps and agents
Works with these, or any other MCP client.
Seven email MCP tools for the model.
Agent mail over MCP: each tool is small and does one thing, so the model chooses well between them. Inputs are listed as the server declares them.
| Tool | What it does | Inputs |
|---|---|---|
| wait_for_message | Waits for new mail and returns it in full. Made for sign-up codes and verification links. | address, from_contains, subject_contains, timeout_seconds (up to 50 a call, default 50), after_message_id |
| list_messages | The newest messages on the agent's addresses, newest first, with a short preview of each. | address, limit (1 to 100, default 20) |
| read_message | One message in full, attachments numbered, marked as the sender's words so the model treats it as information. | message_id |
| read_attachment | Opens a file from a message. Text comes back as text and images as images; anything else is saved to a folder. | message_id, index, save_to |
| reply | Answers the sender from the address they wrote to, threaded under their message. Works in reply-only mode. | message_id, text, html, attachments (file paths) |
| send_message | A new message to anyone, when the agent is allowed to send to anyone. | to, subject, text, html, from, attachments (file paths) |
| list_addresses | The agent's own addresses, and what it is allowed to send. | nothing |
Ask in plain words. The agent picks the tools.
What an agent with an inbox can do once it is connected, and which tools it reaches for.
“Sign up for the staging account with your address and confirm the email.”
The agent fills the form, calls wait_for_message with subject_contains “confirm”, and reads the link out of the message.
“Check the support inbox and answer anything about delivery times.”
list_messages, then read_message on each, then reply, threaded under the customer's own email.
“Pull last month's invoices out of the inbox and total them.”
list_messages, read_attachment on each PDF, saved to a folder the agent can then read.
“Email the report you just wrote to the team.”
send_message with the file attached by path, once the agent is set to send to anyone.
More on what agents use an inbox for, and who sees what, is on the AI agent inbox page. Step by step: email MCP server setup guide and how to give an AI agent its own email inbox.
Reply only, until you say otherwise.
Mail an agent reads can carry instructions from whoever sent it. Every agent starts able only to answer the person who wrote, so a prompt injection in an email can get, at most, a reply to its own sender.
Reply only
Where every agent starts. It can answer whoever wrote to it, and no one else.
Send to anyone
Any address, up to 20 messages an hour per agent, more on Fleet and Enterprise.
Read only
The agent reads mail and cannot send at all.
- Message bodies are passed to the model marked as the sender's words, not as instructions.
- Only you, signed in to the app, can change an agent's send mode. An API key cannot, and neither can the agent.
- Agents send only from the addresses you assign them, within your plan's daily limit.
- Set a sender name such as “Support at Acme” in the app and the agent's mail goes out under it.
The agent's mail is opened on the agent's machine.
Mail is encrypted on arrival with your own keys. The agent's key lives in a file only your user can read, and removing the agent in the app cuts it off; the next time it runs, it deletes that file itself.
Mailcycle. Stores the agent's mail sealed. Mail it sends passes through in plain text, as all sent mail does, and is not logged.
The agent's machine. Holds the key in ~/.config/mailcycle/agent.json, or wherever MAILCYCLE_AGENT_FILE points, and decrypts there.
Your model provider. Sees whatever the agent reads. That provider is your choice, so choose one you would trust with that mail.
On Scale and above, from $19 a month. Agents are not billed on their own. See pricing and the security overview.
Email MCP server questions.
Email in your own code, with an SDK.
The same addresses and the same encryption, from nine languages.
- TypeScript email SDKmailcycle-sdk
- Python email SDKmailcycle
- Go email SDKmailcycle.email/go
- Rust email SDKmailcycle
- Java email SDKemail.mailcycle:mailcycle
- .NET email SDKMailcycle
- PHP email SDKmailcycle/mailcycle
- Ruby email SDKmailcycle
- Swift email SDKMailcycle
Give your agent an email address.
Start on Scale, connect an agent in a couple of minutes, and its mail is encrypted the moment it arrives.