What are the prerequisites?
Python 3.7 or higher, `uv` installed, a Gmail account with IMAP enabled, and an App Password if 2‑Step Verification is enabled.
@gnmahanth
基本信息
mcp server for downloading attachments from gmail using imap
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"gmail-attachment-mcp-server": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Gmail Attachment MCP Server is a FastMCP server that downloads attachments from Gmail messages using the Message Control Protocol (MCP). It connects to Gmail via IMAP over SSL and requires a Gmail account with IMAP enabled and an App Password if 2‑Step Verification is active. It is intended for developers or automation workflows that need to programmatically retrieve email attachments.
Set environment variables GMAIL_USERNAME, GMAIL_PASSWORD, and optionally GMAIL_IMAP_SERVER (defaults to imap.gmail.com). Install dependencies with uv sync, then start the server with python server.py or mcp run server.py. Invoke the download_attachments_tool() with a hexadecimal message ID and an optional download folder (defaults to ./attachments).
Python 3.7 or higher, `uv` installed, a Gmail account with IMAP enabled, and an App Password if 2‑Step Verification is enabled.
Set `GMAIL_USERNAME` (your full Gmail address) and `GMAIL_PASSWORD` (your App Password). The IMAP server defaults to `imap.gmail.com` and can be overridden with `GMAIL_IMAP_SERVER`.
The server communicates over stdio, as shown in the MCP Inspector and Goose configuration examples.
Attachments are saved to `./attachments` unless the `download_folder` parameter is specified.
No. For Gmail accounts with 2‑Step Verification, you must generate and use an App Password. See Google’s documentation for instructions.
LinkedIn MCP server for Claude, ChatGPT, Cursor & Codex. Read LinkedIn DMs, search your network, enrich profiles and draft messages you review before sending.

Send, receive and track real faxes in the US and Canada from Claude, ChatGPT or Cursor.
Business email on your own domain for AI agents. Read, search and send mail, manage mailboxes and aliases, and set up DNS automatically, with unlimited mailboxes on one flat plan.
Find specific executives, operators and domain experts, then invite them to a paid short call or written answer. You pay only if they book or answer.
Telehealth support for Claude, Codex and Cursor. Investigate stuck orders and billing issues, review case evidence, connect your tools and prepare next steps with Summer.
评论