Google Workspace (gsuite-sdk)
v0.15.0Gmail, Calendar, Drive, Sheets, Tasks and Contacts for agents, with your own Google login
Values you need
| Variable | What it is | |
|---|---|---|
GSUITE_TOKEN_DB_PATH | required | Absolute path to the tokens.db written by `gsuite auth login` |
GSUITE_CREDENTIALS_FILE | optional | Absolute path to the Google OAuth client JSON (needed to refresh the login) |
GSUITE_DEFAULT_TIMEZONE | optional | Time zone for dates without an offset, e.g. America/Argentina/Buenos_Aires Default: UTC |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add gsuite-sdk -e 'GSUITE_TOKEN_DB_PATH=<GSUITE_TOKEN_DB_PATH>' -- uvx gsuite-mcp==0.15.0Add to
claude_desktop_config.json{
"mcpServers": {
"gsuite-sdk": {
"args": [
"gsuite-mcp==0.15.0"
],
"command": "uvx",
"env": {
"GSUITE_TOKEN_DB_PATH": "<GSUITE_TOKEN_DB_PATH>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gsuite-sdk": {
"args": [
"gsuite-mcp==0.15.0"
],
"command": "uvx",
"env": {
"GSUITE_TOKEN_DB_PATH": "<GSUITE_TOKEN_DB_PATH>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GSUITE_TOKEN_DB_PATH",
"id": "gsuite-token-db-path",
"password": true,
"type": "promptString"
}
],
"servers": {
"gsuite-sdk": {
"args": [
"gsuite-mcp==0.15.0"
],
"command": "uvx",
"env": {
"GSUITE_TOKEN_DB_PATH": "${input:gsuite-token-db-path}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gsuite-sdk]
command = "uvx"
args = ["gsuite-mcp==0.15.0"]
env = { "GSUITE_TOKEN_DB_PATH" = "<GSUITE_TOKEN_DB_PATH>" }For AI agents
- Ask the user for: GSUITE_TOKEN_DB_PATH. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: auth_status, gmail_search, gmail_read, gmail_send, gmail_reply, gmail_create_draft, gmail_read_thread, gmail_list_labels, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json