gmail-mcp-server
gmail-mcp-server
独立的 Gmail MCP 服务器 — 仅草稿。Lane 从不发送;唯一的工具会创建一封 Gmail 草稿,由所有者审阅后自行发送。
工具
gmail_draft_compose
创建一封 Gmail 草稿。
参数 | 类型 | 必填 | 备注 |
| string | 否 | 回退到 |
| string | 否 | 如果未知则留空 — 所有者在审阅草稿时填写 |
| string | 是 | |
| string | 是 | 纯文本 |
返回 { draftId, messageId, draftUrl }。
此服务器中没有发送工具,也没有读取工具,更没有标签/线程管理 — 它只撰写草稿。
Related MCP server: AVA
安装 / 开发
npm install
npm run dev # run the server via tsx
npm run build # compile to dist/
npm run check # test + build认证
需要具有 gmail.compose 作用域的 OAuth 2.0 访问令牌 — 绝不使用 gmail.send。通过 GMAIL_ACCESS_TOKEN 设置,或每次调用时传入 accessToken。参见 .env.example。
Available Tools
1 toolgmail_draft_composeA
Create a Gmail draft. Draft-only — this server has no send capability. The owner reviews the draft in Gmail and sends it themselves.
Inputs: body (required), subject (required), to, accessToken.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools. The single tool's purpose is clearly stated.
The single tool name follows a clear verb_noun pattern (gmail_draft_compose), but with only one tool there is limited evidence of a broader convention. It is readable and predictable.
A single tool for a Gmail server is far too thin to be useful. The server's apparent scope is much broader than drafting, and one tool cannot reasonably cover it.
The surface is severely incomplete. There is no send, read, list, search, or delete capability, and the tool only creates drafts, leaving the agent with a dead end after composing.
Maintenance
Related MCP Connectors
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…
Email inboxes for AI agents: send, reply, read verification codes, human-approved drafts.
Policy-guarded Gmail for AI agents: search, read, draft and send under rules you set.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with Gmail through the Gmail API, allowing users to list, read, search emails, create and send drafts, and get email summaries through natural language commands with OAuth2 authentication.-
- AlicenseCqualityDmaintenanceEnables AI agents to create Gmail drafts safely using the Gmail API, without sending emails.11MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create Gmail drafts and append content to Google Docs, supporting automated review analysis and notification workflows.482 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to create, list, update, and delete Microsoft 365 email drafts, with a hard guarantee that no message can be sent automatically, ensuring human review before any email goes out.1240 PyPIMIT