Gmail MCP
@ykuchiki
关于 Gmail MCP
MCP server for Gmail API implemented in Python. Enables AI Agents to send, receive, search emails and manage labels in Gmail.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"gmail-mcp-ykuchiki": {
"command": "uv",
"args": [
"init"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Gmail MCP?
Gmail MCP is a server implementation that enables AI assistants to interact with Gmail through the Model Context Protocol (MCP). It provides tools for sending emails, managing drafts, reading emails, searching through your inbox, and managing Gmail labels. It uses OAuth2.0 authentication with the Gmail API.
How to use Gmail MCP?
Set up a Google Cloud Platform project with the Gmail API enabled, download OAuth credentials as credentials/client_secret_gmail_oauth.json, and install Python dependencies using uv. Then configure your MCP client to point to the server with uv run main.py. On first run, you will be prompted to authenticate with your Gmail account.
Key features of Gmail MCP
- Send emails and create drafts
- Read and search emails
- Delete emails
- Manage Gmail labels (create, update, delete)
- OAuth2.0 authentication with Gmail API
Use cases of Gmail MCP
- AI assistant composing and sending emails on behalf of a user
- Searching and summarizing recent emails from the inbox
- Managing labels to categorize threads automatically
- Deleting unwanted emails programmatically
FAQ from Gmail MCP
What are the prerequisites?
Python 3.11 or higher, a Gmail account, a Google Cloud Platform project with the Gmail API enabled, and the uv package installer.
How do I set up OAuth credentials?
Create a project in Google Cloud Console, enable the Gmail API, create OAuth credentials, download the JSON file, and save it as credentials/client_secret_gmail_oauth.json in the project root.
What MCP clients are supported?
The server works with any MCP‑compatible client. Specific client integration instructions should be sought from the client’s official documentation.
How does authentication work?
The server uses OAuth 2.0. On first run, it prompts the user to authenticate with their Gmail account.
What runtime dependencies are required?
All dependencies are listed in requirements.txt and installed via uv pip install -r requirements.txt. The server is invoked using uv run main.py.
沟通协作 分类下的更多 MCP 服务器
MCP Headless Gmail Server
baryhuangA MCP (Model Context Protocol) server that provides get, send Gmails without local credential or token setup.
MCP Email Server
Shy2593666979一个基于 MCP (Model Context Protocol) 的邮件服务,支持 LLM 发送带附件的电子邮件及在指定目录中搜索文件。提供安全的 SMTP 传输、多收件人支持和附件模式匹配搜索功能,适用于 Gmail、Outlook、Yahoo、QQ 邮箱和网易 126 邮箱等主流邮箱服务。
Telegram MCP Server
chigwellTelegram MCP server powered by Telethon to let MCP clients read chats, manage groups, and send/modify messages, media, contacts, and settings.
Modular Outlook MCP Server
ryakerMCP server for Claude to access Outlook data via Microsoft Graph API
feishu-tools-mcp
Li-vienMCP server provides Feishu related operations to AI encoding agents such as cursor 飞书MCP插件,读取文档、发送消息、合同审批、数据处理.....
评论