
Google Workspace Mcp
io.github.aringadPublished by GitHub account aringadv1.0.0Updated Oct 24, 2026
Google Workspace Admin via MCP. Manage users, groups, aliases, org units.
Overview
Lets an assistant administer Google Workspace users, groups, aliases and organizational units through natural conversation.
- What you can do
- Wraps the Google Workspace Admin SDK as MCP tools. It can list and fetch users, create users with auto-generated passwords, delete or suspend and reactivate accounts, reset passwords, manage email aliases, list groups and add or remove group members, and list organizational units or move users between them. Destructive operations such as deletion require explicit confirmation.
- When to use it
- Useful for Google Workspace administrators who want to handle routine directory tasks — onboarding, offboarding, password resets, alias and group changes, org unit moves — by asking an assistant instead of using the admin console. It is a desktop-only local server, so it suits individual admin work rather than shared or hosted deployments.
- Requirements
- Python 3.10+ and a local install of the PyPI package or the source. A Google Workspace account with admin access, a Google Cloud project with the Admin SDK API enabled, a service account JSON key, and domain-wide delegation configured for the service account's Client ID. Environment variables: GOOGLE_ADMIN_EMAIL (required), GOOGLE_SERVICE_ACCOUNT_FILE (required, path to the JSON key), and optional GOOGLE_CUSTOMER_ID. An MCP client such as Claude Desktop.
Installation
In SourceWeft
- Open Google Workspace Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
🔧 Google Workspace MCP Server
🇮🇹 Italiano | 🇬🇧 English
Italiano
Server MCP (Model Context Protocol) per gestire Google Workspace tramite Claude AI e altri assistenti compatibili. Permette di amministrare utenti, gruppi, alias e unità organizzative tramite conversazione naturale.
✨ Funzionalità
📋 Prerequisiti
- Python 3.10+
- Account Google Workspace con accesso admin
- Progetto Google Cloud con Admin SDK API abilitata
- Claude Desktop o altro client MCP
🚀 Installazione
Oppure da sorgente:
🔑 Configurazione Google Cloud
1. Crea progetto e abilita API
- Vai su console.cloud.google.com
- Crea un nuovo progetto (o usa quello esistente)
- Vai su API e servizi → Libreria
- Cerca e abilita: Admin SDK API
2. Crea Service Account
- Vai su API e servizi → Credenziali
- Crea credenziali → Account di servizio
- Dai un nome (es.
mcp-workspace-admin) - Vai nel Service Account → Chiavi → Aggiungi chiave → JSON
- Scarica il file JSON (queste sono le tue credenziali)
- Annota il Client ID (numero lungo nei dettagli del Service Account)
⚠️ Non serve assegnare ruoli IAM al Service Account. I permessi vengono dalla delega domain-wide.
3. Delega Domain-Wide
- Vai su admin.google.com
- Sicurezza → Accesso e controllo dati → Controlli API → Gestisci delega a livello di dominio
- Clicca Aggiungi nuovo
- Inserisci il Client ID del Service Account
- Come ambiti OAuth, inserisci:
- Autorizza
⚙️ Variabili d'ambiente
🔌 Configurazione Claude Desktop
Aggiungi al file di configurazione:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Chiudi completamente Claude Desktop (Cmd+Q su Mac) e riaprilo.
🏢 Configurazione multi-cliente
Puoi gestire più domini aggiungendo istanze separate:
💬 Esempi d'uso
Una volta configurato, puoi dire a Claude:
- "Mostrami tutti gli utenti del dominio"
- "Crea un nuovo utente [email protected], nome Mario Rossi"
- "Sospendi l'utente [email protected]"
- "Resetta la password di [email protected]"
- "Aggiungi l'alias [email protected] all'utente [email protected]"
- "Aggiungi [email protected] al gruppo [email protected]"
- "In che unità organizzative è diviso il dominio?"
Puoi anche copiare direttamente l'email del cliente con la richiesta e Claude interpreterà automaticamente le operazioni da eseguire.
🔒 Sicurezza
- Le credenziali del Service Account non vanno mai committate nel repository
- Le password temporanee generate sono di 16 caratteri con lettere, numeri e simboli
- Le operazioni distruttive (eliminazione) richiedono conferma esplicita
- Il Service Account opera con i soli permessi strettamente necessari
- Nessun dato viene memorizzato dal server MCP
🧪 Test
English
MCP (Model Context Protocol) Server to integrate Google Workspace Admin with Claude AI and other compatible assistants. Manage users, groups, aliases and organizational units through natural conversation.
✨ Features
📋 Prerequisites
- Python 3.10+
- Google Workspace account with admin access
- Google Cloud project with Admin SDK API enabled
- Claude Desktop or another MCP client
🚀 Installation
Or from source:
🔑 Google Cloud Setup
1. Create project and enable API
- Go to console.cloud.google.com
- Create a new project (or use existing one)
- Go to APIs & Services → Library
- Search and enable: Admin SDK API
2. Create Service Account
- Go to APIs & Services → Credentials
- Create Credentials → Service Account
- Name it (e.g.,
mcp-workspace-admin) - Go to the Service Account → Keys → Add Key → JSON
- Download the JSON file (these are your credentials)
- Note the Client ID (long number in Service Account details)
⚠️ No IAM roles needed on the Service Account. Permissions come from domain-wide delegation.
3. Domain-Wide Delegation
- Go to admin.google.com
- Security → Access and data control → API controls → Manage Domain Wide Delegation
- Click Add new
- Enter the Service Account Client ID
- For OAuth scopes, enter:
- Authorize
⚙️ Environment Variables
🔌 Claude Desktop Configuration
Add to config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Fully quit Claude Desktop (Cmd+Q on Mac) and reopen it.
💬 Usage Examples
Once configured, you can tell Claude:
- "Show me all domain users"
- "Create a new user [email protected], name John Doe"
- "Suspend user [email protected]"
- "Reset the password for [email protected]"
- "Add the alias [email protected] to user [email protected]"
- "Add [email protected] to the [email protected] group"
- "What organizational units does the domain have?"
You can also paste client emails with requests directly — Claude will automatically interpret the operations to perform.
🔒 Security
- Service Account credentials must never be committed to the repository
- Temporary passwords are 16 characters with letters, numbers, and symbols
- Destructive operations (deletion) require explicit confirmation
- The Service Account operates with minimum necessary permissions
- No data is stored by the MCP server
🧪 Testing
📄 License
MIT License — See LICENSE for details.
👨💻 Author
Developed by Mediaform s.c.r.l. — Genova, Italy
Built with MCP and Google Admin SDK
Source: README.md at commit 1fd8367
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts