Google Workspace MCP Server
A Model Context Protocol (MCP) server that provides authenticated access to Google Workspace APIs, offering integrated Authentication, Gmail, Calendar, and Drive functionality
Overview
Google Workspace MCP Server is a Model Context Protocol (MCP) server that provides authenticated access to Google Workspace APIs, integrating functionalities for Gmail, Calendar, and Drive.
To use the server, create a Google Cloud Project, enable the necessary APIs, and configure OAuth credentials. Then, run the server using Docker and authenticate your Google account through a conversational interface.
- Integrated access to Gmail, Calendar, and Drive APIs. - Automated email sorting and management. - Smart calendar scheduling to avoid conflicts. - Organized file management in Google Drive. - Supports multiple Google accounts with easy authentication.
- Automating email organization and retrieval.
- Streamlining calendar management and scheduling.
- Efficient file management and sharing in Google Drive.
- Integrating AI assistants for enhanced productivity.
Add to your AI client
Use these steps to connect Google Workspace MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"google-workspace-mcp-aaronsb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-workspace-mcp-aaronsb"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"google-workspace-mcp-aaronsb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-workspace-mcp-aaronsb"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"google-workspace-mcp-aaronsb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-workspace-mcp-aaronsb"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"google-workspace-mcp-aaronsb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-workspace-mcp-aaronsb"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"google-workspace-mcp-aaronsb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-workspace-mcp-aaronsb"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"google-workspace-mcp-aaronsb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-workspace-mcp-aaronsb"
]
}
}
}FAQ
Can I use this server with multiple Google accounts?
Yes! The server supports multiple accounts and allows easy switching between them.
Is there a cost associated with using Google Workspace MCP Server?
The server itself is free to use, but you may incur costs from Google Cloud services depending on your usage.
What if I encounter authentication issues?
Ensure your Google Cloud project is properly configured and that you have the correct OAuth credentials.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1134,"uuid":"e00b8dc5-aa4e-4dac-b875-a7dee8aa3b81","name":"google-workspace-mcp","title":"Google Workspace MCP Server","description":"A Model Context Protocol (MCP) server that provides authenticated access to Google Workspace APIs, offering integrated Authentication, Gmail, Calendar, and Drive functionality","avatar_url":"https://avatars.githubusercontent.com/u/2738471?v=4","created_at":"$D2025-01-28T02:33:49.307Z","updated_at":"$D2025-02-23T07:13:19.011Z","status":"created","author_name":"aaronsb","author_avatar_url":"https://avatars.githubusercontent.com/u/2738471?v=4","tags":"ai,mcp,google-workspace,model-context-protocol","category":"cloud-platforms","is_featured":false,"sort":1,"url":"https://github.com/aaronsb/google-workspace-mcp","target":"_self","content":"$29","summary":"$2a","img_url":"https://raw.githubusercontent.com/aaronsb/google-workspace-mcp/main/docs/assets/robot-assistant.png","type":null,"metadata":"{\"star\":\"42\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-04-22 11:31:48\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]