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

A server that exposes the Gmail API through the Model Context Protocol for integration with LLMs and clients such as Claude Desktop.
Gmail MCP server is cataloged as an MCP server attributed to ivanlhz. A server that exposes the Gmail API through the Model Context Protocol for integration with LLMs and clients such as Claude Desktop. 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.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Gmail MCP server 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.
It uses OAuth 2.0 credentials created in Google Cloud, supplied as GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET environment variables when launching the server.
README.md · 159e810f13d9 · Fetched 2026-11-13 09:55:15 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Repositorio oficial: https://github.com/ivanlhz/gmail-mcp-server
Servidor para exponer la API de Gmail mediante el Model Context Protocol (MCP), diseñado para su integración con LLMs y uso en entornos como Claude Desktop.
Este proyecto permite exponer la API de Gmail vía MCP, facilitando su integración con LLMs y uso en entornos como Claude Desktop.
El servidor expone las siguientes tools MCP para interactuar con Gmail:
| Tool | Descripción |
|---|---|
get_labels() | Obtiene todas las etiquetas del usuario Gmail. |
get_label_by_id(label_id) | Obtiene los datos de una etiqueta específica a partir de su ID. |
create_label(name, bg_color, text_color) | Crea una nueva etiqueta en Gmail con nombre y colores opcionales. |
update_label(label_id, name, bg_color, text_color) | Actualiza una etiqueta existente. |
delete_label(label_id) | Elimina una etiqueta de Gmail a partir de su ID. |
mark_emails_as_read(emails_ids: List[str]) | Marca como leídos los emails cuyo ID se pase en la lista. |
mark_emails_as_unread(emails_ids: List[str]) | Marca como no leídos los emails cuyo ID se pase en la lista. |
add_labels(emails_ids: List[str], labels: List[str]) | Asigna una o varias etiquetas a todos los emails indicados en la lista de IDs. |
get_all_emails_ids_by_query(query: str, max_results: int, next_page_token: str = None) | Devuelve una lista paginada de IDs de emails según la consulta de Gmail. Usa next_page_token para paginar. |
get_email_detail(email_id: str) | Devuelve los detalles completos de un email específico por su ID. |
.
├── src/
│ ├── gmail/ # Lógica de integración con Gmail
│ │ ├── __init__.py
│ │ ├── auth.py # Autenticación y OAuth
│ │ ├── service.py # Lógica de negocio (mensajes, etiquetas)
│ │ └── models/
│ │ └── label_model.py # Modelos de etiquetas de Gmail
│ ├── gmail_mcp_server/
│ │ ├── __init__.py
│ │ └── main.py # Punto de entrada MCP y definición de tools
│ └── gmail_mcp_server.egg-info/ # Info de empaquetado
├── pyproject.toml # Configuración del paquete y dependencias
├── uv.lock # Lockfile de dependencias (usado por uv)
├── README.md # Este archivo
├── LICENSE # Licencia MIT
└── .venv/ # Entorno virtual (no versionar)
git clone <URL_DEL_REPOSITORIO>
cd gmail-mcp-server
uv pip install -r uv.lock
uv pip install build
uv run -m build
Esto generará archivos .whl y .tar.gz en el directorio dist/.Instala el paquete en tu entorno:
uv pip install dist/gmail_mcp_server-0.1.1-py3-none-any.whl
(Asegúrate de ajustar el nombre del archivo .whl si cambia la versión.)
Este proyecto utiliza uv para gestionar las dependencias y los entornos virtuales.
uv pip install -r uv.lock
uv pip install <paquete>
uv pip freeze > uv.lock
Consulta la documentación oficial de uv para más detalles.
Para que el servidor pueda acceder a la API de Gmail, necesitas crear credenciales OAuth 2.0 en Google Cloud:
client_id y client_secret.GOOGLE_CLIENT_ID y GOOGLE_CLIENT_SECRET al lanzar el servidor.Más información en la guía oficial de Google.
C:\Users\<usuario>\develop\proyectos\mcp\gmail-mcp-server\.venv\Scripts\gmail-mcp-server.exe
.venv\Scripts\ al PATH para poder usar gmail-mcp-server desde cualquier terminal.gmail-mcp-server como comando global en cualquier terminal.claude.config.json):
{
"mcpServers": {
"gmail": {
"command": "C:\\Users\\<usuario>\\develop\\proyectos\\mcp\\gmail-mcp-server\\.venv\\Scripts\\gmail-mcp-server.exe",
"env": {
"GOOGLE_CLIENT_ID": "TU_ID",
"GOOGLE_CLIENT_SECRET": "TU_SECRET"
}
}
}
}
{
"mcpServers": {
"gmail": {
"command": "gmail-mcp-server",
"env": {
"GOOGLE_CLIENT_ID": "TU_ID",
"GOOGLE_CLIENT_SECRET": "TU_SECRET"
}
}
}
}
<usuario> por tu nombre de usuario de Windows y completa tus credenciales./ruta/a/tu/proyecto/.venv/bin/gmail-mcp-server
Para agregar el ejecutable al PATH de forma permanente:
~/.bashrc, ~/.zshrc, etc.).export PATH="/ruta/a/tu/proyecto/.venv/bin:$PATH"
source ~/.bashrc o source ~/.zshrc (según tu shell), o reinicia la terminal.Ahora podrás usar simplemente gmail-mcp-server como comando global.
Recomendación para Claude Desktop:
{
"mcpServers": {
"gmail": {
"command": "/ruta/a/tu/proyecto/.venv/bin/gmail-mcp-server",
"env": {
"GOOGLE_CLIENT_ID": "TU_ID",
"GOOGLE_CLIENT_SECRET": "TU_SECRET"
}
}
}
}
{
"mcpServers": {
"gmail": {
"command": "gmail-mcp-server",
"env": {
"GOOGLE_CLIENT_ID": "TU_ID",
"GOOGLE_CLIENT_SECRET": "TU_SECRET"
}
}
}
}
Cambia /ruta/a/tu/proyecto/ por la ruta real y completa tus credenciales.
Tras cualquier cambio, reinicia Claude Desktop para que detecte y ejecute el servidor MCP correctamente.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Gmail MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/gmail-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.
Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

A Telegram CLI with background sync that can run an optional MCP server for a personal account using MTProto, not the bot API.