What is Google Workspace MCP Server?
It is a Model Context Protocol (MCP) server that provides tools for interacting with Gmail and Calendar APIs, enabling programmatic management of emails and calendar events through the MCP interface.
How to use Google Workspace MCP Server?
Clone the repository, run npm install, then set up OAuth 2.0 credentials via Google Cloud Console. Run node get-refresh-token.js to obtain a refresh token, configure the MCP settings file with environment variables (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_REFRESH_TOKEN), build with npm run build, and then invoke tools through MCP.
Key features of Google Workspace MCP Server
- List recent emails with optional filtering
- Advanced email search using Gmail query syntax
- Send emails with support for CC and BCC
- Modify email labels (archive, trash, mark read/unread)
- List upcoming calendar events with date range filtering
- Create, update, and delete calendar events with attendees
Use cases of Google Workspace MCP Server
- Automate retrieving unread emails from your inbox
- Search for emails with attachments from specific senders
- Send programmatic emails with CC and BCC recipients
- Archive or mark emails read/unread in bulk
- Schedule and manage calendar events with attendees
コメント