mails0 MCP Server

Open-source email infrastructure for AI agents — inboxes, OTP, search, MCP, Cloudflare self-host.

Communication MIT license Added Oct 30, 2026 Self-hosted

mails0 is a Communication MCP (Model Context Protocol) server: Open-source email infrastructure for AI agents — inboxes, OTP, search, MCP, Cloudflare self-host. It is MIT-licensed and self-hosted from its source repository. Listed on MCP Collection since October 2026.

About mails0

mails0 (mails0.com) is MIT-licensed email infrastructure for AI agents. Create scoped mailboxes, receive and search mail, extract verification codes (EN/ZH/JA/KO), and optionally send under rate limits. Hosted sandbox bootstraps a random 72-hour receive-only mailbox; permanent names need human claim. Self-host on Cloudflare Workers, D1, R2, and Email Routing for $0 on the free tier within quotas. Agents connect via CLI (mails-agent), Python SDK, Skill (https://mails0.com/skill.md), and MCP (npx -y mails-agent-mcp@2.2.0). Fair alternative framing vs AgentMail — see https://mails0.com/compare/.

How to connect mails0 to Claude, Cursor or VS Code

mails0 is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).

{
  "mcpServers": {
    "mails0": {
      "command": "<start command from the README>",
      "args": []
    }
  }
}

The exact command (often npx, uvx or docker) is in the project README at github.com/Digidai/mails.

mails0 FAQ

What is mails0?

mails0 is a Model Context Protocol (MCP) server in the Communication category. Open-source email infrastructure for AI agents — inboxes, OTP, search, MCP, Cloudflare self-host. MCP servers expose tools that AI assistants like Claude can call during a conversation.

How do I use mails0 with Claude or Cursor?

mails0 is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).

Is mails0 free to use?

mails0 is published under the MIT license, so the software itself is free to run. Hosted or API-backed servers may have their own usage tiers; check the project homepage.

Where is the source code for mails0?

The source is at github.com/Digidai/mails.

More Communication MCP servers