MCP server by eduardouyanez
Antigravity Calendar MCP 📅🤖
English
A custom Google Calendar MCP server optimized for Antigravity, derived from the Google Drive and Gmail MCP architecture. It supports multi-account setups (Personal and Work/Education) and uses the "Desktop App" OAuth flow for maximum local compatibility.
Features
- Multi-account support: Manage multiple Google accounts using environment variables.
- Optimized for Antigravity: Specifically built to work with existing OAuth credentials from
gdrive-mcp-serverorgmail-mcp-server. - Core Tools:
list_my_calendars: List all accessible calendars.list_calendar_events: Get upcoming events from any calendar.search_calendar_events: Search events by keyword.create_calendar_event: Add new events to your calendar.
Setup
-
Install Dependencies:
npm install npm run build -
Authentication: Run the following command to generate your token (replace paths accordingly):
$env:GOOGLE_OAUTH_CREDENTIALS="path/to/your/oauth-keys.json"; $env:GOOGLE_CALENDAR_MCP_TOKEN_PATH="path/to/save/token.json"; node dist/index.js auth -
MCP Registration: Add to your
mcp_config.json:"calendar-personal": { "command": "node", "args": ["path/to/antigravity-calendar-mcp/dist/index.js"], "env": { "GOOGLE_OAUTH_CREDENTIALS": "path/to/keys.json", "GOOGLE_CALENDAR_MCP_TOKEN_PATH": "path/to/personal-token.json" } }
Español
Servidor MCP de Google Calendar personalizado y optimizado para Antigravity. Basado en la arquitectura robusta de los servidores de Drive y Gmail, soporta configuraciones multi-cuenta y utiliza el flujo OAuth de "Desktop App" para máxima compatibilidad local.
Características
- Soporte Multi-cuenta: Gestiona cuentas personales y de trabajo de forma independiente.
- Optimizado para Antigravity: Diseñado para reutilizar las credenciales OAuth existentes.
- Herramientas Principales:
list_my_calendars: Lista los calendarios disponibles.list_calendar_events: Obtiene eventos próximos.search_calendar_events: Busca eventos por palabras clave.create_calendar_event: Crea nuevos eventos.
Configuración
-
Instalar Dependencias:
npm install npm run build -
Autenticación: Ejecuta el comando para generar tu token de acceso:
$env:GOOGLE_OAUTH_CREDENTIALS="ruta/a/tus/keys.json"; $env:GOOGLE_CALENDAR_MCP_TOKEN_PATH="ruta/a/guardar/token.json"; node dist/index.js auth -
Registro MCP: Añade la configuración a tu
mcp_config.jsonapuntando al archivodist/index.js.
License / Licencia
MIT