Google Workspace MCP
Allows reading document content, creating new documents, appending text, and listing document tabs in Google Docs.
Allows searching and listing files in Google Drive.
Allows reading values from a range in Google Sheets.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Google Workspace MCP on Cloudflare Workers
This is a Model Context Protocol (MCP) server that runs on Cloudflare Workers and interacts with Google Docs, Sheets, and Drive. It allows AI assistants like Claude Desktop, Cursor, and others to securely access and manage your Google Workspace documents.
Features
Google Drive: Search and list files with
listDriveFiles.Google Docs:
Read document content with
readDocument.Create new documents with
createDocument.Append text to documents with
appendDocumentText.List document tabs with
listDocumentTabs.
Google Sheets: Read values from a range with
readSheet.
Related MCP server: google-connections-mcp
Setup
1. Google Cloud Console Configuration
Go to the Google Cloud Console.
Create a new project.
Enable the following APIs:
Google Drive API
Google Docs API
Google Sheets API
Go to APIs & Services > Credentials.
Create an OAuth 2.0 Client ID (Web application).
Add
http://localhost:8787/oauth/callbackto the Authorized redirect URIs.Note down your Client ID and Client Secret.
2. Configuration & Secrets
Create a KV namespace:
npx wrangler kv:namespace create GOOGLE_AUTH_KVUpdate your
wrangler.jsoncwith the KV namespace ID.Set your Google OAuth secrets:
npx wrangler secret put GOOGLE_CLIENT_ID npx wrangler secret put GOOGLE_CLIENT_SECRET
3. Deployment
npm install
npm run deployAuthentication
Once deployed (or running locally with npm run dev), visit the following URL to authenticate with your Google account:
http://localhost:8787/oauth/login (or your deployed worker URL)
This will securely store your refresh token in Cloudflare KV.
MCP Configuration
Add the following to your MCP client configuration (e.g., claude_desktop_config.json):
{
"mcpServers": {
"google-workspace": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/sdk-server-sse", "http://localhost:8787/mcp"]
}
}
}Development
npm run devThis server cannot be deployed
Maintenance
Related MCP Connectors
Multiple Gmail accounts, editable Google Sheets & Docs for AI agents. Deny-by-default access rules.
Connect AI assistants to Google Sheets through controlled tools for reading and updating rows.
Give Claude only the Google Drive files you choose. Every action logged.
Gmail, Outlook, Drive, OneDrive and calendars for AI agents. Many accounts, one endpoint, audit log.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceConnects AI assistants like Claude to Google Drive, enabling them to browse, read, search, create, and edit files and folders using Google's official API with secure authentication.-
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to Google Workspace APIs including Sheets, Calendar, Gmail, Tasks, Drive, and Docs. Enables full CRUD operations and management of Google services through natural language.1-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to control Google Workspace services (Slides, Sheets, Drive) through natural language.116 npmISC
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to interact with Google services (Gmail, Calendar, Drive, Tasks, YouTube, Contacts) via OAuth-authenticated Cloudflare Workers, allowing actions like sending emails, managing events, and searching files.14MIT