AI Systems · AI automation · Gmail · MCP · How-to
Gmail MCP server: connect any AI agent to Gmail with Google's official server

Google's Gmail MCP server became generally available on 24 November 2026. It runs at https://gmailmcp.googleapis.com/mcp/v1, so there is nothing to install. To use it, create a Google Cloud project and an OAuth client marked 'Use this client for an AI-powered agent' (Google's personal mode onboarding does both on one page), then add it to your AI app, for example as a custom connector in Claude Pro, Max, Team or Enterprise. It has 30 tools for reading, drafting, labeling and sending, and asks for approval before sensitive actions. The Standard tier is free, capped at 5,000 requests a day per project.
Key takeaways
- Google's own Gmail MCP server has been generally available since 24 November 2026.
- It is hosted by Google, so there is nothing to install. You only create an OAuth client.
- The OAuth client must be marked "Use this client for an AI-powered agent", or Google rejects it.
- The Standard tier is free: 5,000 requests a day per project.
- From 1 February 2027, AI agents are pushed toward MCP instead of raw Gmail API calls.
Until recently, connecting an AI agent to Gmail meant a third-party server from GitHub, a pile of scopes and a lot of trust. Google now runs its own. The Gmail MCP server lets any compatible AI app search your mail, write drafts, add labels and, with your approval, send.
This guide sets it up step by step with Claude, the most common choice for small teams, and covers the limits and dates you need to know. If MCP is new to you, start with our plain-English guide to what an MCP server is.
Everything below comes from Google’s Gmail developer pages, checked on 3 December 2026.
What the Gmail MCP server is
An MCP server is a standard plug that lets an AI app use another tool. Google’s Gmail MCP server is that plug for Gmail, run by Google at one address:
https://gmailmcp.googleapis.com/mcp/v1
According to Google’s setup page, it lets an AI agent:
- Read: search threads, get messages and drafts, list labels and filters.
- Act: send, reply and forward, create and update drafts, manage labels and filters, and move mail to and from Trash or Spam.
- Respect your security: it gets the same permissions and admin controls as the signed-in user.
It has 30 tools in total, from search_threads to send_message.

Why use Google’s server instead of a built-in connector?
If you just want to chat with your inbox, a built-in connector in ChatGPT, Claude or Grok is quicker. We compare those in how to connect Gmail to ChatGPT, Claude and Grok, and cover Grok on its own in how to use Grok for business email.
Google’s server is the better choice when:
- Your AI app has no Gmail connector, but supports remote MCP servers.
- You build your own agent and want Google’s official tools, not a hobby project.
- You want Google’s controls: approvals for sensitive actions, admin policies and audit logs.
- You plan ahead. Google’s release notes say MCP is required when AI agents get data from Google Workspace APIs, and from 1 February 2027 agents calling the REST APIs directly are limited to Standard tier quotas.
What you need before you start
- A Google account with Gmail (personal or Google Workspace).
- A Google Cloud account. The setup is free. No billing account is needed for the Standard tier.
- An AI app that supports remote MCP servers. Google documents Antigravity and Claude. For Claude, you need the Pro, Max, Team or Enterprise plan.
- Permission to create a Cloud project, if you use a work account. Some admins block it.
Google notes the server can take up to 10 days to appear for your account after general availability.
How to set it up with Claude: 5 steps

Google’s “quick setup for personal use” does most of the work on one page. It creates an OAuth client that works only for your own Google account and does not need app verification or a separate consent screen.
1. Open personal mode onboarding in Google Cloud. On Google’s setup page, click Set up personal mode. In the Cloud console, pick an existing project or click Create a new project. If you see a permission error about creating projects, ask your Workspace admin.
2. Create the AI-agent OAuth client. Keep Web application as the type (Claude needs it). Enter a name. Under Authorized redirect URIs, click + Add URI and paste Claude’s callback address:
https://claude.ai/api/mcp/auth_callback
Then check that Use this client for an AI-powered agent is selected. This box matters: Google’s MCP servers reject OAuth clients that are not marked as agents.
3. Agree and copy your client ID and secret. Read and accept the Google API Services User Data Policy, then click Continue. The console turns on the Gmail API and the MCP services and creates your client. Copy the Client ID and Client Secret somewhere safe.
4. Add Gmail as a custom connector in Claude. In Claude.ai or Claude Desktop, go to Settings > Connectors (or Admin settings > Connectors on Team and Enterprise). Click Add custom connector and enter:
- Server name: Gmail
- Remote MCP server URL:
https://gmailmcp.googleapis.com/mcp/v1 - Advanced settings: your OAuth client ID and client secret
Click Add, then sign in with Google when asked.
5. Test with a read prompt, then a draft. Start with something that only reads, then something that only drafts. Google suggests prompts like these:
What did {name} say in her last email about {topic}?
Draft an email to {address} saying that I approve the plan.
The first uses search_threads and get_thread. The second uses create_draft, so the email waits in your Drafts folder for you to review and send. If both work, the server is set up.
Using it with other AI apps
Antigravity reads the server from its mcp_config.json file. Google’s page gives the exact block, with your client ID and secret under oauth, and the callback address https://antigravity.google/oauth-callback.
Any other app that supports remote MCP servers needs four details: the server name (gmail), the URL above, HTTP as the transport, and OAuth 2.0 with your agent client. If your app uses a desktop sign-in flow instead of a web redirect, choose Desktop app on the personal mode page.
Limits, costs and dates

From Google’s Gmail release notes:
- Free Standard tier. New projects start here. No billing account is needed, and use is capped at 5,000 requests a day, per project, per product. You cannot ask for more on this tier.
- Some tools cost more than one request, because they make several API calls.
- The Scaled tier gives higher limits but needs a billing account, and MCP requests there are billed from the first request starting 1 April 2027.
- Agent clients only. Since 11 November 2026, Google’s MCP servers reject OAuth clients that are not marked as AI agents. An old client that cannot be changed needs a new one.
- 1 February 2027. AI agents that call the REST APIs directly are limited to Standard tier quotas, and a new Workspace AI Tools Addendum takes effect.
For one person or a small team using an assistant, 5,000 requests a day is plenty.
Safety: approvals and prompt injection
Google’s MCP servers ask for approval before sensitive actions, such as sending an email, through a feature called form elicitation. The main /mcp/v1 endpoint supports it. A fallback /mcp/v1self endpoint exists for apps that cannot show these prompts, and it exposes only the tools that work without them.
Google also warns about indirect prompt injection: an email can contain hidden instructions that try to steer your AI. Its advice:
- Only connect trusted AI apps.
- Be careful with mail from unknown senders. Do not ask the agent to act on it blindly.
- Review every action before you approve it.
Keep sending behind your approval, at least until you trust the setup.
If you use Outlook instead
Microsoft offers mail tools for AI agents through Work IQ in Copilot Studio. They are aimed at Microsoft 365 organizations and set up by IT, and parts are still in preview. For most small teams, the faster route is an assistant with a built-in Outlook connector. Grok’s Outlook connector, for example, can search, draft, send and move mail, but needs a work or school Microsoft account. We cover it in our Grok for business email guide.
Common mistakes
- Forgetting the agent checkbox. Without “Use this client for an AI-powered agent”, requests are rejected.
- Wrong client type. Claude and Antigravity need a Web application client with the right redirect address.
- Signing in again every hour. Google says this means your app is not getting a refresh token. Check its offline access settings.
- Approving sends without reading them. The approval step only helps if you use it.
Our view
- Use a built-in connector for chat, and Google’s server when you build an agent or your app has no connector.
- Mark the client as an agent from day one, so the 2027 changes do not break anything.
- Keep a person on every send until the agent has earned your trust.
Get an email agent built for you
Want an AI agent working in your inbox without the Cloud console? We connect your email the safe way, set what it may read, draft and send, and build the workflows around it.
Questions
Is there an official Gmail MCP server?
Yes. Google's Gmail MCP server became generally available on 24 November 2026. It is a remote server at https://gmailmcp.googleapis.com/mcp/v1, so nothing runs on your computer. Google says it can take up to 10 days to appear for your account.
Is the Gmail MCP server free?
Projects start on the free Standard tier, which needs no billing account and is capped at 5,000 requests a day per project. Some tools count as several requests. Higher limits need the Scaled tier, where MCP requests are billed from 1 April 2027.
Can the Gmail MCP server send emails?
Yes. Google's setup page lists sending, replying and forwarding among its actions, along with drafts, labels and filters. Sensitive actions such as sending trigger an approval request through MCP form elicitation on the main endpoint.
Which AI apps work with the Gmail MCP server?
Google documents Antigravity and Claude. For Claude you need the Pro, Max, Team or Enterprise plan. Other AI apps that support remote MCP servers with OAuth can connect using the server name, the URL, HTTP transport and your OAuth client.
Is there an Outlook MCP server?
Microsoft offers mail tools for AI agents through Work IQ in Copilot Studio, aimed at Microsoft 365 organizations, and parts of it are still in preview. For a small team, an assistant with a built-in Outlook connector, such as Grok with a work or school account, is usually the quicker route.