Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

Google Calendar MCP Server in Java + Quarkus
An MCP server built on Java and Quarkus that lets compatible AI clients discover and invoke Google Calendar tools, with the server handling authentication, validation and Google API calls.
WHAT IT DOES
- •Exposes Google Calendar as MCP tools over SSE using the quarkus-mcp-server-sse extension, with each tool described for LLM use.
- •Handles the Google OAuth 2.0 Authorization Code flow with offline access and token persistence so reauthentication is not needed on each start.
- •Provides tools to select calendars by name with fuzzy matching, list and create events, and delete events by query, date range, ID or an entire calendar.
- •Validates ISO 8601 dates and returns uniform, clear error messages to the client for invalid input, network failures or 404s.
BEST FOR
- •Natural-language meeting creation, such as asking an assistant to create a team meeting on a work calendar and having it call createEvent.
- •Listing and filtering calendar events by text and date range through an AI client.
- •Bulk cleanup operations, including deleting matching events, all events in a date range, or clearing an entire calendar, which the README flags as irreversible and destructive.
ABOUT GOOGLE-CALENDAR-MCP-ADALBERTDB
Google Calendar MCP Server in Java + Quarkus is cataloged as an MCP server attributed to adalbertdb. An MCP server built on Java and Quarkus that lets compatible AI clients discover and invoke Google Calendar tools, with the server handling authentication, validation and Google API calls. It is categorized under productivity work. 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: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
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
Reviews for Google Calendar MCP Server in Java + Quarkus 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.
FREQUENTLY ASKED QUESTIONS
How are calendars selected when the name is not exact?
Selection tolerates typos by matching exact name first, then substring, then Levenshtein distance.
How are Google credentials and tokens handled?
Credentials are loaded from credentials.json, which is excluded from version control, and access tokens are stored locally in the tokens directory.
Are deletion tools reversible?
No; the deletion tools are irreversible, so the README recommends trying them on a test calendar first.
上游原版 README
README.md · 7957649785af · 采集于 2026-11-13 13:21:47 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
📅 Google Calendar MCP Server
Servidor MCP (Model Context Protocol) en Java + Quarkus que permite a un asistente de IA consultar y gestionar Google Calendar en lenguaje natural.
✨ Qué hace
Este proyecto expone Google Calendar como un conjunto de herramientas MCP que cualquier cliente compatible (Claude Desktop, MCP Inspector, agentes propios…) puede descubrir e invocar. El modelo de lenguaje decide qué herramienta usar y con qué argumentos, y el servidor se encarga de la autenticación, la validación y las llamadas a la API de Google.
💬 "Créame una reunión de equipo mañana de 10 a 11 en el calendario de trabajo" → el asistente llama a
createEvent→ el evento aparece en Google Calendar.
🧠 Lo que demuestra este proyecto
| Área | Detalle |
|---|---|
| Integración con IA (MCP) | Servidor MCP sobre SSE con la extensión quarkus-mcp-server-sse. Cada herramienta lleva descripciones pensadas para que un LLM la use correctamente. |
| Backend Java moderno | Quarkus 3, CDI (@Inject, @Produces, @Singleton), empaquetado como uber-jar. |
| Seguridad / OAuth 2.0 | Flujo Authorization Code con Google, acceso offline y persistencia de tokens para no reautenticar en cada arranque. Credenciales excluidas del control de versiones. |
| Integración con APIs externas | Cliente oficial de Google Calendar API v3: listado, creación y borrado (incluidos eventos recurrentes). |
| Algoritmia aplicada | Selección de calendario por nombre con fuzzy matching (coincidencia exacta → subcadena → distancia de Levenshtein), para tolerar errores tipográficos del usuario o del modelo. |
| Robustez | Validación de fechas ISO 8601 y gestión de errores uniforme que devuelve mensajes claros al cliente (entrada inválida, fallo de red, 404…). |
🏗️ Arquitectura
flowchart LR
U([👤 Usuario]) -->|lenguaje natural| C[Cliente MCP<br/>Claude Desktop / Inspector]
C <-->|MCP sobre SSE<br/>:8080/mcp/sse| S
subgraph S [Quarkus MCP Server]
direction TB
T[Herramientas MCP<br/>tools/*] --> SEL[SelectCalendarTool<br/>fuzzy matching]
T --> CAL[(Calendar client<br/>GoogleCalendarConfig)]
SEL --> CAL
CAL --> AUTH[GoogleAuthService<br/>OAuth 2.0]
end
AUTH <-->|consentimiento<br/>:8888| G1[Google OAuth]
CAL <-->|REST| G2[Google Calendar API v3]
GoogleAuthServicegestiona el flujo OAuth 2.0: cargacredentials.json, abre el navegador para el consentimiento y guarda los tokens entokens/.GoogleCalendarConfiges un producer CDI que crea un único clienteCalendarautenticado e inyectable en todas las herramientas.tools/contiene las herramientas MCP; todas resuelven primero el calendario por nombre a través deSelectCalendarTool.
🛠️ Herramientas MCP disponibles
| Herramienta | Descripción |
|---|---|
selectCalendar | Busca un calendario por nombre (con tolerancia a errores) y devuelve su ID y la lista de calendarios disponibles. |
listEvents | Lista eventos de un calendario, con filtro opcional por texto y rango de fechas. |
createEvent | Crea un evento (título, ubicación, descripción, inicio/fin ISO 8601, zona horaria) y devuelve su ID. |
deleteEventsByQuery | Borra los eventos que coinciden con un texto de búsqueda (opcionalmente acotado por fechas). |
deleteEventsByDateRange | Borra todos los eventos entre dos fechas. |
deleteRecurringEvent | Borra un evento por ID, o una única instancia de un evento recurrente. |
clearAllEvents | Vacía un calendario. ⚠️ Destructivo. |
hello | Herramienta de prueba para comprobar la conexión cliente-servidor. |
🚀 Puesta en marcha
Requisitos
- Java 17+
- Maven (o el wrapper incluido
./mvnw) - Una cuenta de Google y un proyecto en Google Cloud
- Un cliente MCP (p. ej. MCP Inspector o Claude Desktop)
1. Credenciales de Google
- En Google Cloud Console, crea un proyecto nuevo.
- APIs y servicios → Biblioteca → habilita Google Calendar API.
- APIs y servicios → Credenciales → Crear credenciales → ID de cliente de OAuth (tipo Aplicación de escritorio). Configura la pantalla de consentimiento si te lo pide.
- Descarga el JSON y guárdalo como
src/main/resources/credentials.json.
2. Compilar y ejecutar
./mvnw clean package
java -jar target/calendar-mcp-1.0.0-SNAPSHOT-runner.jar
O en modo desarrollo, con recarga en caliente:
./mvnw quarkus:dev
En el primer arranque se abrirá el navegador para autorizar el acceso a tu calendario (redirección a localhost:8888). Los tokens se guardan en tokens/ y no se vuelven a pedir.
3. Conectar un cliente MCP
El servidor escucha en http://localhost:8080/mcp/sse.
MCP Inspector
npx @modelcontextprotocol/inspector
Selecciona transporte SSE e introduce la URL anterior.
Claude Desktop (claude_desktop_config.json, usando el puente mcp-remote):
{
"mcpServers": {
"google-calendar": {
"command": "npx",
"args": ["mcp-remote", "http://localhost:8080/mcp/sse"]
}
}
}
📁 Estructura del proyecto
src/main/
├── java/org/acme/
│ ├── GoogleAuthService.java # Flujo OAuth 2.0 y persistencia de tokens
│ ├── GoogleCalendarConfig.java # Producer CDI del cliente Calendar
│ └── tools/
│ ├── SelectCalendarTool.java # Selección de calendario (Levenshtein)
│ ├── ListEventsTool.java # Listado de eventos
│ ├── CreateEvent.java # Creación de eventos
│ ├── DeleteEvent.java # Borrado por texto, fechas, ID o completo
│ ├── Hello.java # Prueba de conectividad
│ └── extra/ # DTOs de respuesta
└── resources/
├── application.properties # Puerto, logs, empaquetado
└── credentials.json # (no versionado) credenciales OAuth
🔭 Próximos pasos
- Tests unitarios y de integración con la API de Google mockeada.
- Paginación (
nextPageToken) en listados y borrados masivos. - Confirmación explícita antes de operaciones destructivas.
- Herramienta para actualizar eventos existentes.
- Flujo OAuth compatible con contenedores para desplegar con Docker.
🔒 Notas de seguridad
credentials.jsonestá en.gitignore: nunca lo subas al repositorio.- Los tokens de acceso se guardan en local en
tokens/. - Las herramientas de borrado son irreversibles; úsalas primero sobre un calendario de pruebas.
👥 Autoría
Proyecto desarrollado en un equipo de cinco durante mis prácticas en Odec (mayo–junio 2025), como parte del Reto 3: implementación del protocolo MCP.
Contribuidores en este repositorio:
- Dennis Adalbert — @adalbertdb
- Ana Cristina — @AnaCristinaBA
- Guillem Rodríguez — @DisnaKing
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Google Calendar MCP Server in Java + Quarkus from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/google-calendar-mcp-adalbertdb)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

