FGAC.ai — Claude Code MCP server: Gmail, Sheets, Docs
A hosted MCP server that puts access rules between your agent and your Google accounts. Useful when the agent needs mail and spreadsheets, not your whole Drive.
claude mcp add --transport http fgac https://fgac.ai/api/mcpWhat FGAC.ai: Multiple Gmail Accounts, Google Sheets & Docs does
FGAC.ai acts as a proxy. Your agent talks to it, and it decides whether a call reaches Gmail, Google Sheets or Docs. Several mailboxes can be attached at once — work, personal, school, plus inboxes teammates hand over. A delegation carries its own rules and can be revoked in one click, with no password sharing.
Access is deny-by-default. Read rules can keep verification codes, password-reset messages and bank notices away from the agent, filtered by label or by content. Outbound mail goes only to recipients you approve, and permanent deletion is off the table. When the agent wants more — a new address, another sheet — it asks, and you confirm that single grant through a one-time link.
Nineteen typed tools cover Gmail, Sheets, Docs and comments, alongside a raw Google API escape hatch that still passes the rule check. A request log records every call, what was allowed, what was blocked and why. No Google Cloud project is needed to connect, but self-hosting expects Node 20.9+ and access to the project's Vercel environment: local runs depend on vercel env pull and a Neon branch. The source code is licensed for personal use only, so companies, government agencies and schools need a separate license.
What it helps with
- attach several mailboxes to one agent without sharing passwords
- keep verification codes and password resets out of the agent's view
- allow edits to specific sheets and documents only
- restrict outbound mail to approved recipients
- review which agent calls were allowed and which were blocked
Example prompts for the agent
- Show unread mail in my work inbox from today
- Append a row to the
Budgetsheet and refresh the total cell - Draft a reply to the client, but show it to me first
How to install FGAC.ai: Multiple Gmail Accounts, Google Sheets & Docs
Platform CLI: remote server
claude mcp add --transport http fgac https://fgac.ai/api/mcpPlatform CLI: remote server
codex mcp add fgacai-multiple-gmail-accounts-google-sheets-docs --url https://fgac.ai/api/mcpConfig file
{
"mcpServers": {
"fgacai-multiple-gmail-accounts-google-sheets-docs": {
"url": "https://fgac.ai/api/mcp"
}
}
}Config file
{
"servers": {
"fgacai-multiple-gmail-accounts-google-sheets-docs": {
"type": "http",
"url": "https://fgac.ai/api/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http fgacai-multiple-gmail-accounts-google-sheets-docs https://fgac.ai/api/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about FGAC.ai: Multiple Gmail Accounts, Google Sheets & Docs
How do I install FGAC.ai in Claude Code?
Run claude mcp add --transport http fgac https://fgac.ai/api/mcp. You sign in through OAuth on the first call.
What does FGAC.ai do?
It routes your agent's Gmail, Google Sheets and Docs calls through access rules you set. Everything stays blocked until you grant a specific action.
Do I need a Google Cloud project?
No. Signing in with Google gives the agent read access to the account you pick. Sending and editing are opened from the dashboard or through an approval link.