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.
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/Soundhannes/IMAP-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server