Works with any MCP client

Secure Gmail access for your AI agents

Add FGAC as an MCP server, sign in with Google, and control exactly what your agents can read, send, and delete.

1

Add the MCP server

Every tool uses the same URL: https://fgac.ai/api/mcp

Claude Code

claude mcp add \ --transport http \ fgac https://fgac.ai/api/mcp

Run this in any project directory. The server persists across sessions.

Cursor

Open Settings → MCP Servers. Click Add new HTTP server. Paste the URL above.

Windsurf

Open Settings → MCP. Click Add Server. Choose Streamable HTTP and paste the URL above.

Claude Desktop

Open Settings → Developer → MCP Servers. Add a new server with type "url" and paste the URL above.

FGAC uses MCP Streamable HTTP with OAuth 2.1 (DCR + PKCE). Your client handles authentication automatically.

2

Sign in & approve the connection

Your agent triggers an OAuth flow. Then approve it in your dashboard.

  1. A
    Your agent tries to use a tool — a browser window opens asking you to sign in with Google. This links your agent to your FGAC account. No API keys needed.
  2. B
    Approve in your FGAC Dashboard — new connections appear as ⏳ Pending. Click Approve and assign a Key Profile to grant access.
Agent connectsOAuth sign-in⏳ Pending✓ Approved
3

Set access rules

Control exactly what each agent can read, send, and delete.

Read Blocklist

Block sensitive emails — 2FA codes, password resets, financial alerts. Uses regex pattern matching on subjects and senders.


Send Whitelist

Only allow sending to approved domains or specific email addresses. Everything else is rejected.


Per-Agent Profiles

Create separate profiles with different permissions. Assign each agent connection to the right one.

Multiple email accounts

One agent connection can access multiple Gmail inboxes. Other users delegate access from their own FGAC dashboard, then your agent uses the account parameter to specify which inbox.

Your inboxgmail_list → returns your emails
Delegated inboxgmail_list account=boss@company.com

Alternative: Direct Proxy Key

For agents that don't support MCP, create a proxy API key and use our downloadable skill files.