IMAP MCP Server
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., "@IMAP MCP Serversearch for unread emails from 'GitHub' and show me their subjects"
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.
IMAP MCP Server
Status: Getestet
MCP (Model Context Protocol) Server für IMAP Email-Operationen.
Installation
cd IMAP-MCP
pip install -e .Related MCP server: Email MCP Server
Konfiguration
Kopiere
config.json.examplezuconfig.jsonTrage deine IMAP-Zugangsdaten ein:
{
"imap": {
"host": "imap.example.com",
"port": 993,
"secure": true
},
"credentials": {
"username": "deine-email@example.com",
"password": "dein-app-passwort"
}
}Verwendung
Als MCP Server starten
imap-mcpIn Claude Code einbinden
In ~/.claude/settings.json:
{
"mcpServers": {
"imap": {
"command": "python",
"args": ["-m", "imap_mcp.server"],
"cwd": "/pfad/zu/IMAP-MCP/src"
}
}
}Funktionen (38 Tools)
Verbindung
Funktion | Beschreibung |
connect | IMAP-Verbindung aufbauen |
authenticate | Login mit Username/Passwort |
disconnect | Verbindung schliessen |
auto_connect | Mit config.json Credentials verbinden |
Mailboxen
Funktion | Beschreibung |
list_mailboxes | Alle Ordner auflisten |
select_mailbox | Ordner oeffnen |
create_mailbox | Neuen Ordner erstellen |
get_mailbox_status | Status (Anzahl, Ungelesen, etc.) |
Emails lesen
Funktion | Beschreibung |
fetch_emails | Emails abrufen mit Filtern |
get_email | Komplette Email per UID |
get_email_headers | Nur Header (schneller) |
get_email_body | Body (text/html) |
get_attachments | Anhaenge auflisten |
download_attachment | Anhang herunterladen (base64) |
get_thread | Email-Thread/Konversation |
Suche
Funktion | Beschreibung |
search_emails | Freie Suche (IMAP SEARCH) |
search_by_sender | Nach Absender |
search_by_subject | Nach Betreff |
search_by_date | Nach Datum |
search_unread | Alle ungelesenen |
search_flagged | Alle markierten |
Aktionen
Funktion | Beschreibung |
mark_read | Als gelesen markieren |
mark_unread | Als ungelesen markieren |
flag_email | Flag hinzufuegen |
unflag_email | Flag entfernen |
move_email | In anderen Ordner verschieben |
copy_email | In anderen Ordner kopieren |
archive_email | Archivieren |
save_draft | Entwurf speichern |
Statistiken
Funktion | Beschreibung |
get_unread_count | Anzahl ungelesener Emails |
get_total_count | Gesamtanzahl |
Cache & Watch
Funktion | Beschreibung |
get_cached_overview | Gecachte Uebersicht |
refresh_cache | Cache aktualisieren |
start_watch | IDLE Watch starten |
stop_watch | IDLE Watch stoppen |
idle_watch | Einzelne Mailbox beobachten |
Auto-Archive
Funktion | Beschreibung |
get_auto_archive_list | Auto-Archive Sender auflisten |
add_auto_archive_sender | Sender hinzufuegen |
remove_auto_archive_sender | Sender entfernen |
reload_auto_archive | Config neu laden |
Lizenz
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables comprehensive email management through IMAP/SMTP protocols with tools for searching, organizing, moving, flagging, and sending emails across various email providers. Features safe preview mode for destructive operations and supports multiple email providers including Gmail, Outlook, and Chinese email services.9MIT
- AlicenseCqualityDmaintenanceEnables interaction with email servers through IMAP protocol for managing emails, folders, and messages. Supports operations like listing folders, retrieving messages, searching, moving, deleting, and managing flags with type-safe validation.1038MIT
- AlicenseBqualityDmaintenanceEnables users to connect to their email inbox via IMAP to search, filter, and summarize emails based on criteria like subject, date, and sender. Supports marking emails as read and provides customizable email summarization with various prompt options.261ISC
- AlicenseAqualityFmaintenanceEnables AI assistants to read, search, compose, and send emails by connecting to any IMAP/SMTP provider. It supports comprehensive mailbox management, including draft handling and message deletion, directly through natural language.101889MIT
Related MCP Connectors
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…
AI email inbox and sending tools with attachments, search, live events, and webhooks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Soundhannes/IMAP-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server