MCP.so
登录
G

Gmail MCP Server

@klodr

基本信息

分类

沟通协作

传输方式

stdio

作者

klodr

提交者

Claude R Perrin

关于 Gmail MCP Server

Gmail MCP server with scope-gated tools (readonly / send / modify), path jails for attachments and downloads, hardened OAuth credentials, and Sigstore-signed releases. Read, search, send, draft, label, filter, and thread Gmail from any MCP-enabled AI assistant.

Gmail MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": [
        "-y",
        "@klodr/gmail-mcp"
      ]
    }
  }
}

Gmail MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Gmail Mcp?

Gmail Mcp reads, searches, sends, drafts, labels, filters, and threads Gmail from any MCP-enabled AI assistant. It wraps the Gmail API with scope-gated tools and in-process safeguards.

How to use Gmail Mcp?

Install globally via npm install -g @klodr/gmail-mcp or invoke directly with npx -y @klodr/gmail-mcp. Authenticate using the auth subcommand with a chosen OAuth scope. Add the server to your MCP client configuration as shown in the README. Requires Node.js 22+.

Key features of Gmail Mcp

  • Scope-gated tools filtered by granted OAuth scopes.
  • Path jails restrict attachment and download directories.
  • Hardened OAuth with file mode 0o600 and TOCTOU defense.
  • Per-bucket daily and monthly rate limits for sensitive actions.
  • Opt-in append-only JSONL audit log of tool calls.
  • Sigstore-signed releases with SLSA attestation and SBOM.

Use cases of Gmail Mcp

  • Read and search Gmail messages without send permissions.
  • Send emails using a read-only agent after re-authentication.
  • Manage labels and filters programmatically.
  • Draft messages and thread replies via AI assistants.
  • Log all Gmail tool usage for compliance or debugging.

常见问题

1

What OAuth scopes are supported?

`gmail.readonly`, `gmail.send`, and `gmail.modify` are supported; tool lists are filtered at startup based on the granted scope.

2

What are the runtime requirements?

Node.js 22 or higher is required.

3

Does Gmail Mcp impose rate limits?

Yes, per-bucket daily and monthly caps apply to send, delete, modify, drafts, labels, and filters.

4

How are attachments secured?

Path jails restrict where the agent can read and write, blocking exfiltration of sensitive files like `~/.ssh/id_rsa`.

5

Is an audit log available?

Yes, an opt-in append-only JSONL log records every tool call (redacted) for auditing purposes.

评论

沟通协作 分类下的更多 MCP 服务器