MCP Catalogs
Home

claude-code-google-workspace

by evolsb·20·Score 43

MCP servers for Google Workspace (Gmail, Drive, Calendar, Sheets, Docs) and Slack with multi-account support.

productivitycommunicationdeveloper-tools
7
Forks
2
Open issues
2 mo ago
Last commit
2d ago
Indexed

Overview

This is a comprehensive MCP server setup that provides Claude Code with access to multiple Google Workspace accounts (Gmail, Drive, Calendar, Sheets, Docs) and Slack. The project includes both AI-guided setup via CLAUDE.md and manual setup instructions. It addresses complex challenges like handling multiple Google accounts with separate OAuth clients and token management through a wrapper script.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Accessing emails and documents across multiple Google accounts
you:Managing calendar events and tasks from Slack and Google Workspace
you:Searching and retrieving content from Google Drive and Slack conversations
you:Why can't I use settings.local.json for MCP configuration?
you:How do I handle multiple Google accounts?

When to choose this

Choose this if you need to access multiple Google Workspace accounts and Slack through Claude Code, especially when official integrations aren't available yet.

When NOT to choose this

Don't choose this if you're already using Claude Desktop/Cowork which has built-in Google Workspace integrations, or if you need write access beyond what Google's official CLI provides.

Tools this server exposes

8 tools extracted from the README
  • query_gmail

    Search and retrieve Gmail messages

  • list_drive_files

    List and access Google Drive files

  • get_calendar_events

    Retrieve calendar events and schedule information

  • read_sheets

    Read data from Google Sheets

  • read_docs

    Access and read Google Docs content

  • search_slack

    Search and browse Slack messages and channels

  • list_slack_users

    List Slack users in the workspace

  • list_slack_channels

    List Slack channels in the workspace

Note: Tool names inferred from Google Workspace CLI documentation and MCP server capabilities mentioned in the README. No explicit tool signature documentation provided.

Comparable tools

google-workspace-clislack-mcp-serveranthropic-claude-desktop

Installation

Quick Start

  1. Clone this repo and open Claude Code in it
git clone https://github.com/YOUR_USERNAME/claude-code-google-workspace.git
cd claude-code-google-workspace
claude
  1. Tell Claude Code: "Set up Google Workspace MCP for me"
  2. Restart Claude Code to load the new MCP servers

Manual Setup

Refer to [docs/manual-setup.md](docs/manual-setup.md) for detailed step-by-step instructions.

Configuration

Create .mcp.json at project root with:

{
  "mcpServers": {
    "gws-personal": {
      "command": "bash",
      "args": ["./gws-token-wrapper.sh", "personal.json"]
    },
    "slack": {
      "command": "npx",
      "args": ["slack-mcp-server"]
    }
  }
}

FAQ

Why can't I use settings.local.json for MCP configuration?
Claude Code silently ignores MCP config in settings.local.json. You must use .mcp.json at project root or ~/.claude.json for global configuration.
How do I handle multiple Google accounts?
Create separate OAuth Desktop App clients for each Google account in the same GCP project. Use a token wrapper script to mint fresh access tokens for each account.

Compare claude-code-google-workspace with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.