Gmail MCP server for AI assistants

Gmail MCP server for AI assistants

gmail-client-mcp-server•byfranciscoyuster

A Model Context Protocol server that gives AI assistants tools to send, read, search, and manage Gmail emails and labels.

License: MIT•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Provides tools to send emails with attachments, CC, BCC, and thread replies, and to create email drafts.
  • •Enables reading emails by ID, searching with advanced filters, fetching full conversation threads, and downloading attachments.
  • •Supports marking emails as read, unread, important, or not important.
  • •Manages Gmail labels, including adding, removing, creating, deleting, listing, updating, and searching labels.

BEST FOR

  • •Automating Gmail email workflows from an AI assistant such as Claude Desktop.
  • •Searching and organizing Gmail correspondence and labels through AI-driven tool calls.

ABOUT GMAIL-CLIENT-MCP-SERVER

Gmail MCP server for AI assistants is cataloged as an MCP server attributed to franciscoyuster. A Model Context Protocol server that gives AI assistants tools to send, read, search, and manage Gmail emails and labels. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Gmail MCP server for AI assistants are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 8610844db4e3 · 采集于 2026-11-13 11:15:57 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Gmail MCP - Instalación Automática y Segura

Acceso de asistentes de IA a Gmail mediante el Model Context Protocol (MCP)

Requisito esencial: Debes tener instalado Claude Desktop para poder utilizar este servidor MCP.

🧪 ¿Qué es MCP?

MCP (Model Context Protocol) es un protocolo de integración desarrollado por Antrophic para facilitar la comunicación entre modelos de lenguaje (como ChatGPT o Claude) y herramientas externas (APIs, bases de datos, servicios web, etc.). Su objetivo es proporcionar un contexto ampliado, estructurado y en tiempo real a los modelos, permitiéndoles ejecutar acciones más allá del texto.


🎥 Video con ejemplo de uso

https://github.com/user-attachments/assets/e49b2d76-bcef-4d44-9222-6818f0f57998

🚀 Instalación rápida (Windows)

  1. Primero:
    • Ve a Google Cloud Console
    • Crea un proyecto y habilita la API de Gmail
    • Agrega http://localhost:8080/ a las URIs de redireccionamiento autorizados
    • Descarga el archivo client_secret_...json y déjalo en tu carpeta Descargas (no te preocupes por el nombre ni la ubicación final)
    • El instalador detectará y moverá el archivo automáticamente a la carpeta correcta y con el nombre adecuado

[!IMPORTANT] Solo necesitas descargar el archivo de credenciales desde Google Cloud despues configurar las URIs de redireccionamiento autorizadas y dejarlo en Descargas. ¡No te preocupes por el nombre ni la ubicación final, el instalador se encarga de todo!

  1. Clona este repositorio desde tu terminal:
    git clone https://github.com/FranciscoYuster/claude-client-gmail-mcp
    cd claude-client-gmail-mcp
    
  2. Y ejecuta el script:
    python setup.py
    
  3. El instalador hará el resto
  4. Cuando veas el mensaje final, ¡abre Claude Desktop y disfruta!

💻 Instalación en macOS / Linux

  1. Sigue los mismos pasos de Google Cloud indicados arriba para obtener tu archivo de credenciales y dejarlo en Descargas.
  2. Clona este repositorio desde tu terminal:
    git clone https://github.com/FranciscoYuster/gmail-client-mcp-server
    cd gmail-client-mcp-server
    
  3. Ejecuta el script para sistemas Unix:
    python3 setupUnix.py
    
  4. El instalador hará el resto.
  5. Cuando veas el mensaje final, ¡abre Claude Desktop y disfruta!

[!IMPORTANT] Si usas Windows, ejecuta: python setup.py Si usas macOS o Linux, ejecuta: python3 setupUnix.py Ambos scripts ejecutan la instalación, pero cada uno está adaptado a su sistema operativo.


🔒 Seguridad

[!WARNING] Nunca subas ni compartas tu archivo de credenciales. Si lo expones por error, elimínalo y genera uno nuevo en Google Cloud Console. El script nunca sube ni distribuye tus datos sensibles.


📝 Requisitos previos

  • Python 3.11 o superior
  • git
  • Cuenta de Gmail
  • Claude Dekstop

[!TIP] El instalador te guiará para instalar cualquier requisito que falte.


⚙️ Configuración manual

🚀 Configuración

  1. Clona este repositorio:
    git clone https://github.com/FranciscoYuster/claude-client-gmail-mcp
    cd claude-client-gmail-mcp
    
  2. Crea y activa un entorno virtual:
    uv init
    # o alternativamente
    uv venv
    
    Luego actívalo:
    .venv\scripts\activate
    
  3. Instala dependencias:
    uv pip install -r requirements.txt
    
  4. Configura credenciales OAuth:
    • Crea un directorio llamado credentials en la raíz del proyecto
    • Crea un proyecto en Google Cloud Console
    • Habilita la API de Gmail
    • Crea credenciales OAuth
    • Agrega la siguiente URI a las URIs de redirección autorizadas:
      http://localhost:8080/
      
    • Descarga el archivo JSON de credenciales y guárdalo como credentials/client_secret_gmail_oauth.json

[!CAUTION] Asegúrate de que la ruta y el nombre del archivo de credenciales sean correctos para evitar errores de autenticación.

  1. Agrega el servidor MCP a tu configuración JSON. Por favor, consulta la documentación oficial de tu cliente MCP para instrucciones específicas. Asegúrate de ajustar la ruta según tu entorno:

    {
        "mcpServers": {
            "gmail-mcp": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/path/to/your/gmail-mcp/src",
                    "run",
                    "main.py"
                ]
            }
        }
    }
    
  2. Ejecuta Claude Desktop


Herramientas disponibles

El servidor incluye una serie de herramientas para operar y automatizar Gmail desde asistentes de IA. Estas herramientas permiten enviar, leer, buscar, gestionar correos y etiquetas. A continuación se listan las principales funciones disponibles:

Operaciones de correo electrónico

  • Enviar correos (con adjuntos, CC, BCC, respuesta a hilos)
  • Crear borradores de correos (con adjuntos)
  • Descargar adjuntos de un mensaje
  • Leer correos por ID (texto y HTML, con fragmentación para mensajes grandes)
  • Buscar correos con filtros avanzados (consulta, etiquetas, remitente, adjuntos, paginación)
  • Obtener hilos completos de conversación
  • Marcar como leído/no leído/importante/no importante

Gestión de etiquetas

  • Añadir o eliminar etiquetas de un correo
  • Crear nuevas etiquetas
  • Eliminar etiquetas por nombre
  • Listar todas las etiquetas
  • Obtener o crear etiquetas por nombre
  • Actualizar configuración de etiquetas (nombre, visibilidad, color)
  • Buscar etiquetas por nombre

Estas herramientas permiten una gestión avanzada y automatizada del correo electrónico y las etiquetas de Gmail, facilitando la integración con asistentes de IA y flujos de trabajo

📝 Licencia

MIT. Consulta el archivo LICENSE.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Gmail MCP server for AI assistants from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/gmail-client-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication