imap-mcp
imap-mcp
IMAP 클라이언트 MCP입니다. Dovecot / Synology MailPlus 메일함에서 메일을 읽고, 선택적으로 새 메시지가 도착하면 웹훅을 실행합니다. 자동화 트리거를 위해 불안정한 Gmail OAuth를 대체합니다.
도구
도구 | 설명 |
| 읽지 않은 메시지 요약 |
| 원시 IMAP SEARCH |
| 전체 메시지 (헤더 + 텍스트 + html) |
|
|
| 다른 폴더로 이동 |
| 모든 폴더 |
| IMAP 핑 + 감시 규칙 + 실행 횟수 |
Related MCP server: @aiwerk/mcp-server-imap
환경 변수
변수 | 필수 | 설명 |
| ✓ | 서버 (예: |
| 기본값 | |
|
| |
| ✓ | 이메일이 아닌 Synology 계정 이름 |
| ✓ | |
| 기본값 | |
| 감시 규칙의 인라인 JSON 배열 | |
| JSON 파일 경로 (기본값 | |
| 기본값 | |
| MCP 서버 포트 (기본값 |
감시 규칙
[
{
"name": "garmin-livetrack",
"mailbox": "INBOX",
"criteria": "FROM \"noreply@garmin.com\" SUBJECT \"LiveTrack\" UNSEEN",
"webhook_url": "http://host.docker.internal:5678/webhook/livetrack-mail",
"mark_read": true,
"move_to": null
}
]시작 시 감시자는 기존에 일치하는 UID로 각 규칙을 "준비(prime)"하므로, 부팅 후 새로 도착한 메일만 실행됩니다. POLL_INTERVAL_SECS마다 각 규칙의 기준을 다시 실행하고 일치하는 메시지(전체 본문)를 { "rule": "...", "mailbox": "...", "message": {...} } 형식으로 webhook_url에 POST합니다. 성공적으로 POST한 후에는 메시지를 move_to로 이동하거나 mark_read가 설정된 경우 읽음으로 표시합니다.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your IMAP mailbox as an MCP server: read, search and (if you allow it) organize mail. Open source.
Hosted MCP server for your Gmail, Outlook and IMAP mail, with mailboxes and scopes set per agent.
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI models to read, search, and send emails via IMAP and SMTP protocols. It supports various providers like Gmail and Outlook, allowing for tasks such as retrieving unread messages, searching by sender, and managing mailbox folders.-
- AlicenseBqualityCmaintenanceUniversal IMAP/SMTP MCP server that works with any email provider, providing tools to read, search, send, and manage emails.10242 npm1MIT
- AlicenseAqualityDmaintenanceMCP server that enables email management (send, read, search, delete, etc.) via IMAP/SMTP, compatible with Gmail, Outlook, Yahoo, iCloud, and other standard mail servers.1139 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for reading and sending emails via IMAP and SMTP, designed for Zimbra and any standard mail host.12 npm1ISC