MCP Catalogs
首页

google-workspace-mcp

by aaronsb·150·综合分 51

一款生产就绪的 MCP 服务器,提供对 Google Workspace API(包括 Gmail、日历、Drive、表格等)的认证访问。

productivitycommunicationcloud-storage
48
Forks
4
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Google Workspace MCP Server 是一个全面的实现,将 AI 代理与 Google 生产力套件连接起来。它采用清单驱动的工厂方法,将 YAML 配置转换为功能性的 MCP 工具,实现对 15+ 种 Google 服务的访问,约 80 种操作。该服务器因其强大的架构而脱颖而出,利用 Google 官方的 Workspace CLI 作为底层引擎,同时添加特定领域的格式化和针对 AI 消费优化的响应处理。多账户支持和凭证隔离使其适合个人和企业使用场景。

试试问 AI

装完之后,这里有 6 个你可以让 AI 做的事:

:AI 助手通过自然对话管理邮件筛选和日程安排
:自动化 Gmail、Drive 和 Google Sheets 之间的文档工作流
:个人生产力 AI 处理个人和工作 Google 档案之间的跨账户操作
:支持哪些 Google Workspace 服务?
:Google 凭证如何存储和管理?
:能否同时处理多个 Google 账户?

什么时候选它

当您需要通过 AI 代理全面、安全地访问 Google Workspace 服务时,选择此 MCP 服务器,尤其是当您已经在使用 Google Workspace API 并希望利用清单驱动的架构进行轻松扩展时。

什么时候不要选它

如果您需要访问非 Google 服务或担心对 Google 生态系统的厂商锁定,请不要选择此服务器,因为它专为 Google Workspace API 设计。

此 server 暴露的工具

从 README 抽取出 11 个工具
  • manage_email

    Gmail — search, read, send, reply, forward, triage, trash, labels, threads, attachments

  • manage_calendar

    Calendar — list, agenda, get, create, quickAdd, update, delete, calendars, freebusy

  • manage_drive

    Drive — search, get, upload, download, copy, rename, delete, export, permissions, comments

  • manage_sheets

    Sheets — read/write ranges, append, clear, manage tabs, copy/duplicate/rename

  • manage_docs

    Docs — get, create, append, insert text, find-and-replace

  • manage_tasks

    Tasks — list/create/update/complete tasks and task lists

  • manage_meet

    Meet — browse past conferences, participants, transcripts, recordings, smart notes

  • manage_accounts

    Multi-account lifecycle — add accounts, manage credentials and scopes

  • manage_scratchpad

    Compose/edit multi-line content, attach files, send to any target

  • manage_workspace

    File operations in the workspace sandbox

  • queue_operations

    Chain operations sequentially with result references

可对比工具

microsoft-graph-mcpimap-mcpcalendar-mcpgmail-mcpdrive-mcp

安装

MCPB 捆绑包(推荐)

从[最新版本](https://github.com/aaronsb/google-workspace-mcp/releases)下载适用于您平台的 .mcpb 捆绑包

npm 安装

npm install @aaronsb/google-workspace-mcp

Claude Desktop 配置

添加到 claude_desktop_config.json

{
  "mcpServers": {
    "google-workspace": {
      "command": "npx",
      "args": ["@aaronsb/google-workspace-mcp"],
      "env": {
        "GOOGLE_CLIENT_ID": "your-client-id",
        "GOOGLE_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

先决条件

  1. Node.js 18+
  2. 来自 https://console.cloud.google.com/apis/credentials 的 Google Cloud OAuth 凭证

FAQ

支持哪些 Google Workspace 服务?
当前支持 7 个主要服务:Gmail、日历、Drive、表格、文档、任务和会议,这些服务共有约 80 种操作。完整的 API 覆盖范围记录在 docs/coverage.md 中。
Google 凭证如何存储和管理?
凭证遵循 XDG 基础目录规范,每个账户存储在 ~/.local/share/google-workspace-mcp/credentials/ 中,使用标准的 OAuth 令牌。项目目录中不存储任何秘密。
能否同时处理多个 Google 账户?
是的,它支持多账户操作,每个账户有凭证隔离,允许代理同时处理个人和工作账户。

google-workspace-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。