
Gmail MCP Server
by @GongRzhe
A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.
Send to Your Agent
Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.
Install the Gmail MCP Server MCP server for me.
Server: Gmail MCP Server
Description: A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.
Install command: npx -y GongRzhe/Gmail-MCP-Server
Environment variables needed:
- Set: up your n8n container to expose a port for authentication (required)
- Configure: a reverse proxy to forward traffic from your domain (e.g., `gmail.gongrzhe.com`) to this port (required)
- Add: an A record in your DNS settings to resolve your domain to your cloud server's IP address (required)
- In: your Google Cloud Console, add your custom domain callback URL (e.g., `https://gmail.gongrzhe.com/oauth2callback`) to th (required)
GitHub: https://github.com/GongRzhe/Gmail-MCP-Server
Please install this MCP server and confirm when ready. Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.
Quick Install
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
- Open Claude Desktop app
- Go to Settings → Developer → Edit Config
- Paste the config below into the file
- Restart Claude Desktop
{
"mcpServers": {
"gmail-mcp-server": {
"command": "npx",
"args": [
"-y",
"GongRzhe/Gmail-MCP-Server"
],
"env": {
"Set": "value",
"Configure": "value",
"Add": "value",
"In": "value"
}
}
}
} Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json
Installation Methods
npx -y GongRzhe/Gmail-MCP-Serverdocker run GongRzhe/Gmail-MCP-ServerTools (1)
execute Execute Gmail-MCP-Server operations
Environment Variables
Set Requiredup your n8n container to expose a port for authentication
valueConfigure Requireda reverse proxy to forward traffic from your domain (e.g., `gmail.gongrzhe.com`) to this port
valueAdd Requiredan A record in your DNS settings to resolve your domain to your cloud server's IP address
valueIn Requiredyour Google Cloud Console, add your custom domain callback URL (e.g., `https://gmail.gongrzhe.com/oauth2callback`) to th
value| Name | Description | Required | Example |
|---|---|---|---|
| Set | up your n8n container to expose a port for authentication | Required | value |
| Configure | a reverse proxy to forward traffic from your domain (e.g., `gmail.gongrzhe.com`) to this port | Required | value |
| Add | an A record in your DNS settings to resolve your domain to your cloud server's IP address | Required | value |
| In | your Google Cloud Console, add your custom domain callback URL (e.g., `https://gmail.gongrzhe.com/oauth2callback`) to th | Required | value |
Compatibility
About
Gmail AutoAuth MCP Server
Overview
A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.
Environment Variables
Set: up your n8n container to expose a port for authentication (Required)Configure: a reverse proxy to forward traffic from your domain (e.g.,gmail.gongrzhe.com) to this port (Required)Add: an A record in your DNS settings to resolve your domain to your cloud server's IP address (Required)In: your Google Cloud Console, add your custom domain callback URL (e.g.,https://gmail.gongrzhe.com/oauth2callback) to th (Required)
Installation
NPX
npx -y GongRzhe/Gmail-MCP-Server
DOCKER
docker run GongRzhe/Gmail-MCP-Server
Related Resources
faithk7-gmail-mcp
MCP ServerManage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…
MCP Server Builder
SkillBuild high-quality Model Context Protocol (MCP) servers to integrate external APIs and services with AI assistants. Follow best practices for tool design, security, and cross-platform compatibility.
MCP Tool Orchestrator
PromptDesign and orchestrate complex multi-tool workflows using the Model Context Protocol (MCP). Build intelligent agent systems that coordinate multiple MCP servers for sophisticated automation tasks.
MCP
GlossaryMCP stands for Model Context Protocol. It is an open standard that lets AI clients connect to external tools, data sources, and prompts through a single, consistent interface. Anthropic introduced MCP in late 2024, and it has since been adopted by Claude Desktop, Cursor, Cline, VS Code, Windsurf, and a growing list of community clients. An MCP server is a small program that exposes three things: tools the model can call, resources the client can read, and prompts that help users accomplish common tasks. An MCP client discovers those capabilities and decides when to invoke them. Transport is usually stdio for local servers or Server-Sent Events for remote ones. For developers, MCP removes the need to build a custom integration for every API. You write one server, and any compatible client can use it. For users, it means AI assistants can securely access files, databases, SaaS tools, and web services without each client reinventing the wheel.
kesslerio-attio-mcp-server
MCP ServerConnect AI to your Attio CRM. Manage contacts, companies, deals, and sales pipelines. Create tasks…
Compare LLM Pricing
This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.