
FGAC.ai: Multiple Gmail Accounts, Google Sheets & Docs
ai.fgac由 fgac.ai 發布官方發布者v0.1.1更新於 Oct 25, 2026
Multiple Gmail accounts, editable Google Sheets & Docs for AI agents. Deny-by-default access rules.
概覽
託管型 MCP 伺服器,讓 AI 助理在規則控管下存取多個 Gmail 帳戶以及指定的 Google 試算表和文件。
- 可以做什麼
- 讀取一個或多個已連結 Gmail 帳戶的信件,包括同事委派給你的收件匣,讀取規則可依標籤或內容樣式隱藏敏感郵件,寄件白名單限制收件者;僅能寄信給已核准的收件者,且永遠無法永久刪除;讀取和編輯個別授權的 Google 試算表與文件,可設為唯讀或讀寫,在其中更新儲存格、附加列和編輯文件,其他位置對其不可見;規則拒絕時透過一次性核准連結申請額外權限;使用受規則檢查的原始 Google API 通道,涵蓋完整的 Gmail、試算表和文件 API;檢視記錄每次呼叫及允許或攔截原因的請求日誌。
- 適用情境
- 當助理需要跨多個帳戶處理 Gmail、Google 試算表或 Google 文件,而你希望採用預設拒絕規則、依檔案限定範圍和稽核日誌,而非廣泛的 Google 帳戶存取時使用。適合偏好託管方案、不想建立 Google Cloud 專案的個人和團隊。
- 執行需求
- 遠端 Streamable HTTP 端點,使用 OAuth 2.1 登入(動態用戶端註冊與 PKCE);無需安裝,也無需 Google Cloud 專案。需以 Google 登入,並在 FGAC 主控台或透過核准連結授予權限。僅 Google SDK 代理端點需要個別的代理金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 FGAC.ai: Multiple Gmail Accounts, Google Sheets & Docs,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/ai.fgac%2Ffgac/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"fgac-ai-multiple-gmail-accounts-google-s": {
"type": "http",
"url": "https://fgac.ai/api/mcp"
}
}
}README
FGAC.ai
Fine-grain access control for AI agents on Gmail, Google Sheets and Google Docs.
[Website] [Docs] [MCP Registry] [smithery badge]
Product: https://fgac.ai · Docs: https://fgac.ai/docs · Privacy: https://fgac.ai/privacy
FGAC.ai is a hosted MCP server and API proxy that sits between your AI agents and your Google accounts. Connect one or many Gmail accounts — work, school, personal, and inboxes teammates delegate to you — plus the specific Google Sheets and Docs you choose, and every request passes through deny-by-default access rules you control before it touches Google. Nothing to install, no Google Cloud project needed: sign in with Google and the agent can read that account's mail immediately; sending, editing, and other inboxes are granted from your dashboard or from a one-click approval link the agent hands you when it is denied.
Add FGAC to your agent
MCP endpoint: https://fgac.ai/api/mcp (Streamable HTTP; OAuth 2.1 with
dynamic client registration and PKCE; discovery at
/.well-known/oauth-protected-resource/mcp).
What you get
- Multiple Gmail accounts — connect several accounts, and let teammates delegate their inboxes to your agent from their own dashboard. Every delegation keeps its own rules and is revocable in one click. No password sharing.
- Editable Google Sheets and Docs — expose individual files read-only or read & write; agents can update cells, append rows, and edit documents there and nowhere else. The rest of your Drive does not exist to them.
- Guardrails — read rules hide sensitive mail (2FA codes, password resets, financial alerts) by label or content pattern; send whitelists limit outbound mail to recipients you approve; permanent deletion is never possible.
- One-click approvals — when an agent needs more (a new recipient, a new sheet), it asks; you approve exactly that grant from a single-use link.
- Nineteen tools — typed Gmail, Sheets, Docs, and comments tools with safety annotations, plus a rule-checked raw Google API escape hatch covering the full Gmail, Sheets, and Docs API surface.
- A request log — every call your agent makes, with what was allowed and what was blocked and why.
Your data is never stored or used for training. See the Terms for service terms.
Licensing
Two different things, two different terms:
- The hosted service at https://fgac.ai is open to anyone — individuals, teams, companies, and schools — under its Terms of Service and Privacy Policy. Connecting an agent through fgac.ai does not involve this repository's license at all.
- This source code is licensed for personal use only: an independent
individual may self-host it to manage their own Gmail or Google Workspace
accounts. Use by or on behalf of a company, government agency, or educational
institution, and offering the code as a hosted or multi-tenant service, are
prohibited without a separate license from the author. See
LICENSEfor the exact terms and liability limitations.
Developing
This is a Next.js app deployed on Vercel, with Clerk for authentication and Neon Postgres via Drizzle. There is exactly one supported way to run it locally, and it depends on access to the project's Vercel environment:
Node 20.9+ is required. npm run env:check diagnoses environment problems.
Contributor rules, QA workflow, and database safety guards are documented in
CLAUDE.md and docs/.
來源:README.md,提交 c5237a9
工具
0版本歷史
2- v0.1.1最新Sep 17, 2026
- v0.1.0Sep 16, 2026
評分
已滿足適用檢查項的 75%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。