Google Gsuite

v1.0.0Cloud Servicesstable

MCP Server to interact with Google Gsuite prodcuts

mcp-gsuitemcpai-integration
Share:
486
Stars
0
Downloads
0
Weekly
0/5

What is Google Gsuite?

Google Gsuite is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server to interact with google gsuite prodcuts

MCP Server to interact with Google Gsuite prodcuts

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP Server to interact with Google Gsuite prodcuts

Use Cases

Interact with Google Gsuite products through MCP.
LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y mcp-gsuite

Manual Installation

npx -y mcp-gsuite

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Google Gsuite

mcp-gsuite is a Python-based MCP server that connects AI assistants to Google Workspace (formerly G Suite) products, currently supporting Gmail and Google Calendar. It enables reading, searching, and drafting emails, creating and querying calendar events, and managing multiple Google accounts through a single server instance using OAuth2 authentication. Teams and individuals who manage their email and schedule through Google Workspace can use this server to let Claude or other AI assistants read context from their inbox, schedule meetings, or draft replies entirely through natural language.

Prerequisites

  • Python 3.10 or later with uv package manager installed
  • A Google Cloud project with the Gmail API and Google Calendar API enabled
  • OAuth2 client credentials (client_id and client_secret) from Google Cloud Console
  • An MCP-compatible client such as Claude Desktop
  • Node.js 18+ (for Smithery-based installation) or uv (for direct Python install)
1

Create a Google Cloud project and enable APIs

Go to console.cloud.google.com, create a project, and enable the Gmail API and Google Calendar API. Under Credentials, create an OAuth 2.0 Client ID of type 'Desktop app' and download the JSON credentials.

2

Create the .gauth.json configuration file

Save your OAuth2 credentials as .gauth.json in the directory where the server will run. Include the required Google API scopes.

{
  "web": {
    "client_id": "your_client_id.apps.googleusercontent.com",
    "client_secret": "your_client_secret",
    "redirect_uris": ["http://localhost"],
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token"
  },
  "scopes": [
    "openid",
    "https://mail.google.com/",
    "https://www.googleapis.com/auth/calendar",
    "https://www.googleapis.com/auth/userinfo.email"
  ]
}
3

Create the .accounts.json file

List the Google accounts this server should manage. Each entry specifies the email and account type.

[
  {
    "email": "[email protected]",
    "account_type": "personal"
  }
]
4

Install and run the server

Install mcp-gsuite via Smithery or run it directly with uv/Python. The first run will open a browser for OAuth2 consent — complete the authorization flow.

npx -y @smithery/cli install mcp-gsuite --client claude
# OR run directly:
uv run mcp-gsuite
5

Add the server to your MCP client configuration

Add the mcp-gsuite entry to your claude_desktop_config.json pointing to the installed server with the paths to your auth files.

{
  "mcpServers": {
    "mcp-gsuite": {
      "command": "npx",
      "args": ["-y", "mcp-gsuite"]
    }
  }
}

Google Gsuite Examples

Client configuration

Claude Desktop config for mcp-gsuite installed via Smithery.

{
  "mcpServers": {
    "mcp-gsuite": {
      "command": "npx",
      "args": ["-y", "mcp-gsuite"]
    }
  }
}

Prompts to try

Natural language prompts you can use once mcp-gsuite is connected to your AI assistant.

- "Retrieve my latest unread messages"
- "What do I have on my agenda tomorrow?"
- "Write a nice response to Alice's last email and save it as a draft"
- "Show me all emails from [email protected] in the last week"
- "Create a calendar event for a team standup at 10am next Monday with the whole team"
- "Delete all draft emails I haven't sent in the last month"

Troubleshooting Google Gsuite

OAuth2 consent flow fails or redirects to 'This app is blocked'

In Google Cloud Console, add your Google account as a test user under OAuth consent screen → Test users. The app must be in testing mode with explicitly listed test users until it is published.

Server starts but returns 'Insufficient Permission' errors for Gmail or Calendar

Ensure all four required OAuth scopes are listed in .gauth.json: openid, https://mail.google.com/, https://www.googleapis.com/auth/calendar, and https://www.googleapis.com/auth/userinfo.email. Delete any cached token files and re-authenticate.

Multiple accounts in .accounts.json but only one works

Each account must complete its own OAuth2 authorization flow. Run the server once per account and complete the browser consent for each email address listed in .accounts.json.

Frequently Asked Questions about Google Gsuite

What is Google Gsuite?

Google Gsuite is a Model Context Protocol (MCP) server that mcp server to interact with google gsuite prodcuts It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Google Gsuite?

Install via npm with the command: npx -y mcp-gsuite. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Google Gsuite?

Google Gsuite works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Google Gsuite free to use?

Yes, Google Gsuite is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-gsuite": { "command": "npx", "args": ["-y", "mcp-gsuite"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Google Gsuite?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides