google-workspace-mcp-server
Verified Safeby nityeshaga
Overview
Provides an MCP server to enable AI agents (like Claude Code) to interact with Google Docs, Sheets, Drive, Gmail, and Calendar APIs for reading, creating, editing, and managing data.
Installation
npx google-workspace-mcp-serverEnvironment Variables
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- GOOGLE_REFRESH_TOKEN
Security Notes
The server relies on environment variables for Google OAuth credentials (client ID, client secret, refresh token), which is a good security practice. It interacts with Google APIs using the official `googleapis` library. Temporary files are created locally for handling attachments and exported Google Workspace documents, with unique filenames to mitigate simple overwrite risks. Input schemas are defined using Zod, offering validation. No 'eval' or obvious obfuscation found. The primary security consideration lies in the sensitive nature of the Google API access and the potential for an agent to misuse granted permissions if not carefully constrained by the orchestrating system.
Similar Servers
google-docs-mcp
Allows AI assistants to programmatically interact with Google Docs, Sheets, and Drive for document management, editing, formatting, and file organization.
mcp-gsheets
A Model Context Protocol (MCP) server for Google Sheets API integration, enabling reading, writing, and managing Google Sheets documents directly from MCP clients like Claude Code, Claude Desktop, or Cursor.
google-drive-mcp
Provides an MCP server for secure integration and file management with Google Drive, Docs, Sheets, and Slides for AI clients.
gmail-mcp
Manages Gmail emails programmatically, enabling AI systems to read, send, archive, and perform other email operations on behalf of a user.