Use Google’s hosted Gmail MCP server at https://gmailmcp.googleapis.com/mcp/v1. You must enable both the Gmail API and Gmail MCP API in a Google Cloud project, configure Google OAuth consent and scopes, create OAuth client credentials, then add the server to an MCP-capable client over Streamable HTTP. Google currently labels the service Developer Preview, so check the official setup guide for UI changes before you begin.
What you need before connecting
- A Google Cloud project where you can manage APIs and OAuth settings.
- An MCP client that supports remote Streamable HTTP servers and OAuth 2.0 callbacks.
- A Google account allowed to use the project. For an External OAuth app, you may also need to add your account as a test user.
- Google Cloud CLI (gcloud) if you want to follow Google’s command-line setup. The CLI should be installed, updated, signed in, and initialized.
The exact callback URI and credential screens depend on the MCP host. Google documents specific flows for Antigravity and Claude, plus generic parameters for other clients.
Connect Gmail to Google’s remote MCP server
1. Select or create a Google Cloud project
Open the Google Cloud Console, select the project that will own the OAuth configuration, and note its project ID. Keep the same project selected when enabling APIs and creating credentials; mixing projects is a common cause of authorization errors.
2. Enable the Gmail services
In APIs & Services, enable both services:
gmail.googleapis.com— Gmail API.gmailmcp.googleapis.com— Gmail MCP API.
With gcloud, run:
gcloud services enable gmail.googleapis.com gmailmcp.googleapis.com --project=YOUR_PROJECT_ID
Replace YOUR_PROJECT_ID with the selected project ID. If gcloud reports that the service is unavailable, confirm the account, project, and CLI login before retrying.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →#1 Best Overall
- Includes Raspberry Pi 5 with 2.4Ghz 64-bit quad-core CPU (8GB RAM)
- Includes 128GB Micro SD Card pre-loaded with 64-bit Raspberry Pi OS, USB MicroSD Card Reader
- CanaKit Turbine Black Case for the Raspberry Pi 5
- CanaKit Low Noise Bearing System Fan
- Mega Heat Sink - Black Anodized
3. Configure Google OAuth consent
In Google Auth Platform, complete the Branding, Audience, and Data Access sections before creating an OAuth client. Google’s sample uses an Internal audience where that option exists. Otherwise choose External and add the Google accounts that will test the connection under authorized test users.
Use the scopes named in Google’s Gmail MCP setup:
https://www.googleapis.com/auth/gmail.readonlyfor searching and reading Gmail data.https://www.googleapis.com/auth/gmail.composefor creating drafts.
Explain these permissions to users before authorization. Gmail scopes are classified by sensitivity; restricted scopes can trigger OAuth verification, and storing or transmitting restricted-scope data on a server can require a security assessment. Review Google’s current scope documentation for requirements that apply to your app and account type.
4. Create an OAuth client
Create the OAuth client type required by your MCP host and record its client ID and client secret. The redirect or callback URI is host-specific. Do not guess it: copy the exact URI supplied by your client’s custom-connector or remote-server instructions.
5. Add the server in your MCP client
For a client other than the specifically documented Antigravity or Claude flows, use these connection values:
| Field | Value |
|---|---|
| Server name | gmail |
| URL | https://gmailmcp.googleapis.com/mcp/v1 |
| Transport | Streamable HTTP |
| Authentication | OAuth 2.0 |
Save the connector, start the OAuth flow, choose the Google account, review the requested scopes, and approve only if the client and server are trusted. Your host may ask for the OAuth client ID, secret, authorization URL, token URL, or redirect URI in separate fields.
Claude-specific connection
Google’s Claude instructions require a supported Claude.ai or Claude Desktop plan—Enterprise, Pro, Max, or Team—and a custom connector configured with your Google OAuth client ID and secret. Follow the current Claude connector screens for its callback URI, then enter the Gmail MCP URL above.
6. Verify the connection
After authorization, ask the client to perform a read-only search first, for example:
Rank #2
- Includes Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core CPU (4GB RAM)
- Includes Pre-Loaded 32GB EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader
- CanaKit Premium High-Gloss Raspberry Pi 4 Case with Integrated Fan Mount, CanaKit Low Noise Bearing System Fan
- CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply (US Plug) with Noise Filter, Set of Heat Sinks, Display Cable - 6 foot (Supports up to 4K60p)
- CanaKit USB-C PiSwitch (On/Off Power Switch for Raspberry Pi 4)
What did Ariel say in her last email about our marketing plan?
Then test draft creation:
Draft an email to [email protected] saying that I approve the marketing plan.
The draft tool creates a Gmail draft for your review. Google’s published tool list does not include a send-email tool, so do not assume this connection can send messages automatically.
What the Gmail MCP server can do
Google describes this as a Gmail API-provided MCP server for LLM applications. Its documented global and toolset endpoint is https://gmailmcp.googleapis.com/mcp/v1. The reference lists these tools:
Free tools Windows power users keep installed
One-click scans. No signup required.
search_threads— search Gmail conversations.get_threadandget_message— retrieve thread or message content.list_labels— list available Gmail labels.label_messageandlabel_thread— apply labels.unlabel_messageandunlabel_thread— remove labels.list_drafts— list drafts.create_draft— create a draft for review.
There is no documented send tool in that list. Google marks the hosted service as part of the Workspace Developer Preview Program, so tool coverage and availability may change.
Security and administrator checks
Protect against prompt injection
Email is untrusted input. A malicious message can contain instructions designed to make an AI client modify, disclose, or delete data. Google’s explicit warning is: “Never connect Gmail MCP server to untrusted or unverified applications.” Use a trusted client, treat message content as data rather than instructions, screen prompts and responses, and review every consequential action—especially labels, drafts, and any downstream automation.
Check Workspace administrator policy
Workspace administrators can review third-party applications and requested OAuth scopes, mark apps Trusted, Limited, or Blocked, and restrict access to Google services. A policy can prevent users from authorizing an app that requests restricted services even when the OAuth setup is otherwise correct. If authorization is blocked, ask an administrator to review the app and scopes in the Admin console rather than repeatedly retrying.
Use least privilege
Request only the documented read and compose scopes. Keep OAuth client secrets out of source control, rotate them if exposed, and revoke the Google connection when the client is no longer needed.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsRank #3
- Not including the Raspberry Pi 5 (8GB), the Crowpi advanced version comes with the Raspberry Pi 5
- ELECROW Black Case for the Raspberry Pi 5, CrowPi is equipped with a 9-inch HD touchscreen along with a camera; All the regular components used in DIY electronics are packed into the CrowPi development board, such as LCD, LED matrix, buzzer, light sensor, PIR sensor, ultrasonic sensor, IR sensor, etc
- Raspberry Pi Sensors: The Crowpi raspberry pi 5 programming kit is jam-packed with lots of buttons such as 19 different sensors in a tidy easy to use package; You don't have to wait and wire things
- Build Quality: Solid ABS shell and well made components in one place make it strong and convenient to travel
- Programming Lessons: This raspberry pi 5 learning kit ships with step by step instructions and provides 21 lessons to take you through identifying components reading code and running it in the terminal
Troubleshooting common connection failures
“API not enabled” or service-disabled errors
Cause: One of the two required services is disabled, or the client and APIs belong to different projects.
Fix: In the selected project, verify both gmail.googleapis.com and gmailmcp.googleapis.com. Re-run the gcloud command and wait briefly for propagation.
OAuth consent screen rejects the account
Cause: An External app is still in testing and your account is not an authorized test user, or an Internal audience is unavailable for your account organization.
Fix: Add the account under test users for an External app, or use the audience type permitted by your Workspace organization.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Redirect URI mismatch
Cause: The callback registered in Google Cloud does not exactly match the URI used by the MCP host.
Fix: Copy the callback from the host’s connector documentation, including scheme, path, port, and trailing slash, then update the OAuth client.
Insufficient permission or scope errors
Cause: The OAuth client was authorized without one of the required scopes, or an administrator restricted the requested service.
Fix: Disconnect the integration, authorize again with gmail.readonly and gmail.compose, and have an administrator review the app status if policy blocks it.
Recommended Free Tools
Rank #4
- Fully assembled for plug-and-play operation
- Includes Raspberry Pi 5 with 8GB RAM
- 256 GB PCIe Pi NVMe SSD (Pre-loaded with Pi 64-Bit OS)
- M.2 HAT+
- CanaKit Turbine Black Case for the Pi 5
The client cannot connect to the URL
Cause: The host may support only local stdio MCP servers, not remote Streamable HTTP, or may require a different OAuth field layout.
Fix: Confirm remote Streamable HTTP and OAuth 2.0 support in the host. Use the host’s exact custom-connector instructions; the endpoint itself is https://gmailmcp.googleapis.com/mcp/v1.
Search works but drafting fails
Cause: The connection has read-only authorization, or the client did not request gmail.compose.
Fix: Reauthorize with both documented scopes and confirm that the account and administrator policy permit compose access.
Google OAuth logs show a denied request
Use Google Workspace OAuth logs to identify the application, user, scope, and policy decision. This is especially useful when an administrator’s Trusted, Limited, or Blocked setting—not your MCP configuration—is the cause.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Operational guidance: reliability, privacy, and cost
Preview status and changing interfaces
The Gmail MCP service is in Developer Preview. Treat Google’s setup and reference pages as the authority for current fields, tools, and availability. Client interfaces can change independently, so document your connector settings for your team and retest after host or Google Workspace updates.
Data handling
The remote server and your MCP host are separate trust boundaries. Determine who operates each service, where OAuth tokens are stored, and whether prompts or returned message content are logged. Avoid sending sensitive email content to an unverified client.
Usage and billing
Google’s setup documentation does not establish a per-message price for this MCP connection. Any charges or quotas associated with your Google Cloud project, Workspace edition, or MCP host should be checked in those products’ current terms.
Best Value
- 【What you Get】You will get 1*Pi 5 8GB Single Board,1*RasTech Case,1*Active Cooler,1*Screwdriver,1*Installation instructions,12-month free warranty, lifetime service, 24-hour prompt and friendly response.
- 【More Connectors】There are two USB 3.0 ports(5Gbps simultaneously) and two USB 2.0 ports, which triple total bandwidth ,support any combination of up to two cameras or displays. Peak SD card performance is doubled through support for the SDR104 high-speed mode. It provides a smooth desktop experience for you. Offer Gigabit Ethernet and a PCIe interface, along with dual-band Wi-Fi and Bluetooth 5.0/BLE wireless capability. The RasTech Pi 5 Kit use the new 27W 5.1V 5A USB-C power connector.
- 【 Support Dual 4Kp60 Display 】Each of the two microHDMI sockets can control a 4K display at 60 Hertz, now support HDR, offering super HD video for media streaming projects. RPi 5 is the first RPi model that comes with a PCI Express port (PCIe 2.0 x1 with 500 MB/s) to attach SSDs (requires separate M.2 HAT).
- 【 Excellent Chips And Applications】Pi 5 is a full-size Pi computer using silicon built in-house at Pi. The RP1 “southbridge” provides the bulk of the I/O capabilities for Pi 5. Pi 5 is more friendly and convenient in the development of Internet of Things, Web development, machine identification, automatic control and other electronic equipment applications and network.
- 【 Faster CPU, Better GPU 】 Pi 5 features a Broadcom BCM2712 64-bit quad-core Arm Cortex-A76 processor running at 2.4GHz, it delivers a 2–3× increase in CPU performance relative to RaspberryPi 4. The 800MHz VideoCore VII GPU is compatible to OpenGL ES 3.1 and Vulkan 1.2, substantial uplift in graphics performance. Pi 5 Offers lightning-fast CPU speed, a PCI Express interface, a Real Time Clock (RTC) and a power button and runs significantly cooler than Pi 4.
Or skip the browser setup
If your goal is website screenshots for documentation or agent workflows rather than Gmail authorization, ScreenshotNeo provides a single-call screenshot API and an MCP server. It removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, with the result identified by X-Page-Verdict and X-Billed headers. Its MCP tools—take_screenshot, get_page_info, and capture_pdf—work with Claude, Cursor, and other MCP clients.
For a direct request, see the ScreenshotNeo documentation:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
There is a free plan with 1,000 screenshots per month and no card required. Paid plans start at $5 for 3,000 shots. Create a free ScreenshotNeo account.
FAQ
What URL do I use for the Gmail MCP server?
Use https://gmailmcp.googleapis.com/mcp/v1 with Streamable HTTP and OAuth 2.0.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Which Gmail OAuth scopes are required?
Google’s documented setup names https://www.googleapis.com/auth/gmail.readonly and https://www.googleapis.com/auth/gmail.compose.
Can Gmail MCP send email?
Google’s published reference lists draft creation but no send-email tool, so the documented integration should not be treated as an automatic sender.
Frequently Asked Questions
Is the Gmail MCP server available to every Google account?
Availability depends on Google Workspace policies, OAuth audience settings, and the service’s Developer Preview status. Administrators can restrict or block authorization.
Do I need Claude to use Gmail MCP?
No. Claude has documented setup instructions, but any MCP-capable client that supports remote Streamable HTTP and OAuth 2.0 can use the generic connection parameters.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchThe Bottom Line
Enable both Gmail services, authorize the two documented scopes, configure the host’s exact OAuth callback, and test with search before creating a draft. Keep the preview status and email prompt-injection risk in mind.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




