
Mcp Gee Sweet
io.github.khuisman由 GitHub 账号 khuisman 发布v0.9.5更新于 Nov 1, 2026
MCP server for Google Workspace — Sheets, Drive, Docs (HTML or Markdown), Calendar, and Gmail.
概览
本地 MCP 服务器,让 AI 助手深度读写 Google 表格、云端硬盘、文档、日历和 Gmail。
- 可以做什么
- 读写 Google 表格,包括原始公式、批量操作、图表和结构变更
- 管理云端硬盘文件、权限与共享、版本历史,并与本地文件夹双向同步
- 用 HTML 或 Markdown 构建和编辑 Google 文档,支持表格、区域样式和主题
- 创建、修改和删除日历事件,并在多个日历间查找空闲时段
- 搜索、读取、发送和回复 Gmail 邮件与会话,管理草稿和标签
- 适用场景
- 适合希望助手直接在 Google Workspace 账号内工作的场景:编辑电子表格和文档、整理云端硬盘文件、安排会议或处理邮件。也适合想用一个服务器覆盖多项 Workspace 服务、而不分别接入多个集成的用户。
- 运行要求
- 以 stdio 本地进程运行,可用 uvx 安装,或克隆仓库后用 uv 运行;Docker 仅用于共享的 SSE 服务器。需要 Google 凭据:通过 CREDENTIALS_PATH 提供 OAuth 客户端 JSON,并用 TOKEN_PATH 缓存一次性浏览器登录的令牌;或通过 SERVICE_ACCOUNT_PATH、CREDENTIALS_CONFIG 使用服务账号。Gmail 工具仅支持 OAuth。有工具数量上限的客户端需用 ENABLED_TOOLS 设置子集。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Gee Sweet,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-gee-sweet gives AI clients deep, direct access to Google Sheets, Docs, Drive, Calendar, and Gmail. It reads raw formulas like =VLOOKUP(), builds Docs structurally (colspan/rowspan tables, themes, named styles, an HTML/Markdown→AST→Docs pipeline), and covers Drive files, sharing, and sync alongside Calendar events and Gmail messages, threads, and drafts.
A few highlights:
- Caching — repeated reads return in ~2ms from a local cache instead of a round-trip API call every time.
- Formula access — reads raw
=VLOOKUP(),=SUM(), and=IF()expressions, not just the values they produce. - Local sync — two-way sync between a local folder and Google Drive.
Install (stable):
Install (bleeding edge — every code change on develop):
What's covered
Quick start
Option A: uv — local use and development
If you cloned the repo or just want to use the server from your machine, uv is all you need. No Docker required.
Then point your MCP client at it using stdio transport (see MCP client config below). The client spawns the server as a subprocess on demand — each session gets its own isolated process, so restarting the server for a code change or config update doesn't affect other open sessions.
Option B: Docker — persistent shared server (SSE)
Use Docker when you want a single long-running server that multiple clients connect to over SSE — for example, Claude Desktop talking to the same instance as Claude Code.
Point your MCP client at http://localhost:47000/sse, sending the token from .env as an Authorization: Bearer <token> header (see the SSE config below). The server rejects any request without it. Without Docker, --transport sse and --transport streamable-http listen on 127.0.0.1 only, and need MCP_SERVER_TOKEN to serve on any other address; see HTTP transport authentication.
Note: when using SSE, all clients share one server process. After a code change or restart (
make restart), you must also restart each MCP client to reconnect.
Configuration
The server tries auth methods in a waterfall by default, OAuth first — it authenticates as you and has full personal Drive access, which is what local/dev use (Option A above) needs. For OAuth, download an OAuth Client ID JSON from GCP Console and point the server at it:
Pass the same CREDENTIALS_PATH and TOKEN_PATH in your MCP client's env. A stdio server with no token doesn't open a browser itself. Instead its first tool call offers you the Google consent link (or you run mcp-gee-sweet auth), and you retry the call. A token revoked mid-session is handled the same way, with no restart.
Service accounts (recommended for headless server deployments, see Option B above), base64 credential injection, and Application Default Credentials are also supported. Gmail tools need OAuth. See Authentication for all options.
MCP client config
Claude Desktop — one-click bundle: download mcp-gee-sweet-<version>.mcpb from the latest GitHub Release and open it in Claude Desktop. It asks for your OAuth client file and needs no config editing (details).
Claude Desktop — stdio (cloned repo):
Claude Desktop — SSE (Docker):
See Client Setup for more options including tool filtering.
Using a client with a tool limit
Some MCP clients cap how many tools they accept, and with every tool registered this server is over each cap:
On these clients, set ENABLED_TOOLS in the server's env to one of the suggested subsets, each under 100 tools, e.g. all Docs tools, or Docs + Drive combined. Clients with a tool limit has a ready-to-paste config for VS Code, Cursor, and Windsurf.
Docs
- Tools — full tool reference, grouped by domain
- Authentication — all four auth methods
- Configuration — env vars, caching, tool filtering
- Client Setup — MCP client config examples
- Design Principles — tool inclusion policy, composite tool decisions
- Roadmap — planned features and known gaps
Contributing
See CONTRIBUTING.md for setup, QA workflows, and PR guidelines. A signed-off docs/qa/runs/vX.Y.Z.md record is required before any stable PyPI release — see docs/qa/README.md for the QA workflow.
License
MIT — see LICENSE.
Credits
- xing5/mcp-google-sheets — upstream this project was forked from
- FastMCP
- freema/mcp-gsheets and piotr-agier/google-drive-mcp — roadmap inspiration
来源:README.md,提交 730b7dc
工具
0版本历史
6- v0.9.5最新Oct 25, 2026
- v0.9.4Oct 23, 2026
- v0.9.3Oct 21, 2026
- v0.9.2Oct 18, 2026
- v0.9.1Oct 4, 2026
- v0.9.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
