Design Engineer Logo
Visit Repo
Open Graph preview

MCP Gsuite

MCP Server to interact with Google Gsuite prodcuts

Site favicon
💵 Business

Overview

mcp-gsuite

Description:
Server for integrating Gmail and Calendar functionalities with multiple Google accounts

Category: Productivity & Communication

Overview:
This MCP server enables seamless interaction with Google Workspace products, specifically Gmail and Calendar. Key features include:

  • Multi-Account Support: Manage multiple Google accounts simultaneously
  • Gmail Integration:
    • Email search and retrieval
    • Draft management
    • Reply functionality
    • Attachment handling
    • User information access
  • Calendar Management:
    • Event creation and deletion
    • Multiple calendar support
    • Custom timezone handling
    • Attendee management
    • Event scheduling with notifications

Installation:

npx @smithery/cli install mcp-gsuite --client claude

Configuration:
Required files setup:

  1. .gauth.json for OAuth2 credentials:
{
  "web": {
    "client_id": "$your_client_id",
    "client_secret": "$your_client_secret",
    "redirect_uris": ["http://localhost:4100/code"],
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token"
  }
}
  1. .accounts.json for account configuration:
{
  "accounts": [
    {
      "email": "alice@bob.com",
      "account_type": "personal",
      "extra_info": "Additional info for Claude: e.g., Contains Family Calendar"
    }
  ]
}

Claude Desktop Configuration:

{
  "mcp-server-gsuite": {
    "command": "path-to/uv",
    "args": ["run", "mcp-gsuite"],
    "env": {
      "GOOGLE_AUTH_PATH": "/path/to/.gauth.json",
      "ACCOUNTS_CONFIG": "/path/to/.accounts.json"
    }
  }
}

Note: First-time setup requires browser-based OAuth authentication for each account.