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

MCP-GMAIL-Erweiterung
0
Github Watches
0
Github Forks
0
Github Stars
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.
相关推荐
Text your favorite pet, after answering 10 questions about their everyday lives!
Carbon footprint calculations breakdown and advices on how to reduce it
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!
Evaluates language quality of texts, responds with a numerical score between 50-150.
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.
⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.
PDF wissenschaftliche Papierübersetzung mit erhaltenen Formaten - 基于 ai 完整保留排版的 pdf 文档全文双语翻译 , 支持 支持 支持 支持 google/deeptl/ollama/openai 等服务 提供 cli/gui/mcp/docker/zotero
Führen Sie vorhandene Server-basierte Server auf Modellkontextprotokoll (MCP) in AWS Lambda-Funktionen aus
Ein Plugin-basiertes Gateway, das andere MCPs orchestriert und es Entwicklern ermöglicht, auf IT-Agenten zu bauen.
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.