MCP Calendar Server
by 2BX-git
This project implements an MCP server that integrates Google Calendar with n8n using Server-Sent Events (SSE). It allows you to receive real-time updates from your Google Calendar within n8n.
View on GitHub
Last updated: N/A
MCP Calendar Server
Este projeto implementa um servidor MCP que integra o Google Calendar com o n8n usando Server-Sent Events (SSE).
Pré-requisitos
- Node.js 18+
- Conta no Google Cloud Console com a API do Google Calendar habilitada
- Easypanel (ou outro ambiente Docker) para hospedagem
- n8n com o pacote
n8n-nodes-mcp
instalado
Configuração no Google Cloud Console
- Crie um projeto no Google Cloud Console.
- Habilite a API do Google Calendar:
- Vá para "APIs & Services" > "Library".
- Procure por "Google Calendar API" e clique em "Enable".
- Crie um cliente OAuth 2.0:
- Vá para "APIs & Services" > "Credentials".
- Clique em "Create Credentials" > "OAuth 2.0 Client IDs".
- Selecione "Web application".
- Adicione o
redirect_uri
(ex.:https://sua-url/auth/callback
) em "Authorized redirect URIs". - Copie o
Client ID
eClient Secret
.
Instalação no Easypanel
- Clone o repositório:
git clone https://github.com/2BX-git/mcp-calendar-server.git cd mcp-calendar-server
- Configure as variáveis de ambiente no Easypanel
BASE_URL=https://sua-url GOOGLE_CLIENT_ID=seu-client-id.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=seu-client-secret PORT=3001
3.Implante o serviço:
- Configure o serviço para usar o Dockerfile.
- Clique em "Deploy".