UNPKG

mcp-google-workspace-server

Version:

MCP Server para Google Workspace (Gmail, Calendar e Meet)

64 lines (51 loc) 1.75 kB
# MCP Google Workspace Server MCP Server para integração com Google Workspace (Gmail, Calendar e Meet) ## Instalação ```bash npm install -g mcp-google-workspace-server ``` ## Configuração 1. Configure suas credenciais no Google Cloud Console: - Acesse [Google Cloud Console](https://console.cloud.google.com) - Crie um novo projeto - Habilite as APIs: Gmail, Calendar e Meet - Configure OAuth2.0: 1. Vá em "APIs & Services" > "Credentials" 2. Clique em "Create Credentials" > "OAuth client ID" 3. Escolha "Web application" 4. Configure as URIs de redirecionamento autorizadas 5. Anote o Client ID e Client Secret 6. Configure a tela de consentimento OAuth com os escopos necessários 7. Use alguma ferramenta OAuth2.0 para gerar seu Refresh Token 2. Configure seu MCP: Adicione ao seu arquivo de configuração (`claude_desktop_config.json`): ```json { "mcpServers": { "google-workspace": { "command": "npx", "args": [ "-y", "mcp-google-workspace-server" ], "env": { "GOOGLE_CLIENT_ID": "YOUR_CLIENT_ID_HERE", "GOOGLE_CLIENT_SECRET": "YOUR_CLIENT_SECRET_HERE", "GOOGLE_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN_HERE" } } } } ``` ## Escopos OAuth Necessários - `https://www.googleapis.com/auth/calendar` - `https://www.googleapis.com/auth/calendar.events` - `https://www.googleapis.com/auth/meetings.space.created` - `https://www.googleapis.com/auth/gmail.modify` - `https://www.googleapis.com/auth/gmail.send` ## Funcionalidades - Integração com Gmail - Integração com Google Calendar - Integração com Google Meet ## Licença MIT