home / mcp / google workspace mcp server
A Model Context Protocol server for Google Workspace integration (Gmail and Calendar)
Configuration
View docs{
"mcpServers": {
"epaproditus-google-workspace-mcp-server": {
"command": "node",
"args": [
"/path/to/google-workspace-server/build/index.js"
],
"env": {
"GOOGLE_CLIENT_ID": "your_client_id",
"GOOGLE_CLIENT_SECRET": "your_client_secret",
"GOOGLE_REFRESH_TOKEN": "your_refresh_token"
}
}
}
}You can run a Google Workspace MCP Server to interact with Gmail and Google Calendar through a unified MCP interface. It lets you list, search, send, and organize emails and calendar events programmatically, empowering automation and integration with your tools.
To use this MCP server, connect your MCP client to the stdio server configuration described in the setup. You will run the server locally and communicate with it using MCP requests that map to Gmail and Calendar actions. You can perform bulk actions like listing recent emails, searching by Gmail query syntax, sending messages with CC/BCC, and manipulating labels. For calendars, you can list upcoming events, create events with attendees, update event details, and delete events. Configure the client to pass the appropriate parameters for each operation and handle responses or errors in your application.
Available Gmail operations include listing emails, searching with Gmail query syntax, sending new messages with optional CC and BCC, and modifying email labels such as archiving or marking as unread.
Calendar tools cover listing events within a date range, creating events with attendee lists, updating existing events, and deleting events.
List recent emails from your inbox with optional filtering to limit results.
Execute advanced email searches using Gmail query syntax to filter results.
Send new emails with support for CC and BCC recipients.
Modify email labels to archive, trash, or mark as read/unread.
List upcoming calendar events within a specified date range.
Create new calendar events and invite attendees.
Update details of existing calendar events.
Delete calendar events from the calendar.