{
  "markdown": "# FGAC.ai\n\n> Fine-grain access control for AI agents on Gmail, Google Sheets and Google Docs.\n\n[![Website](https://img.shields.io/badge/fgac.ai-live-2ea44f)](https://fgac.ai)\n[![Docs](https://img.shields.io/badge/docs-fgac.ai%2Fdocs-blue)](https://fgac.ai/docs)\n[![MCP Registry](https://img.shields.io/badge/MCP%20Registry-ai.fgac%2Ffgac-6f42c1)](https://registry.modelcontextprotocol.io/v0.1/servers?search=ai.fgac)\n[![smithery badge](https://smithery.ai/badge/fgac/fgac)](https://smithery.ai/servers/fgac/fgac)\n\n**Product:** https://fgac.ai · **Docs:** https://fgac.ai/docs · **Privacy:** https://fgac.ai/privacy\n\nFGAC.ai is a hosted MCP server and API proxy that sits between your AI agents and\nyour Google accounts. Connect one or many Gmail accounts — work, school, personal,\nand inboxes teammates delegate to you — plus the specific Google Sheets and Docs\nyou choose, and every request passes through deny-by-default access rules you\ncontrol before it touches Google. Nothing to install, no Google Cloud project\nneeded: sign in with Google and the agent can read that account's mail\nimmediately; sending, editing, and other inboxes are granted from your dashboard\nor from a one-click approval link the agent hands you when it is denied.\n\n## Add FGAC to your agent\n\n| Client | How |\n|---|---|\n| Claude.ai / Claude Desktop | Search **FGAC** in the connectors directory, or add a custom connector with the URL below |\n| Claude Code | `claude mcp add --transport http fgac https://fgac.ai/api/mcp` |\n| VS Code / Copilot, Cursor, Windsurf, Cline | Add a remote MCP server: `https://fgac.ai/api/mcp` (Streamable HTTP, OAuth sign-in) — or find `ai.fgac/fgac` in the [MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers?search=ai.fgac) |\n| Smithery | [smithery.ai/servers/fgac/fgac](https://smithery.ai/servers/fgac/fgac) |\n| Any Google SDK | Point the client's endpoint override at `https://fgac.ai/api/proxy` with an FGAC proxy key — see the [docs](https://fgac.ai/docs) |\n\nMCP endpoint: **`https://fgac.ai/api/mcp`** (Streamable HTTP; OAuth 2.1 with\ndynamic client registration and PKCE; discovery at\n`/.well-known/oauth-protected-resource/mcp`).\n\n## What you get\n\n- **Multiple Gmail accounts** — connect several accounts, and let teammates\n  delegate their inboxes to your agent from their own dashboard. Every\n  delegation keeps its own rules and is revocable in one click. No password\n  sharing.\n- **Editable Google Sheets and Docs** — expose individual files read-only or\n  read & write; agents can update cells, append rows, and edit documents there\n  and nowhere else. The rest of your Drive does not exist to them.\n- **Guardrails** — read rules hide sensitive mail (2FA codes, password resets,\n  financial alerts) by label or content pattern; send whitelists limit outbound\n  mail to recipients you approve; permanent deletion is never possible.\n- **One-click approvals** — when an agent needs more (a new recipient, a new\n  sheet), it asks; you approve exactly that grant from a single-use link.\n- **Nineteen tools** — typed Gmail, Sheets, Docs, and comments tools with safety\n  annotations, plus a rule-checked raw Google API escape hatch covering the full\n  Gmail, Sheets, and Docs API surface.\n- **A request log** — every call your agent makes, with what was allowed and\n  what was blocked and why.\n\nYour data is never stored or used for training. See the [Terms](https://fgac.ai/terms) for service terms.\n\n## Licensing\n\nTwo different things, two different terms:\n\n- **The hosted service at https://fgac.ai** is open to anyone — individuals,\n  teams, companies, and schools — under its [Terms of Service](https://fgac.ai/terms)\n  and [Privacy Policy](https://fgac.ai/privacy). Connecting an agent through\n  fgac.ai does not involve this repository's license at all.\n- **This source code** is licensed for **personal use only**: an independent\n  individual may self-host it to manage their own Gmail or Google Workspace\n  accounts. Use by or on behalf of a company, government agency, or educational\n  institution, and offering the code as a hosted or multi-tenant service, are\n  prohibited without a separate license from the author. See `LICENSE` for the\n  exact terms and liability limitations.\n\n## Developing\n\nThis is a Next.js app deployed on Vercel, with Clerk for authentication and Neon\nPostgres via Drizzle. There is exactly one supported way to run it locally, and\nit depends on access to the project's Vercel environment:\n\n```bash\nnpx vercel link --yes --project fine-grain-access-control   # once per clone\nnpx vercel env pull .env.local --environment=development     # dev Clerk + Neon creds\nnpm run db:branch                                            # isolated Neon branch\nnpm run dev\n```\n\nNode 20.9+ is required. `npm run env:check` diagnoses environment problems.\nContributor rules, QA workflow, and database safety guards are documented in\n`CLAUDE.md` and `docs/`.\n",
  "bytes": 4911,
  "sha": "abd9edc99b495e482edae2a4ce4ef224496d61fcfc68282e2e93905267bcca36",
  "repo_slug": "kyesh/fine_grain_access_control",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_ai_fgac_fgac_1d20657c/readme"
}