MCP Google Workspace Server logo

MCP Google Workspace Server

by j3k0

The MCP Google Workspace Server provides tools to interact with Gmail and Google Calendar through the Model Context Protocol (MCP). It allows AI assistants to query emails, manage calendars, and perform other Google Workspace tasks.

View on GitHub

Last updated: N/A

What is MCP Google Workspace Server?

A Model Context Protocol (MCP) server that enables AI assistants to interact with Google Workspace services, specifically Gmail and Google Calendar.

How to use MCP Google Workspace Server?

First, clone the repository and install the dependencies. Then, configure OAuth 2.0 credentials for the Google APIs and set up the necessary account configurations. Finally, start the server and configure your AI assistant (e.g., Claude Desktop) to use the MCP server.

Key features of MCP Google Workspace Server

  • Multiple Google Account Support

  • Gmail Integration (query, read, create drafts, reply, archive, attachments)

  • Calendar Integration (list calendars, view events, create events, delete events)

  • Advanced search capabilities for emails

  • Bulk operations support for Gmail

Use cases of MCP Google Workspace Server

  • Retrieving and summarizing recent emails

  • Scheduling and managing calendar events

  • Automating email responses

  • Searching for specific information within emails

  • Integrating Google Workspace data into AI workflows

FAQ from MCP Google Workspace Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that allows AI assistants to interact with external services.

What Google APIs are required?

The Gmail API and Google Calendar API are required.

How do I set up OAuth 2.0?

Follow the steps in the Configuration section of the README, including creating credentials in the Google Cloud Console and configuring the OAuth consent screen.

Where do I store the OAuth 2.0 credentials?

Create a .gauth.json file in the project root with your Google OAuth 2.0 credentials.

How do I specify which Google accounts can use the server?

Create a .accounts.json file to specify which Google accounts can use the server.