MCP Gsuite logo

MCP Gsuite

by MarkusPfundstein

Connects Gmail and Google Calendar to MCP clients for email search, drafts, replies, attachments, and calendar management.

Install MCP Gsuite

Run the project’s own setup commands, in order.

Setup steps from the project

MarkusPfundstein/mcp-gsuite installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Run
    npx -y @smithery/cli install mcp-gsuite --client claude
    
  2. 2. Start the server
    uv run mcp-gsuite --accounts-file /path/to/custom/.accounts.json
    
  3. 3. Start the server
    uv run mcp-gsuite --gauth-file /path/to/custom/.gauth.json --accounts-file /path/to/custom/.accounts.json --credentials-dir /path/to/custom/credentials
    

Overview

Gmail and Google Calendar access are exposed through the MarkusPfundstein/mcp-gsuite MCP server for agent-driven email and scheduling workflows. It supports multiple Google accounts, OAuth 2 authorization, flexible Gmail searches, message retrieval, drafts, replies, attachments, calendar queries, event creation, and event deletion. Configuration uses Google OAuth client data, an account list, and locally stored refresh credentials. Reach for it when an MCP client needs to read or modify Gmail and Calendar data across one or more accounts.

Use cases

  • Search unread Gmail messages across selected accounts
  • Draft or send replies to existing email threads
  • Save email attachments to local storage
  • Review calendar availability within a date range
  • Create and delete Google Calendar events

Key features

  • Flexible Gmail message search
  • Email drafts and replies
  • Local attachment saving
  • Multi-account Gmail and Calendar access
  • Calendar event creation and deletion
  • OAuth 2 authentication

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

31/35 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8/23/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars491Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Gsuite works

What MarkusPfundstein/mcp-gsuite MCP server does

The MarkusPfundstein/mcp-gsuite MCP server connects an MCP client to Gmail and Google Calendar. It is intended for workflows where an agent needs to inspect messages, prepare or send email responses, retrieve attachments, or work with calendar schedules.

Gmail support includes retrieving the authenticated user's information, searching mail with criteria such as unread status, sender, date range, and attachments, and fetching complete messages by ID. Agents can create and delete drafts, reply to an existing message either immediately or as a draft, retrieve several messages by ID, and save multiple email attachments to local storage.

Calendar support covers multiple calendars. The server can list events within a time range, create events with a title and start and end times, and delete events. Event creation can also include a location, description, attendees, timezone, and notification settings.

How it works

The MarkusPfundstein/mcp-gsuite MCP server uses Google OAuth 2. The Google Cloud project must have the Gmail and Google Calendar APIs enabled, and the OAuth consent screen and client credentials must be configured. The documented scopes cover OpenID, Gmail access, Calendar access, and the user's email address.

Account metadata is stored in an accounts file. Each account can include an email address, an account type, and additional descriptive information, such as which calendar contains family events. Multiple account entries can be provided, allowing prompts to distinguish between accounts and calendars.

When a tool is first used for an account, a browser-based Google authorization flow requests the necessary permissions. After authorization, the refresh credentials are saved locally in an account-specific OAuth file and reused for later access.

Setup and configuration

Create a .gauth.json file containing the OAuth client ID, client secret, redirect URI, authorization URL, and token URL. The documented local redirect URI is http://localhost:4100/code. Create a .accounts.json file containing one or more account records.

The default locations are the current directory for both configuration files and account-specific OAuth credentials. Command-line options allow these paths to be changed:

  • --gauth-file selects the OAuth client configuration file.
  • --accounts-file selects the account metadata file.
  • --credentials-dir selects where authorization credentials are stored.

It also provides a Claude Desktop configuration using that command. For local development, the project can be launched through uv from its source directory.

Tools and capabilities

  • Search Gmail using flexible query criteria.
  • Read complete email content and retrieve user information.
  • Create, delete, and retrieve drafts.
  • Reply immediately or save a reply as a draft.
  • Save multiple email attachments locally.
  • Query calendar events by time range.
  • Create events with attendees, locations, descriptions, timezones, and notification preferences.
  • Delete calendar events.
  • Work with multiple Google accounts and calendars.

Limitations and notes

The MarkusPfundstein/mcp-gsuite MCP server currently covers Gmail and Google Calendar rather than all Google Workspace products. OAuth authorization is required before account data can be used, and the configured Google application must have access to the selected accounts.

Credentials are stored in local files by default, so deployments should choose credential and configuration paths appropriate for their environment. The server communicates over stdio, and the README recommends MCP Inspector when interactive debugging is needed.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Gsuite

The published server configuration uses `uvx mcp-gsuite`. You must also configure Google OAuth credentials and an accounts file.

Yes. The README provides Claude Desktop configuration examples for macOS and Windows, including a published `uvx mcp-gsuite` setup.

It uses Google OAuth 2. You create OAuth credentials in Google Cloud, configure the required scopes, and authorize each account in a browser when it is first used.

Yes. Add multiple account records to `.accounts.json`. The server stores authorization credentials separately for each account.

Yes. It can create events with required title and time fields plus optional locations, descriptions, attendees, timezones, and notification preferences.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Gsuite AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/markuspfundstein-mcp-gsuite?style=directory)](https://allmcps.com/mcp/markuspfundstein-mcp-gsuite)
HTML Embed
<a href="https://allmcps.com/mcp/markuspfundstein-mcp-gsuite"><img src="https://allmcps.com/api/badge/markuspfundstein-mcp-gsuite?style=directory" alt="MCP Gsuite on AllMCPs" /></a>