Skip to article
← All articles

Multi-agent · Connection guide

Gmail MCP Servers: Connect Claude Without Guessing Permissions

Compare Gmail MCP servers and official Claude and ChatGPT apps. Understand read, draft and send scopes, local token storage, verification and revocation.

Choose the connection and its permissions together, then verify what it can do.
AI-generated editorial cover
On this page

A Gmail MCP server lets an AI client search or act on your mailbox through OAuth; the granted scopes determine whether it can also draft, send or modify mail. Start with a supported official connector, or choose a maintained community server with an explicitly limited grant.

Which Gmail connection should you use?

What you needConnection to inspectWho operates the bridge?Main permission question
Read and act inside ClaudeClaude Google Workspace connectorAnthropic and GoogleWhich actions are enabled and when does approval apply?
Use Gmail inside ChatGPTChatGPT Google appOpenAI and GoogleWhich actions and scopes do account and workspace settings allow?
Use Google’s own MCP serviceGmail MCP developer previewGoogleAre you enrolled and configured for the preview?
A local Gmail-focused serverArtyMcLabin/Gmail-MCP-ServerYouDid you request readonly rather than the broader defaults?
Gmail plus other Workspace servicestaylorwilsdon/google_workspace_mcpYou or your organizationAre service selection, tools and OAuth grants all limited?
Shared imported email recordsSaveSlot Gmail sourceYour chosen hosted or self-hosted setupWhich emails and attachments are imported and which agents may read them?

This comparison was checked November 20, 2026. It reviews documentation and repository state, not a live mailbox or a penetration test. MCP is the interface between the assistant and server; OAuth is the authorization between the integration and Google. The two layers solve different problems. Our MCP memory-server comparison covers persistence rather than mailbox access.

Can you connect Gmail to Claude without installing a server?

Yes. The current Claude Google Workspace connector guide documents Gmail search and reading, drafts, sending, replies and forwarding, along with labels and threads. It lists availability for all users on Claude and Claude Desktop; organization owners must enable connectors for Team and Enterprise. Sign in through the Google authorization flow and check the connected account before asking for mailbox work.

The same guide says Claude asks before sending, replying or forwarding by default outside Auto mode, while organization policy can affect whether members may allow actions without asking each time. This is not a read-only connector merely because an older tutorial describes it that way. Review both the current tools and the approval mode before delegating email.

Choose the native connector if you mainly work inside Claude and its controls fit your requirements. It avoids maintaining a local package and OAuth callback yourself. A community server may fit a different client or custom deployment, but portability alone is not a reason to replace a supported connection that already does the job.

What does the official Gmail connection in ChatGPT allow?

OpenAI’s Google app data controls FAQ describes Google-account authorization, supported requests and workspace controls. ChatGPT workspace admins can enable or disable actions, and Google Workspace administrators can restrict approved OAuth scopes. The permissions of a connected account still apply. Do not copy a fixed capability list from an old “connector” article and assume it describes every current account.

Inspect the Gmail app’s current action list in your account and the Google consent screen. When an action needs an unapproved scope, authorization or use can fail even though an existing connection remains present. A missing action can be an account or administrator setting rather than a problem with Gmail search. Reconnecting should follow a concrete diagnosis, not be the first response to every error.

The data-controls guide also distinguishes disconnecting from deleting previous chats or memories. If your aim is removing stored information, review those controls separately. Prefer the native route when it matches your client and policy needs. Use a local server when there is a specific operational benefit, such as a reviewed read-only configuration or a client that needs stdio tools.

Is there now an official Google Gmail MCP server?

Yes, in developer preview. Google’s Gmail MCP setup guide documents enrollment in the Google Workspace Developer Preview Program, a Cloud project, enabled services and OAuth setup. The documented endpoint is https://gmailmcp.googleapis.com/mcp/v1. This was verified November 20, 2026; older directories saying Google offers no Gmail MCP server are outdated.

The published MCP tool reference lists search and retrieval, draft creation and label operations. It does not currently list a send tool in the documented toolset. Creating a draft is a write, but it is not the same action as sending that draft. Verify the live tools/list result for your approved setup instead of inferring capability from the Gmail API’s broader features.

Treat this as a preview integration with prerequisites rather than a universally available consumer button. An endpoint URL alone does not complete registration, authentication or client compatibility. This route fits developers willing to follow Google’s preview configuration. The native Claude or ChatGPT app is usually simpler when your goal is only to work with email inside that product.

Which Gmail scopes can read, draft, send or delete?

The following distinctions come from Google’s Gmail scope reference, checked November 20, 2026. Scope names below abbreviate the common https://www.googleapis.com/auth/ prefix except for the full-mail scope. A read-only permission can still expose sensitive content; a draft permission can also authorize sending.

Permission you seeWhat it allowsCan it send mail?Google classification
gmail.readonlyRead messages and settingsNoRestricted
gmail.metadataRead headers and labels, not message bodiesNoRestricted
gmail.sendSend on your behalfYesSensitive
gmail.composeManage drafts and sendYesRestricted
gmail.modifyRead, compose, send and modify; no immediate permanent deletionYesRestricted
https://mail.google.com/Full mailbox access including immediate permanent deletionYesRestricted

This table describes Google authorization, not the exact tools a server exposes. A server may hide sending tools while holding a token that authorizes sending. Conversely, exposing a send-shaped tool does not make a read-only token capable of sending. Prefer narrow grants and narrow tool exposure together. A system prompt saying “never send” is a behavior instruction, not an OAuth boundary.

For summaries and search, start with readonly. For message-header analysis, consider metadata if the implementation supports the required workflow. If you only need a reply written in the conversation for manual copying, you may not need any mailbox write permission. Separate drafting text from creating a draft object inside Gmail, which changes account data.

Which local Gmail MCP server supports limited scopes?

ArtyMcLabin/Gmail-MCP-Server is an MIT-licensed community fork with configurable scopes and tool filtering. GitHub showed it unarchived, with a November 2026 default-branch commit, at our November 20 check. The older GongRzhe upstream is archived and its latest default-branch commit is August 2025. Avoid treating their package names as interchangeable.

The maintained fork documents OAuth client setup in Google Cloud, enabling Gmail API and providing the downloaded client configuration locally. Its default grant includes gmail.modify and gmail.settings.basic. If you only want reading, explicitly request readonly during authorization. Here is the source-install route and read-only auth command from its README; it requires Node and your separately prepared OAuth application:

git clone https://github.com/ArtyMcLabin/Gmail-MCP-Server.git
cd Gmail-MCP-Server
npm install
npm run build
node dist/index.js auth --scopes=gmail.readonly

Then configure a local stdio client to start the built server. This example uses an absolute placeholder path and contains no credentials. Keep the OAuth client file and token file outside the repository:

{
  "mcpServers": {
    "gmail": {
      "command": "node",
      "args": [
        "/absolute/path/to/Gmail-MCP-Server/dist/index.js"
      ]
    }
  }
}

The README places credentials under ~/.gmail-mcp/, including credentials.json. Treat these files as sensitive even if file permissions restrict other users. If a broader grant was previously issued, review and revoke that grant before reauthorizing narrowly; inspect Google’s resulting access record rather than assuming the new command removed every earlier permission. This guide did not authenticate a real mailbox.

When does a broader Workspace MCP server make sense?

taylorwilsdon/google_workspace_mcp combines Gmail with other Google Workspace services. The MIT repository was unarchived, with November 2026 default-branch commits at our check. Its README documents stdio and HTTP operation, service selection, read-only mode and several deployment choices. This can fit a team that needs coordinated email, calendar and document work rather than a Gmail-only personal setup.

Limit the enabled services and operations deliberately. After configuring your own Google OAuth application as upstream directs, the documented CLI supports this Gmail-only read-only launch. It is a starting configuration, not proof that previously granted tokens were narrowed:

uvx workspace-mcp --tools gmail --read-only

Read the current deployment guide for the credential-store backend used in your chosen mode. Local, stateless and centrally hosted configurations have different storage and identity boundaries. Ask which principal each request runs as, where refresh tokens persist and how logs avoid message bodies and secrets. A single administrator’s session should not accidentally become every coworker’s mailbox connection.

Choose the smaller Gmail-focused server when you do not need cross-service tools. Loading fewer services reduces accidental exposure and makes the visible tool list easier to inspect. Regardless of project, do not expose a personal development server to the internet before reviewing its authentication, user separation, transport security and callback configuration.

Do restricted Gmail scopes require Google verification?

Public applications requesting restricted scopes generally need the relevant verification unless an exception applies. Google’s restricted-scope verification guidance also requires a security assessment when restricted-scope data is stored or transmitted on servers, subject to applicable requirements and exceptions. A personal test setup and a public service for customers are not interchangeable cases.

For an internal or personal deployment, read Google’s exception criteria rather than assuming every setup must follow the same public-app review path. For a hosted product, budget time to document data use, necessary scopes, access boundaries and retention. An open-source license does not establish compliance, and an OAuth consent screen does not constitute an independent security audit.

If Google Workspace blocks a grant, compare the requested scopes with the administrator’s approved list. Do not fix a scope mismatch by requesting full mailbox access. Find the smallest permission set that supports the intended operation and verify that both Google and the MCP server enforce it.

How do you prevent an email from becoming an instruction?

Treat email bodies and attachments as untrusted content. A message can contain text telling an assistant to forward a thread, open a link or reveal information. It remains part of the email being analyzed, not authorization from you. Read-only scopes prevent mailbox writes through that token, but sensitive content can still leave through the assistant’s response or another connected tool.

  1. Start with a narrow search and retrieve only the messages needed for the question. Keep message identifiers and source links for checking.
  2. Keep instructions from the user separate from quoted email text and attachments. Flag embedded requests to perform unrelated actions.
  3. Before sending, inspect the exact account, recipients, CC/BCC, subject, body and attachment list. Reply-all deserves its own recipient check.
  4. Require an appropriate approval boundary for external actions. Tool annotations are useful hints, but they do not replace authorization controls.
  5. After an authorized write, reread the draft or sent item and report the actual result. A generated draft in chat is not proof of a sent email.

For ongoing tasks, keep accepted decisions distinguishable from old correspondence; our current-decisions guide explains the distinction. Use the Claude client guide or ChatGPT client guide to check your assistant-side connection rather than assuming every client exposes the same controls.

How do you revoke Gmail access and clean up copies?

Disconnect the app in your assistant, then review its entry in Google’s third-party connections settings. Remove the relevant access if you no longer want the integration to reach the account. Stop local server processes or scheduled jobs that might reconnect. In a managed organization, coordinate changes with the administrator so that you remove the intended application rather than unrelated access.

Revocation and deletion are different jobs. Review locally downloaded attachments, search indexes, exported messages, logs and chat histories separately. Do not delete unrelated OAuth credentials belonging to another account or application. If you are narrowing a grant rather than retiring it, reconnect with the smaller scope set and verify the resulting permissions before resuming use.

The documented SaveSlot Gmail source lists reading emails and attachments through web authorization, followed by checking imported records against their originals. It does not establish sending, replies, mailbox cleanup or a particular scope string. For this route, authorize agents to the destination Slot separately and delete unwanted imported copies separately from disconnecting the source.

Gmail MCP: common permission questions

Is there an official Gmail MCP server?

Google now documents a Gmail MCP server in developer preview. It requires the preview program and its documented Cloud and OAuth setup. The published toolset covers retrieval, drafts and labels; check the current reference for changes. This is separate from the native Gmail connections supplied inside Claude and ChatGPT.

Can I connect Gmail to Claude without a community package?

Yes. Claude’s official Google Workspace connector supports Gmail and has its own authentication and approval controls. Organization owners may need to enable it first. Check the current connector documentation because its capabilities have expanded beyond older read-only descriptions. Choose community software when you need a specific client or deployment arrangement.

Can I make Gmail MCP genuinely read-only?

Use a readonly OAuth grant and a server configuration that limits exposed operations. Confirm the grant in Google’s account settings, especially if you previously authorized broader access. A hidden send button or a prompt telling the model not to send does not remove permissions already carried by the token.

Does permission to draft mean permission to send?

It can. Google’s gmail.compose scope authorizes managing drafts and sending. A server may expose only draft tools, but the token’s underlying authority is broader. If your goal is just composing suggested wording, keep the text in chat for review instead of creating a Gmail draft unless that account write is needed.

Are credentials safe because the server runs locally?

Local operation lets you control the server machine, but credential files remain sensitive and returned email content can reach the AI provider. Inspect token paths, filesystem permissions, logs and backup destinations. Review which other tools the assistant can call, because mailbox read-only access does not prevent every possible route for disclosure.

How do I stop the assistant accessing my email?

Disconnect the app in the assistant and revoke the relevant Google account connection. Stop any associated local server or automation. Then handle stored copies separately: existing chat content, downloaded attachments and imported records are not necessarily removed by revoking future API access. Check each destination’s own deletion controls.

Sources & notes

Check the linked official documentation for current product behavior. Illustrations and downloadable examples use fictional data; they do not demonstrate a live account connection or write.

Revision history

  • : Published a comparison of official connections, Google developer preview and community servers with scope checks.

Prepared by Jasper with AI-assisted drafting and illustrations.

Keep exploring

All articlesLast updated