Server data from the Official MCP Registry
Unlimited agent mailboxes — create identities, read/wait for mail, extract OTPs, send email.
Unlimited agent mailboxes — create identities, read/wait for mail, extract OTPs, send email.
openagent.email is a well-architected self-hosted email service for AI agents with solid security fundamentals. Authentication is properly implemented via scoped per-identity tokens with hash-based storage, and permissions are appropriately scoped to the application's purpose. Minor code quality issues around error handling and a self-signed certificate acceptance pattern prevent a higher score, but these do not constitute security vulnerabilities. Supply chain analysis found 14 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue (1 critical, 0 high severity).
8 files analyzed · 21 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
Set these up before or after installing:
Environment variable: OPENAGENTEMAIL_API_KEY
Environment variable: OPENAGENTEMAIL_API_URL
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-openagentemail-mcp": {
"env": {
"OPENAGENTEMAIL_API_KEY": "your-openagentemail-api-key-here",
"OPENAGENTEMAIL_API_URL": "your-openagentemail-api-url-here"
},
"args": [
"-y",
"@openagentemail/api"
],
"command": "npx"
}
}
}From the project's GitHub README.
Self-hosted email for AI agents. The open-source alternative to AgentMail.
openagent.email · website: openagentemail/website
One docker compose up on your own VPS gives every agent you run unlimited real
mailboxes on your own domain — over REST and MCP — with OTP and verification-link
extraction built in. No per-inbox pricing, no third party ever seeing your mail.
Prerequisites: a VPS with outbound/inbound port 25 open, and a domain you control.
git clone https://github.com/openagentemail/openagentemail.git && cd openagentemail
cp .env.example .env # set DOMAIN, API_KEYS, and the mailbox password
docker compose up -d && ./deploy/dns-records.sh # prints the exact DNS records to create
Then verify everything end to end:
./deploy/doctor.sh # checks DNS, TLS, IMAP/SMTP login, and a round-trip send
Create an identity and hand your agent its scoped token (shown once):
curl -X POST http://localhost:3100/v1/identities \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"name":"signup-bot"}'
# → 201 {"address":"fox-k7d2@example.com","name":"signup-bot","token":"oa_…"}
The API binds to 127.0.0.1 by default — reach it from other hosts over an
SSH tunnel or a TLS proxy: docs/security.md.
anything@yourdomain
addresses. No provisioning, no per-inbox cost.mail_wait_for / POST /v1/messages/wait — long-poll an inbox until a
matching message arrives, with OTP codes and verification links already extracted.
Built for automated signups.deploy/dns-records.sh generates your exact DNS records;
deploy/doctor.sh diagnoses deliverability before your agents depend on it.┌─────────────┐ MCP (stdio) ┌──────────────────┐
│ AI agents ├──────────────────▶ │
│ (Claude Code,│ │ openagent api │
│ Cursor, …) │ REST /v1/* │ (Node, imapflow │
└─────────────┘──────────────────▶ │ + nodemailer) │
└────────┬─────────┘
│ IMAP + SMTP (localhost)
┌────────▼─────────┐ SMTP 25
│ docker-mailserver│ ◀──────────▶ the world
│ catch-all mailbox│ (or your relay: SES, …)
└──────────────────┘
One catch-all account on your domain receives everything. The API logs into it over
IMAP, matches messages to identities by the To/Delivered-To header, and sends
via SMTP with the From rewritten to the chosen identity. Polling + IMAP IDLE for
low-latency waits.
{
"mcpServers": {
"openagentemail": {
"command": "bun",
"args": ["run", "/path/to/openagentemail/packages/mcp/src/main.ts"],
"env": {
"OPENAGENTEMAIL_API_URL": "http://localhost:3100",
"OPENAGENTEMAIL_API_KEY": "oa_…identity-token"
}
}
}
}
Tools: mail_new_identity, mail_list_identities, mail_list_messages,
mail_read_message, mail_wait_for, mail_send.
Full per-client setup (Claude Code, Claude Desktop, Cursor, Kimi Code, generic): docs/mcp-clients.md · server details: packages/mcp/README.md
Measured on our own production instance, idle: ~190 MB RAM total, ~0% CPU, and ~2 GB of disk for the Docker images. Mail itself is a rounding error — retention auto-deletes after 30 days.
| Tier | Spec | Notes |
|---|---|---|
| Minimum | 1 vCPU / 1 GB RAM / 10 GB disk | works with the defaults (ClamAV and SpamAssassin off) |
| Comfortable | 1 vCPU / 2 GB RAM / 20 GB disk | headroom to enable SpamAssassin |
| With antivirus | 4 GB RAM | ClamAV alone needs ~1 GB extra |
That's a $5/mo VPS — or a $10–15/year deal box. The real prerequisite isn't size, it's port 25: AWS, GCP, Azure, DigitalOcean and Vultr block it by default (some unblock on request). Check before you buy — or route outbound through a relay and you don't need port 25 out at all.
| openagent.email | AgentMail.to | MailSlurp | |
|---|---|---|---|
| Open source | ✅ Apache-2.0 | ❌ | ❌ |
| Self-hosted | ✅ | ❌ | ❌ |
| Price | Flat VPS cost | Per-inbox subscription | Usage-based subscription |
| Unlimited inboxes | ✅ (catch-all) | Paid tiers | Paid tiers |
| MCP-native | ✅ | ✅ | ❌ (REST/SDKs) |
| OTP/link extraction | ✅ | ✅ | ✅ |
| Data leaves your infra | Never | Always | Always |
wait_for with OTP/link
extraction, DNS wizard + doctor, optional SMTP relay.wait_for polling), admin web UI,
multi-domain support, Sieve-style per-identity rules.Issues and PRs welcome — see CONTRIBUTING.md.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.