MCP Google Workspace Server
@j3k0
About MCP Google Workspace Server
MCP Server for Gmail and Calendar
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-google-workspace": {
"command": "npx",
"args": [
"mcp-gmail-authenticate"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is MCP Google Workspace Server?
MCP Google Workspace Server is a Model Context Protocol server that provides tools for interacting with Gmail and Google Calendar services. It is designed for developers and AI assistants needing programmatic access to Google Workspace data through the MCP protocol.
How to use MCP Google Workspace Server?
Install dependencies with npm install, build TypeScript with npm run build, configure OAuth 2.0 credentials in .gauth.json and accounts in .accounts.json, then authenticate with npm run authenticate. Start the server with npm start. Use optional arguments like --gauth-file, --accounts-file, or --credentials-dir to customize paths. Configure Claude Desktop by editing its claude_desktop_config.json with an MCP server entry pointing to the launch script or the published npm package via npx.
Key features of MCP Google Workspace Server
- Query emails with advanced Gmail search syntax
- Read full email content, attachments, and metadata
- Create, manage, and delete email drafts
- Reply to emails with send or draft options
- Archive emails individually or in bulk
- List, view, create, and delete calendar events
Use cases of MCP Google Workspace Server
- Automating email organization and response workflows
- Drafting replies based on email content analysis
- Searching and summarizing unread or filtered emails
- Scheduling and managing calendar events programmatically
- Archiving or saving attachments across multiple emails
FAQ from MCP Google Workspace Server
What Google services does MCP Google Workspace Server integrate with?
It integrates with Gmail and Google Calendar, providing tools to query, read, draft, reply to, and archive emails, as well as manage calendar events across multiple accounts.
What are the runtime requirements?
Node.js version 20 or higher is required, along with a Google Cloud project that has the Gmail API and Google Calendar API enabled, plus OAuth 2.0 credentials.
How does authentication work?
OAuth 2.0 is used. You create a .gauth.json file with your Google OAuth credentials, list accounts in .accounts.json, then run npm run authenticate to complete the OAuth consent flow for each account. Tokens are stored locally.
Can I use multiple Google accounts?
Yes, MCP Google Workspace Server supports multiple accounts. Each account is configured in .accounts.json with optional metadata and descriptions that the AI assistant can use.
Can the server send emails or only create drafts?
Sending emails is disabled by default. The GMAIL_ALLOW_SENDING environment variable must be set to true to allow gmail_send to actually send mail. Draft creation is also disabled by default unless GMAIL_ALLOW_DRAFTS is set to true.
Frequently asked questions
What Google services does MCP Google Workspace Server integrate with?
It integrates with Gmail and Google Calendar, providing tools to query, read, draft, reply to, and archive emails, as well as manage calendar events across multiple accounts.
What are the runtime requirements?
Node.js version 20 or higher is required, along with a Google Cloud project that has the Gmail API and Google Calendar API enabled, plus OAuth 2.0 credentials.
How does authentication work?
OAuth 2.0 is used. You create a `.gauth.json` file with your Google OAuth credentials, list accounts in `.accounts.json`, then run `npm run authenticate` to complete the OAuth consent flow for each account. Tokens are stored locally.
Can I use multiple Google accounts?
Yes, MCP Google Workspace Server supports multiple accounts. Each account is configured in `.accounts.json` with optional metadata and descriptions that the AI assistant can use.
Can the server send emails or only create drafts?
Sending emails is disabled by default. The `GMAIL_ALLOW_SENDING` environment variable must be set to `true` to allow `gmail_send` to actually send mail. Draft creation is also disabled by default unless `GMAIL_ALLOW_DRAFTS` is set to `true`.
Basic information
More Other MCP servers
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
π Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation β’ (~400 MCP servers for AI agents) β’ AI Automation / AI Agent with MCPs β’ AI Workflows & AI Agents β’ MCPs for AI Agents

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student β in a fraction of the time. What once took a week, now takes one free period.
Nginx UI
0xJackyYet another WebUI for Nginx
Comments