Mail.ru MCP server
Mail.ru MCP Server (Go Production Edition)
A Go MCP server for Mail.ru mail, SMTP and cloud storage that requires human confirmation before sending mail or changing files
- 1 ★ on the repository
- Last commit
- MIT
Broad access
Why this level
- Can send mail and delete cloud files on the user's behalf
- Uses an app password with access to mail and WebDAV
Install
- Works in
- Services
Manual install
make buildBuilds a static binary from the Go source.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Can send mail and delete cloud files on the user's behalf
- Uses an app password with access to mail and WebDAV
This is third-party code. Review the repository files before installing.
What it does
The server runs as a single Go binary and gives an agent 13 tools: reading mail over IMAP from the inbox and smart folders, fetching a message body, searching subject and body, saving a draft, plus listing, downloading, uploading and deleting files in Mail.ru cloud storage over WebDAV. Any operation that sends mail, moves a message or changes cloud files does not run immediately: the server issues a single-use token that must be confirmed with a separate execute_pending_action call, and the token expires after an hour. Every network call is capped at a 15-second timeout, and file paths are checked to stay inside allowed directories.
Who it is for. For people who want an agent to access Mail.ru mail and cloud storage, but only with mandatory confirmation before sending mail or changing files.
Good fit when
- You want an agent to read and search Mail.ru mail and prepare draft replies
- You need access to files in Mail.ru cloud storage over WebDAV with a check before changes
- You need mail sending and file deletion to never happen without confirmation
Not a fit when
- You need Mail.ru calendar or contacts: the service does not support them, the author suggests Nextcloud instead
- You want a ready npm or Docker package: the server is built from Go source
Example request
Find recent messages from accounting in my Mail.ru inbox and draft a replyMCP
- Transport
- stdio
- Authentication
- API key
Environment variables
MAILRU_USERNAMErequired- Mail.ru email address.
MAILRU_APP_PASSrequired, secret- Mail.ru app password, not the main account password.
MAILRU_ALLOWED_ROOTS- Comma-separated list of allowed directories for file operations.
Limitations
The project is very new, has a single author, no releases or packaging, and installs only by building from Go source via go build or make build. It needs a Mail.ru app password, not the main account password. Mail.ru calendar and contacts are intentionally unsupported.
How to disable. Remove the mailru-mcp-server entry from your MCP client config and stop the binary process.
FAQ
Can the server send mail without me noticing?
No, sending mail, moving a message and changing cloud files first create a confirmation token that expires in an hour and must be executed with a separate call.
Is Mail.ru calendar supported?
No, Mail.ru does not offer a public CalDAV server and rejects CardDAV requests, so the author suggests managing calendar and contacts through Nextcloud instead.
Discussion
No questions or reviews yet.
Related
All Mail.ru toolsMail.ru mail MCP server
mailru-mcp
An MCP server for Mail.ru mail: reading, search, folder sorting and archiving that works around Mail.ru's IMAP quirks
Mail.ru read-only mail MCP server
Mail.ru MCP
A small read-only MCP server for Mail.ru mail: listing, reading, searching and folders, with no ability to send or delete
Email MCP: Yandex, Mail.ru and other providers
Email MCP Server
An HTTP/SSE wrapper around an IMAP MCP server for remote mailbox access from Claude Web: read, search, send, across 15 providers
Mail.ru MCP server and Telegram notifier
Mail Agent
An MCP server for Mail.ru email in Claude.ai, plus a separate Telegram bot that checks the inbox every 15 minutes and alerts on important messages
IMAP mail reading skill
imap-client
A skill for reading and searching email over IMAP via the myl CLI: Gmail, Yandex Mail, Mail.ru, autodiscovery for others
An email MCP with 52 tools: the agent reads, searches, sends and sorts mail across several accounts over IMAP and SMTP, and schedules sends
README in short
The README describes the Go architecture using the mcp-go and go-imap libraries, gives a table of 13 tools marking which need confirmation, and explains the two-phase confirmation model with a token and a limit on pending actions. It also covers environment variables, a sample MCP router config and the build, test and lint commands.