Skip to main content
Glama
gmail-mcp-server

gmail-mcp-server

by luminarylane

gmail-mcp-server

独立的 Gmail MCP 服务器 — 仅草稿。Lane 从不发送;唯一的工具会创建一封 Gmail 草稿,由所有者审阅后自行发送。

工具

gmail_draft_compose

创建一封 Gmail 草稿。

参数

类型

必填

备注

accessToken

string

否

回退到 GMAIL_ACCESS_TOKEN 环境变量

to

string

否

如果未知则留空 — 所有者在审阅草稿时填写

subject

string

是

body

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 tool
gmail_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

    A3.6/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion between tools. The single tool's purpose is clearly stated.

    Naming Consistency4/5

    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.

    Tool Count1/5

    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.

    Completeness1/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      12
      40 PyPI
      MIT