MailMCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MailMCPshow me unread emails from today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MailMCP
MCP-Server für den Zugriff auf ein E-Mail-Postfach via IMAP/SMTP. Geschrieben in Node.js / TypeScript. Läuft als stdio-Prozess direkt auf dem Host.
Features
Alle Ordner des Postfachs auflisten
E-Mails in einem beliebigen Ordner auflisten (neuste zuerst)
Vollständigen Inhalt einer E-Mail lesen (Text, HTML, Anhänge)
E-Mails nach Betreff, Absender oder Body durchsuchen
E-Mail in anderen Ordner verschieben
E-Mails senden (inkl. CC, BCC, HTML, Anhänge als Base64)
Lokale Datei direkt als E-Mail-Anhang versenden
Konfigurierbarer INBOX-Ordner
Related MCP server: IMAP/SMTP Email MCP Server
Verfügbare Tools
Tool | Beschreibung |
| Alle IMAP-Ordner auflisten |
| E-Mails in einem Ordner auflisten (mit Filter: ungelesen) |
| Vollständige E-Mail per UID lesen |
| E-Mails nach Stichwort durchsuchen |
| E-Mail in anderen Ordner verschieben |
| E-Mail senden (To, Subject, Text, optional CC/BCC/HTML/Anhänge als Base64) |
| Lokale Datei vom Host-Dateisystem als Anhang versenden |
| Aktuelle Serverkonfiguration anzeigen |
Setup
1. Abhängigkeiten installieren & bauen
npm install
npm run build2. Konfiguration
cp .env.example .envWerte in .env anpassen:
Variable | Beschreibung | Standard |
| IMAP-Server | – |
| IMAP-Port |
|
| IMAP SSL |
|
| E-Mail-Adresse | – |
| Passwort | – |
| Standard-Posteingang |
|
| Max. E-Mails pro Abfrage |
|
| SMTP-Server | – |
| SMTP-Port |
|
| SMTP SSL (true = Port 465) |
|
| Absendername | – |
Die .env-Datei wird automatisch geladen — es sind keine Umgebungsvariablen im MCP-Client nötig.
MCP-Integration (mcporter / Claude / VS Code)
{
"mcpServers": {
"mailmcp": {
"command": "node /pfad/zu/mailmcp/dist/server.js"
}
}
}Dateistruktur
mailmcp/
├── src/
│ ├── server.ts # MCP Server & Tool-Definitionen
│ ├── imap-client.ts # IMAP-Verbindung & E-Mail-Parsing
│ ├── smtp-client.ts # SMTP-Versand via nodemailer
│ └── config.ts # Konfiguration via .env
├── package.json
├── tsconfig.json
├── .env # Credentials (nicht einchecken!)
├── .env.example
└── .gitignoreThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/moellerm1968/localEmailMCPServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server