
Gmail
io.github.markswendsen-code由 GitHub 账号 markswendsen-code 发布v0.1.0更新于 Oct 25, 2026
Gmail MCP server — send, read, and search email. By Strider Labs.
概览
本地 Gmail 连接器,让助手用用户自己的 Google 账号发送、搜索、列出和读取邮件。
- 可以做什么
- 从用户的 Gmail 账号发送邮件,可带抄送和密送收件人,主题和正文由助手或用户提供。使用 Gmail 搜索语法检索邮箱,并可限制返回结果数量。列出收件箱最近的邮件,可按 INBOX、UNREAD 等标签筛选。按 Gmail 邮件 ID 读取某封邮件的完整内容。
- 适用场景
- 适合让助手分拣来信、查找历史对话、起草或发送回复,或代你发送消息。适用于只需一个 Gmail 账号的个人或小团队场景。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js。需要一个启用 Gmail API 的 Google Cloud 项目及 OAuth 2.0 凭据:必须在客户端配置中设置 GOOGLE_CLIENT_ID、GOOGLE_CLIENT_SECRET 和 GOOGLE_REFRESH_TOKEN。需要访问 Google 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Gmail,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@striderlabs/mcp-gmail
MCP server that gives AI agents the ability to send, read, and search email via Gmail.
For Agents
Agents use this connector to handle email autonomously on behalf of their human — reading important messages, searching for information, composing thoughtful replies, and sending communications.
Example agent workflows:
- Triage emails: Agent reads new messages, summarizes important ones, and flags urgent items for user attention
- Answer routine questions: Agent searches email history to find information, composes replies with context from past conversations
- Send on behalf: Agent drafts and sends professional emails based on user intent ("Let the team know I'll be late"), then logs a copy to the conversation
Usage example:
User: "Has anyone replied to my email about the Q2 budget proposal?"
Agent:
gmail_search→"to:me subject:budget"gmail_read→ Read each message- Return summary: "Sarah replied yes on Monday. Mark asked for revisions. No word from Finance yet."
Then agent might automatically draft a follow-up to Finance and ask for approval before sending.
Installation
Configuration
Add to your MCP client configuration (e.g., Claude Desktop):
Available Tools
gmail_send
Send an email from the user's Gmail account.
Parameters:
to(required): Recipient email addresssubject(required): Email subject linebody(required): Email body contentcc(optional): CC recipientsbcc(optional): BCC recipients
gmail_search
Search emails using Gmail search syntax.
Parameters:
query(required): Gmail search query (e.g., "from:[email protected]")maxResults(optional): Maximum results (default: 10)
gmail_read
Read the full content of a specific email.
Parameters:
messageId(required): The Gmail message ID
gmail_list
List recent emails from the inbox.
Parameters:
maxResults(optional): Maximum emails to list (default: 10)label(optional): Filter by label (e.g., "INBOX", "UNREAD")
Getting Google OAuth Credentials
- Go to Google Cloud Console
- Create a new project or select existing
- Enable the Gmail API
- Create OAuth 2.0 credentials
- Use the OAuth playground or your app to get a refresh token
Response Format
All tools return structured JSON:
Part of Strider Labs
Strider Labs builds action execution infrastructure for AI agents.
- Website: https://striderlabs.ai
- GitHub: https://github.com/striderlabs
License
MIT
来源:README.md,提交 0d8196d
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。