Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

Gmail AutoAuth MCP Server
Un servidor MCP (Model Context Protocol) para integración con Gmail en Claude Desktop con soporte de autenticación automática. Este servidor permite a los asistentes de IA gestionar Gmail a través de interacciones en lenguaje natural.
Características
- Enviar correos con asunto, contenido, archivos adjuntos y destinatarios
- Soporte completo para caracteres internacionales
- Leer mensajes por ID con manejo avanzado de estructura MIME
- Ver información de archivos adjuntos
- Buscar correos con varios criterios
- Gestión completa de etiquetas
- Listar todas las etiquetas disponibles
- Listar correos en bandeja de entrada, enviados o etiquetas personalizadas
- Marcar correos como leídos/no leídos
- Mover correos entre etiquetas
- Eliminar correos
- Operaciones por lotes para procesar múltiples correos
Instalación y Autenticación
Opción 1: Usando npx (Recomendado para uso personal)
-
Obtener credenciales de Google Cloud:
- Ve a Google Cloud Console
- Crea un nuevo proyecto o selecciona uno existente
- Habilita la API de Gmail
- Ve a "APIs & Services" > "Credentials"
- Crea credenciales OAuth 2.0
- Descarga el archivo JSON de credenciales
- Renómbralo a
gcp-oauth.keys.json
-
Configurar autenticación:
# Crea el directorio de configuración mkdir -p ~/.gmail-mcp # Mueve las credenciales al directorio mv gcp-oauth.keys.json ~/.gmail-mcp/ # Ejecuta la autenticación npx @gongrzhe/server-gmail-autoauth-mcp auth
-
Configurar en Claude Desktop:
{ "mcpServers": { "gmail": { "command": "npx", "args": [ "@gongrzhe/server-gmail-autoauth-mcp" ] } } }
Opción 2: Usando Node.js (Recomendado para desarrollo o distribución)
-
Clonar el repositorio:
git clone [url-del-repositorio] cd Gmail-MCP-Server
-
Instalar dependencias:
npm install
-
Configurar variables de entorno:
- Copia el archivo
.env.example
a.env
- Edita
.env
con tus credenciales:GOOGLE_CLIENT_ID="tu-client-id" GOOGLE_CLIENT_SECRET="tu-client-secret" GOOGLE_REFRESH_TOKEN="tu-refresh-token" GOOGLE_REDIRECT_URI="http://localhost:3000/oauth2callback"
- Copia el archivo
-
Compilar el proyecto:
npm run build
-
Configurar en Claude Desktop:
{ "mcpServers": { "gmail": { "command": "node", "args": [ "ruta/al/dist/index.js" ], "env": { "GOOGLE_CLIENT_ID": "tu-client-id", "GOOGLE_CLIENT_SECRET": "tu-client-secret", "GOOGLE_REFRESH_TOKEN": "tu-refresh-token", "GOOGLE_REDIRECT_URI": "http://localhost:3000/oauth2callback" } } } }
Comparación de Métodos
Método npx
- ✅ Más fácil de usar
- ✅ Renovación automática de tokens
- ✅ Ideal para uso personal
- ❌ Requiere configuración manual inicial
Método Node.js
- ✅ Más control sobre la configuración
- ✅ Ideal para desarrollo y distribución
- ✅ Fácil de versionar y compartir
- ❌ Requiere gestión manual de tokens
Solución de Problemas
Problemas de Autenticación
- Si recibes
invalid_grant
, necesitas renovar el token:- Con npx:
npx @gongrzhe/server-gmail-autoauth-mcp auth
- Con Node:
node dist/index.js auth
- Con npx:
Problemas de Conexión
- Verifica que el puerto 3000 esté disponible
- Asegúrate de que las credenciales sean correctas
- Verifica que la API de Gmail esté habilitada
Seguridad
- Nunca compartas tus credenciales
- Revoca el acceso en Google Cloud Console si ya no lo necesitas
- Usa diferentes credenciales para desarrollo y producción
- Mantén tus tokens seguros y actualizados
Contribuir
Las contribuciones son bienvenidas. Por favor, envía un Pull Request.
Licencia
MIT
Support
If you encounter any issues or have questions, please file an issue on the GitHub repository.
相关推荐
You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!
Carbon footprint calculations breakdown and advices on how to reduce it
Text your favorite pet, after answering 10 questions about their everyday lives!
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
Evaluates language quality of texts, responds with a numerical score between 50-150.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.
Traducción de papel científico en PDF con formatos preservados - 基于 Ai 完整保留排版的 PDF 文档全文双语翻译 , 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 等服务 等服务 等服务 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 cli/mcp/docker/zotero
AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need
⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.
✨ 易上手的多平台 llm 聊天机器人及开发框架 ✨ 平台支持 qq 、 qq 频道、 telegram 、微信、企微、飞书 | MCP 服务器、 OpenAi 、 Deepseek 、 Géminis 、硅基流动、月之暗面、 Ollama 、 oneapi 、 DiFy 等。附带 Webui。
Reviews

user_cicN4rQJ
The mcp-gmail-extension by Escorza07 is an outstanding tool for enhancing Gmail usage. It seamlessly integrates with my daily workflow, boosting productivity and providing essential functionalities right at my fingertips. Highly recommend this to anyone looking to optimize their email experience!

user_gYAPST7e
The mcp-gmail-extension by Escorza07 is a game-changer for enhancing Gmail functionality. It seamlessly integrates into the Gmail interface, providing additional features that streamline my email management. I particularly appreciate its user-friendly design and how it boosts my productivity. Highly recommend for anyone looking to elevate their Gmail experience!

user_TZVQSusv
The mcp-gmail-extension by Escorza07 has dramatically improved my email experience. It seamlessly integrates with Gmail, offering enhanced productivity features that are both intuitive and efficient. The extension's performance is rock-solid, and I haven't encountered any issues since I started using it. Highly recommended for anyone looking to streamline their email workflow.