Skip to main content
Gmail

Overview

Supported tools

All 30 slugs surfaced through MCP:

Connect setup

Gmail uses Google’s OAuth 2.0 with PKCE. You need a Google Cloud project with the Gmail API enabled and OAuth credentials configured for a Web application.
1

Create a Google Cloud OAuth client

Go to Google Cloud Console → APIs & Services → Credentials, choose Create credentials → OAuth client ID → Web application, then copy the Client ID and Client Secret.
2

Add the redirect URI

Under Authorized redirect URIs, add:
3

Enable the Gmail API

In APIs & Services → Library, search for Gmail API and click Enable on the same Google Cloud project.
4

Configure required scopes

Add these scopes on the OAuth consent screen:
  • https://mail.google.com/ — full Gmail access (read / send / modify / delete)
  • openid
  • email
  • profile
5

Connect via the widget

The end user opens the Connect widget, picks Gmail, and is sent through Google’s consent screen.

Usage

The agent loop picks GMAIL_FETCH_EMAILS / GMAIL_SEND_EMAIL and streams results back as SSE.

Direct MCP JSON-RPC (Claude Desktop / Cursor / custom MCP clients)

Once connected, MCP clients can invoke any of the 30 tools by slug via the standard tools/call JSON-RPC method.