Skip to main content

gsuite-mcp

An MCP server for Google Workspace: Gmail, Calendar, Drive, Sheets, Tasks and Contacts, built on gsuite-sdk. It runs locally over stdio and uses your own Google login.

Setup

  1. Get an OAuth client file from Google Cloud (guide) and log in once with the gsuite CLI:

    pip install "gsuite-sdk[cli]"
    gsuite auth login                                   # Gmail, Calendar, Drive, Sheets
    gsuite auth login --force --scopes default,tasks,contacts   # + Tasks and Contacts
    gsuite auth login --force --scopes default,tasks,contacts,marketing  # + Search Console, GA4, Tag Manager (read-only)
    

    The token is saved to tokens.db in the current directory (or GSUITE_TOKEN_DB_PATH).

  2. Add the server to your MCP client, pointing at that token with absolute paths:

    {
      "mcpServers": {
        "gsuite": {
          "command": "uvx",
          "args": ["gsuite-mcp"],
          "env": {
            "GSUITE_TOKEN_DB_PATH": "/Users/you/gsuite/tokens.db",
            "GSUITE_CREDENTIALS_FILE": "/Users/you/gsuite/credentials.json",
            "GSUITE_DEFAULT_TIMEZONE": "America/Argentina/Buenos_Aires"
          }
        }
      }
    }
    

    Claude Code: claude mcp add gsuite -e GSUITE_TOKEN_DB_PATH=/Users/you/gsuite/tokens.db -- uvx gsuite-mcp

Tools

Area Tools
Account auth_status
Gmail gmail_search, gmail_read, gmail_send, gmail_reply, gmail_create_draft
Calendar calendar_list_events, calendar_create_event, calendar_delete_event, calendar_free_busy
Drive drive_search, drive_read_file, drive_upload, drive_share
Sheets sheets_read, sheets_append, sheets_update, sheets_upsert
Tasks tasks_list, tasks_add, tasks_complete
Contacts contacts_search, contacts_get
Search Console (read-only) searchconsole_list_sites, searchconsole_query, searchconsole_inspect_url, searchconsole_list_sitemaps
Analytics GA4 (read-only) analytics_account_summaries, analytics_list_properties, analytics_run_report, analytics_run_realtime_report
Tag Manager (read-only) tagmanager_list_accounts, tagmanager_list_containers, tagmanager_list_workspaces, tagmanager_list_tags, tagmanager_list_triggers, tagmanager_list_variables, tagmanager_list_versions

Search Console, Analytics and Tag Manager need the opt-in read-only scopes (--scopes ...,marketing) and their APIs enabled in your Cloud project. A login replaces the stored scopes, so keep listing the sets you already use.

Read tools are annotated read-only; tools that send, share, overwrite or delete are marked so clients can ask before running them. Dates are ISO 8601; times without an offset use GSUITE_DEFAULT_TIMEZONE (UTC by default).

The same capabilities are available as an agent skill, a CLI and a REST API: see gsuite-sdk.

License

MIT

Metadata

Release files for gsuite-mcp 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gsuite-mcp 0.9.0
File Size Uploaded Provenance
gsuite_mcp-0.9.0.tar.gz 16.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gsuite-mcp 0.9.0
File Interpreter ABI Platform
gsuite_mcp-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / gsuite_mcp-0.9.0.tar.gz

Download URL gsuite_mcp-0.9.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
df5c1983ede6c4cd21670d55c71f1ee52a43ce50c305dd4e6c031066adf0df69
BLAKE2b-256 checksum
How to use checksums
1b87fdf8ae9a904eeaa2325d22d303673add35001908084ec6f4a04f3265a7cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / gsuite_mcp-0.9.0-py3-none-any.whl

Download URL gsuite_mcp-0.9.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ee43910b012e35ea5114f58372c15de9ff36f95414fad8871953928ccca55b0
BLAKE2b-256 checksum
How to use checksums
6b8b205069975bb6eab341a6ba9d04e3c9091605816749980ac643138406ec01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for gsuite-mcp 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gsuite_mcp-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page