Key takeaways

  • Google's Gmail MCP server at gmailmcp.googleapis.com/mcp/v1 has 23 tools to search, read, draft, label, spam and trash mail, but sending is not generally available.
  • Setup needs a Google Cloud project, the Gmail API and Gmail MCP API turned on, and an OAuth client with "Use this client for an AI-powered agent" selected.
  • The Standard tier is free up to 5,000 requests a day per project, with each search counting as 10; Scaled tier use is billed from the first request starting April 1, 2027.

Google's Gmail MCP server lets an AI app such as Claude or Google Antigravity search, read, draft, label and trash your email through a server Google hosts at https://gmailmcp.googleapis.com/mcp/v1. To connect it, you create a Google Cloud project, make an OAuth client marked "Use this client for an AI-powered agent", turn on the Gmail API and the Gmail MCP API, and add the server URL to your AI app. Google's Gmail MCP setup guide covers each step, and this guide follows it.

MCP, the Model Context Protocol, is an open standard that gives AI agents one way to call tools and read data. Google made its Workspace MCP servers generally available on November 24, 2026, and from February 1, 2027 agents that touch Workspace data have to use them instead of the REST APIs, as our news story explains.

What the Gmail MCP server can do

Google's Gmail MCP reference lists 23 tools on the main endpoint. A tools/list request sent to the endpoint on November 24, 2026 returned the same 23 without signing in. Calling a tool without a token returned an authentication error.

Job Tools
Find and read mail search_threads, get_thread, get_message, list_labels
Drafts create_draft, list_drafts, get_draft
Organize label_message, label_thread, unlabel_message, unlabel_thread, update_message_labels, create_label, apply_sensitive_message_label, apply_sensitive_thread_label
Clean up trash_message, trash_thread, untrash_message, untrash_thread, mark_message_spam, mark_thread_spam, unmark_message_spam, unmark_thread_spam

A few details matter in practice:

  • It writes drafts, it doesn't send. create_draft puts a message in your Drafts folder for you to review and send from Gmail. It takes to, cc, bcc, a subject, a plain or HTML body, an optional reply-to message ID and attachments up to 25 MB combined. Google's quota page lists send_message, reply, forward, update_draft, create_filter and three label tools as needing partner access and not generally available.
  • Delete means Trash. trash_thread is a soft delete, the default when someone asks an agent to delete an email.

What you need first

  • A Google Cloud project. The personal setup can create one for you. No billing account is needed on the free Standard tier.
  • An MCP host, the AI app that connects to the server. Google's guide covers Antigravity and Claude. For Claude.ai or Claude Desktop, Google says you need a Claude Pro, Max, Team or Enterprise plan.
  • An OAuth client marked as an AI agent. User-delegated OAuth clients that call the Gmail MCP server must have "Use this client for an AI-powered agent" selected. If your app also has features that aren't agents, Google says to create a separate client for the agent.
  • The gcloud CLI, only if you take the manual route below.

Personal Gmail accounts: Google's "Quick setup for personal use" is written for connecting an AI app to "your own Google Account". It creates a client that works only for that account and doesn't need app verification or a separate consent screen. The guide doesn't limit it to Workspace accounts, and it doesn't name consumer @gmail.com accounts either.

Workspace accounts: your admin decides which third-party apps can reach company data. If the admin has blocked unconfigured third-party apps, you can't sign in to your agent's OAuth client until the admin configures it as trusted or allows it, per Google's Admin Help.

How to set up the Gmail MCP server for personal use

This is the shortest path, from Google's guide.

  1. Open personal mode setup in the Google Cloud console. The link picks a Web application client, which Claude and Antigravity require. If your MCP client uses a desktop, Android or iOS sign-in flow, change Application type on the page.
  2. Under Select Project, pick an existing personal-mode project or click Create a new project.
  3. Enter a Name for the client.
  4. Under Authorized redirect URIs, click + Add URI and add your client's callback:
    • Claude: https://claude.ai/api/mcp/auth_callback
    • Antigravity: https://antigravity.google/oauth-callback
  5. Check that Use this client for an AI-powered agent is selected.
  6. Accept the Google API Services User Data Policy and click Continue. The console turns on the core Workspace APIs and MCP services and creates the client.
  7. Copy the Client ID and Client Secret, then go to the section for your AI app below.

How to set it up for several users

If other people will sign in through your OAuth client, or you want only the Gmail scopes, do it by hand.

  1. Turn on the Gmail API and the Gmail MCP API:
gcloud services enable gmail.googleapis.com --project=PROJECT_ID
gcloud services enable gmailmcp.googleapis.com --project=PROJECT_ID
  1. In the console, open Google Auth Platform > Branding. If it says the platform isn't configured, click Get Started, name the app (Google suggests "Gmail MCP Server"), pick a support email, and under Audience choose Internal, or External if Internal isn't offered. Add a contact email, accept the policy and click Create.
  2. If you chose External, open Audience, click Add users under Test users, and add yourself and anyone else who will test.
  3. Open Data Access > Add or Remove Scopes, paste these under Manually add scopes, click Add to Table, Update, then Save:
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.compose
https://www.googleapis.com/auth/gmail.modify
  1. Go to Google Auth Platform > Clients > Create Client, choose Web application, add your app's redirect URI from the list above, select Use this client for an AI-powered agent, click Create, and copy the ID and secret.

How to connect the Gmail MCP server to Claude

  1. In Claude.ai or Claude Desktop, go to Settings > Connectors (or Admin settings > Connectors).
  2. Click Add custom connector.
  3. Enter Gmail as the name and https://gmailmcp.googleapis.com/mcp/v1 as the remote MCP server URL.
  4. Under Advanced settings, paste your OAuth client ID and secret.
  5. Click Add.

How to connect it to Antigravity

Google's steps cover Antigravity 2.0, the Antigravity IDE and the Antigravity CLI. Add this to ~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "gmail": {
      "serverUrl": "https://gmailmcp.googleapis.com/mcp/v1",
      "oauth": {
        "clientId": "OAUTH_CLIENT_ID",
        "clientSecret": "OAUTH_CLIENT_SECRET"
      }
    }
  }
}

In the app, open Settings > Customizations, click Refresh under Installed MCP Servers, then Authenticate next to gmail, sign in and paste the code. In the CLI, run agy, then /mcp, select gmail and choose Authenticate. A working server shows Sign out in the app or Authed in the CLI.

ChatGPT, Gemini CLI and other clients

For any other app, Google gives the settings to enter: server name gmail, URL https://gmailmcp.googleapis.com/mcp/v1, Streamable HTTP transport, and OAuth 2.0 with an agent-marked client.

  • ChatGPT: Google Cloud's general MCP client page says Google's MCP servers need a ChatGPT Business subscription, with https://chatgpt.com/connector_platform_oauth_redirect as the OAuth redirect URI, and points to OpenAI's plugin docs for the rest. Our ChatGPT developer mode guide covers the ChatGPT side.
  • Gemini CLI: the Gmail and Workspace MCP guides don't cover it. Google's general page says Gemini CLI was set to be replaced by Antigravity CLI for unpaid-tier and Google One users on June 18, 2026. The Antigravity CLI steps above are Google's documented terminal route.

Test the connection

Google suggests two prompts. "What did Ariel say in her last email about our marketing plan?" should call search_threads and get_thread. "Draft an email to ariel@example.com saying that I approve the marketing plan" should call create_draft and leave a draft in Gmail.

Gmail MCP server limits and costs

As of November 24, 2026, from Google's usage tiers page, pricing page and Gmail quota page:

Standard tier Scaled tier
Price Free, never billed Billed from the first request, starting April 1, 2027
Daily limit 5,000 requests per project Higher quota on request
Billing account Not needed Required
Gmail rates None $0.10 (Light), $0.20 (Medium) or $0.50 (Premium) per 1,000 requests

Not every call counts once. search_threads and list_drafts count as 10 requests each, so 5,000 a day is 500 searches. Every other Gmail tool counts as 1. search_threads and get_thread are Premium, create_draft and get_message are Medium, and list_labels and get_draft are Light, which makes one Scaled search cost half a cent. Failed tool calls that come back as HTTP 200 with an error flag still count toward billing.

Per-minute caps also apply: 15,000 query-cost units per user, and a search costs 700, so about 21 searches a minute. Go over the Standard limit and requests are throttled until the quota resets at midnight Pacific Time. The Workspace usage dashboard doesn't show the Gmail MCP 5,000 limit; Google says to check Quotas & System Limits on the Gmail MCP API page instead.

What Workspace admins control

Google's announcement says admins manage agents in the Admin console under Security > API Controls, as they do other apps. They can require users to confirm sensitive actions while routine ones, such as creating a draft, go through. Existing data loss prevention rules apply to agents, and audit logs record what an agent did and what the user approved.

Google's known issues: some approval prompts are English only, users can't view or revoke their saved approvals, and saved approvals expire after 90 days.

Google also says you must screen prompts and responses for prompt injection, hidden instructions planted in an email that try to take over the agent. It offers Model Armor, a Google Cloud filtering service, or your own documented solution.

Common problems with the Gmail MCP server

  • "Invalid token" errors. The OAuth client doesn't have "Use this client for an AI-powered agent" selected. Turn it on in Google Auth Platform > Clients, or create a new client if the setting can't be changed.
  • Signing in every hour. Web application clients default to online access. Have your MCP client request access_type=offline or the offline_access scope. If you already consented without it, add prompt=consent or remove the app at Google Account connections and sign in again.
  • Access blocked at a company. Ask your Workspace admin to check the OAuth log events in the security investigation tool, and to allow your client if third-party apps are restricted.
  • Apps Script. Its default OAuth client can't be marked as an agent. Create your own agent client and use the OAuth2 for Apps Script library.

Agents still on the Gmail REST API have until February 1, 2027 to move. After that date, Google keeps them at Standard tier limits whatever tier their project pays for.

Frequently asked questions

Is the Gmail MCP server free?

Yes, on the Standard tier, which needs no billing account and allows 5,000 requests a day per project. Each search_threads or list_drafts call counts as 10 requests. Projects that switch to the Scaled tier pay from the first request starting April 1, 2027, at $0.10 to $0.50 per 1,000 requests depending on the tool.

Can the Gmail MCP server send emails?

Not for most developers. The generally available tools create drafts that you send yourself from Gmail. Google lists send_message, reply and forward as needing partner access and not generally available.

Does the Gmail MCP server work with a personal Gmail account?

Google's setup guide has a quick setup for personal use that connects an AI app to your own Google Account with an OAuth client that works only for you and needs no app verification. The guide doesn't limit it to Workspace accounts, though it doesn't name @gmail.com accounts either.

Can I use the Gmail MCP server with ChatGPT?

Google Cloud's MCP client page says its MCP servers need a ChatGPT Business subscription, with https://chatgpt.com/connector_platform_oauth_redirect as the OAuth redirect URI. The Gmail setup guide itself only gives steps for Claude and Antigravity.

Sources

  1. Configure the Gmail MCP serverGoogle for Developers
  2. MCP Reference: gmailmcp.googleapis.comGoogle for Developers
  3. Gmail API and MCP server quotasGoogle for Developers
  4. Configure the Google Workspace MCP serversGoogle for Developers
  5. Usage tiers and quotas for Google Workspace APIs and MCP serversGoogle for Developers
  6. Understand Google Workspace API and MCP server pricing and billing tiersGoogle for Developers
  7. Simplifying agent access while keeping organizations in control: MCP servers, CLI, standardized usage tiers, and admin policiesGoogle Workspace Updates
  8. Configure MCP in an AI applicationGoogle Cloud
  9. Configure security for Google Workspace MCP serversGoogle for Developers
  10. Manage OAuth ClientsGoogle Cloud Help
  11. Control which third-party & internal apps access Google Workspace dataGoogle Workspace Admin Help