
evolsb/claude-code-google-workspace
Productivity workflow이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Multi-account Google Workspace (Gmail, Drive, Calendar, Sheets, Docs) + Claude 코드에 대한 Slack MCP 서버. CLAUDE.md를 이용한 설치 가이드.
개요
Gmail, Google Drive, Calendar, Sheets, Docs 및 Slack에 Claude Code 액세스 권한을 부여합니다. Claude Desktop 및 Claude Cowork는 Google Workspace 통합을 구축했습니다. - toggle을 플립하고 연결됩니다. 3 월 2026 일부터 공식 통합이 없습니다. 멀티 계정과 설정하는 방법에 대한 문서가 없습니다. 이 repo는 연구의 ~6 시간의 결과이고 그것을 일하기 위하여 벌레잡기 입니다. 최종 솔루션은 간단하지만 Claude Code의 MCP 시스템, Google의 OAuth2 구현 및 gws CLI의 여러 문서화 된 행동을 발견해야합니다. 그것은 하나의 문제가 아닙니다 - 그것은 그들의 더미입니다, 각 undocumented: 1. settings.local.json에 mcpServers를 넣으면 서버가 시작할 수 없습니다. 오류 없음. 로그 없음. JSON 문법을 재시작하고 재검사할 수 있습니다. config는 프로젝트 루트에서 .mcp.json 에 있어야 합니다. (클래드 코드 이슈 #24477) 2. 명세.
개요(AI 번역)
Gmail, Google Drive, Calendar, Sheets, Docs 및 Slack에 Claude Code 액세스 권한을 부여합니다.
배경
Claude Desktop 및 Claude Cowork는 Google Workspace 통합을 구축했습니다. - toggle을 플립하고 연결됩니다. **Claude 코드는 아무것도 없습니다. ** 3 월 2026 일부터 공식 통합이 없습니다. 멀티 계정과 설정하는 방법에 대한 문서가 없습니다.
이 repo는 연구의 ~6 시간의 결과이고 그것을 일하기 위하여 벌레잡기 입니다. 최종 솔루션은 간단하지만 Claude Code의 MCP 시스템, Google의 OAuth2 구현 및 gws CLI에서 여러 문서화 된 행동을 발견해야합니다.
이 열심히 만드는 것
그것은 하나의 문제가 아닙니다 - 그것은 그들의 더미입니다, 각 undocumented:
-
**Claude 코드가 침묵적으로 잘못된 파일에 MCP 구성을 무시합니다. **
mcpServers에서settings.local.json] 를 넣으면 서버가 시작되지 않습니다. 오류 없음. 로그 없음. JSON 문법을 재시작하고 재검사할 수 있습니다. config는 프로젝트 루트에서.mcp.json]로 이동합니다. (클래드 코드 이슈 #24477) -
** 두 개의 Google 계정을위한 하나의 OAuth 클라이언트는 둘 다 깰.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Multi-Account Google Workspace + Slack MCP for Claude Code
Give Claude Code access to Gmail, Google Drive, Calendar, Sheets, Docs, and Slack — with full support for multiple Google accounts (e.g., personal + work).
Background
Claude Desktop and Claude Cowork have built-in Google Workspace integrations — flip a toggle and you’re connected. Claude Code has nothing. As of March 2026, there’s no official integration, no plugin that handles multi-account, and no documentation on how to set it up.
This repo is the result of ~6 hours of research and debugging to get it working. The final solution is simple, but getting there required discovering several undocumented behaviors in Claude Code’s MCP system, Google’s OAuth2 implementation, and the gws CLI.
What makes this hard
It’s not one problem — it’s a stack of them, each undocumented:
-
Claude Code silently ignores MCP config in the wrong file. If you put
mcpServersinsettings.local.json(where you’d expect it), servers don’t start. No error. No log. You can spend hours restarting and re-checking JSON syntax. The config must go in.mcp.jsonat the project root. (Claude Code Issue #24477) -
One OAuth client for two Google accounts breaks both. Google invalidates account A’s refresh token when you authenticate account B with the same OAuth client. You need separate OAuth Desktop App clients — one per account — in the same GCP project.
-
The credential file env var doesn’t work.
GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILEis supposed to let you point the Google Workspace CLI at different credential files, but it doesn’t reliably route to the right account. You have to mint fresh access tokens and pass them viaGOOGLE_WORKSPACE_CLI_TOKEN(the highest-priority auth method). -
Go binaries use single-dash flags. Both the
gwsCLI andslack-mcp-serverare Go binaries.--transport stdiofails silently. It’s-t stdio— or just omit it (stdio is the default). -
MCP servers only start at session launch. Config changes don’t take effect until you restart Claude Code entirely.
Each of these individually cost 30-120 minutes to diagnose. Together they make the setup feel broken when it’s actually a solvable configuration problem.
What we tried and rejected
| Approach | Why It Failed |
|---|---|
Legacy google-workspace Claude Code plugin |
Single-account only, port 8000 conflict blocks second instance |
| Single OAuth client for both accounts | Google invalidates first account’s refresh token on second auth |
CREDENTIALS_FILE env var per MCP server |
Doesn’t reliably route to the right account |
mcpServers in settings.local.json |
Silently ignored — Claude Code never reads MCP config from there |
mcpServers in .claude/settings.json |
Also silently ignored |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →