{"type":"mcp_server","name":"mcp-gsuite","description":"This repository provides an MCP server, designed to interact with Google products like Gmail and Calendar, offering functionalities such as email management, event scheduling, and multiple account support.","category":"Productivity","language":"Python","stars":487,"forks":34,"owner":"MarkusPfundstein","github_url":"https://github.com/MarkusPfundstein/mcp-gsuite","homepage":null,"setup":"## Setup\n\n1.  Install mcp-gsuite for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-gsuite) using: `npx -y @smithery/cli install mcp-gsuite --client claude`.\n2.  Create OAuth2 Credentials in the [Google Cloud Console](https://console.cloud.google.com/), enabling the Gmail API and Google Calendar API.\n3.  Configure the OAuth consent screen and add authorized redirect URIs (include `http://localhost:4100/code` for local development).\n4.  Required OAuth2 Scopes:\n\n```json\n   [\n     \"openid\",\n     \"https://mail.google.com/\",\n     \"https://www.googleapis.com/auth/calendar\",\n     \"https://www.googleapis.com/auth/userinfo.email\"\n   ]\n```\n\n5.  Create a `.gauth.json` in your working directory with client ID, client secret, redirect URIs, auth URI, and token URI.\n\n```json\n{\n    \"web\": {\n        \"client_id\": \"$your_client_id\",\n        \"client_secret\": \"$your_client_secret\",\n        \"redirect_uris\": [\"http://localhost:4100/code\"],\n        \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n        \"token_uri\": \"https://oauth2.googleapis.com/token\"\n    }\n}\n```\n\n6.  Create a `.accounts.json` file with account information including email, account type, and extra info.\n\n```json\n{\n    \"accounts\": [\n        {\n            \"email\": \"alice@bob.com\",\n            \"account_type\": \"personal\",\n            \"extra_info\": \"Additional info that you want to tell Claude: E.g. 'Contains Family Calendar'\"\n        }\n    ]\n}\n```\n\n7.  Configure Claude Desktop by modifying the `claude_desktop_config.json` file (location varies by OS) to include the mcp-gsuite server configuration.\n8.  Optionally, use command-line options to specify custom paths for authentication and account information: `--gauth-file`, `--accounts-file`, `--credentials-dir`.","tools":"## Available Tools\n\n1.  Multiple google accounts (General support).\n2.  Get your Gmail user information (Gmail).\n3.  Query emails with flexible search (Gmail).\n4.  Retrieve complete email content by ID (Gmail).\n5.  Create new draft emails with recipients, subject, body and CC options (Gmail).\n6.  Delete draft emails (Gmail).\n7.  Reply to existing emails (Gmail).\n8.  Retrieve multiple emails at once by their IDs (Gmail).\n9.  Save multiple attachments from emails to your local system (Gmail).\n10. Manage multiple calendars (Calendar).\n11. Get calendar events within specified time ranges (Calendar).\n12. Create calendar events with various options (Calendar).\n13. Delete calendar events (Calendar).","faq":null,"created_at":"2024-11-30T22:32:38+00:00","updated_at":"2025-03-28T18:07:51+00:00","source_url":"https://model-context-protocol.com/servers/mcp-server-google-gsuite-integration","related_articles":[]}