
aaronsb/google-workspace-mcp 是从 https://github.com/aaronsb/google-workspace-mcp. 导入的 MCP 服务器候选
概览
aaronsb/google-workspace-mcp 是从 https://github.com/aaronsb/google-workspace-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
让你的AI代理真正访问Google Workspace——Gmail、日历、云端硬盘、文档、表格、任务、见面和联系人——从一个MCP服务器,跨越你拥有的多个账户。
搜索邮件,查看日历,写文档,提交任务——以对话形式,以你自己身份。
安装
首先,你需要Google OAuth凭证——这是每个路径共有的前提条件:
- 前往 console.cloud.google.com/apis/credentials
- 创建一个OAuth 2.0客户端ID,应用类型桌面应用
- 启用你想要的API(Gmail、日历、云端硬盘、表格、文档、任务、Meet——以及联系人API,谷歌在控制台里就是这么称呼的)
- 随身携带客户ID和客户秘密——你会把它们粘贴在下面
然后选择符合你工作方式的路径。这三个服务器都运行同一台服务器。
节点22.12或更新。(节点18和20均已终止生命。)
📦 → 🤖 Claude Desktop — 一键安装 .mcpb (推荐)
从最新版本下载**google-workspace-mcp.mcpb,然后拖到Claude桌面窗口**,或者双击。
Claude Desktop 会打开一个包含三个字段的安装对话框:
| 场 |
|---|
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Google Workspace MCP Server
Give your AI agent real access to Google Workspace — Gmail, Calendar, Drive, Docs, Sheets, Tasks, Meet and Contacts — from one MCP server, across as many accounts as you have.
Search your mail, check your calendar, write a doc, file a task — in conversation, as yourself.
Install
First, you need Google OAuth credentials — the one prerequisite common to every path:
- Go to console.cloud.google.com/apis/credentials
- Create an OAuth 2.0 Client ID, application type Desktop app
- Enable the APIs you want (Gmail, Calendar, Drive, Sheets, Docs, Tasks, Meet — and People API for contacts, which is what Google calls it in the console)
- Keep the Client ID and Client Secret handy — you’ll paste them in below
Then pick the path that matches how you work. All three run the same server.
Node 22.12 or newer. (Node 18 and 20 are both end-of-life.)
📦 → 🤖 Claude Desktop — one-click .mcpb install (recommended)
Download google-workspace-mcp.mcpb from the latest release, then drag it onto the Claude Desktop window, or double-click it.
Claude Desktop opens an install dialog with three fields:
| Field | |
|---|---|
| Google OAuth Client ID | required — from the step above |
| Google OAuth Client Secret | required — from the step above |
| Workspace Directory | optional — where attachments, downloads and exports land. Defaults to ~/.local/share/google-workspace-mcp/workspace/. Give it a dedicated folder — not your home, Documents, Desktop, or a Google Drive folder. |
Paste, hit Save, done. No JSON to edit, no Node to install, no paths to get right — the bundle carries the server and every dependency.
One bundle covers every platform — macOS (Intel and Apple Silicon), Linux (x64 and ARM64), and Windows. There is nothing to choose: the server is pure JavaScript, so there is no platform-specific payload to pick between.
安装
npx -y @aaronsb/google-workspace-mcp配置
{
"mcpServers": {
"google-workspace": {
"command": "npx",
"args": ["-y", "@aaronsb/google-workspace-mcp"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret"
}
}
}
}