Google Workspace MCP Server
Enables natural language control over Google Workspace services including Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Tasks, Chat, Contacts, Apps Script, and Custom Search via a remote MCP server hosted on Google Cloud Run.
README
Google Workspace MCP Server — Personal Cloud Run Deployment
A personal remote MCP server providing full natural language control over Google Workspace, hosted on Google Cloud Run. Based on taylorwilsdon/google_workspace_mcp (v1.14.3).
Live Service
| MCP Endpoint | https://google-workspace-mcp-557522843498.us-central1.run.app/mcp |
| Health Check | https://google-workspace-mcp-557522843498.us-central1.run.app/health |
| Transport | Streamable HTTP (MCP over HTTP) |
| Account | tschreiter@gmail.com |
Connecting to Claude Code
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"google-workspace": {
"type": "http",
"url": "https://google-workspace-mcp-557522843498.us-central1.run.app/mcp"
}
}
}
Restart Claude Code to load the server.
Enabled Google Workspace Tools
All major Google Workspace services are available:
| Service | Capabilities |
|---|---|
| Gmail | Search, read, send, draft, label, and manage email |
| Google Calendar | Create, update, delete events; check availability; RSVP |
| Google Drive | Search, upload, download, organize files and folders |
| Google Docs | Create, read, edit, and format documents |
| Google Sheets | Read and write cell ranges, manage spreadsheets |
| Google Slides | Create and edit presentations, extract content |
| Google Forms | Create forms, manage questions, read responses |
| Google Tasks | Manage task lists and individual tasks |
| Google Chat | Send messages, manage spaces |
| Contacts | Look up and manage contacts via People API |
| Apps Script | Execute and manage Google Apps Script projects |
| Custom Search | Programmable Search Engine integration (requires PSE key) |
Infrastructure
| Resource | Details |
|---|---|
| GCP Project | tom-personal-tools |
| Cloud Run Region | us-central1 (within always-free tier) |
| Runtime | Python 3.11 on Cloud Run managed |
| Auth | OAuth 2.1, Desktop OAuth client |
| Secrets | Google Secret Manager (GOOGLE_OAUTH_CLIENT_ID, GOOGLE_OAUTH_CLIENT_SECRET) |
| CI/CD | Cloud Build trigger on push to main |
| Container Registry | Artifact Registry (cloud-run-source-deploy, us-central1) |
Redeploying Manually
cd /home/tom-unix/projects/google-workspace-mcp
gcloud run deploy google-workspace-mcp \
--source . \
--project=tom-personal-tools \
--region=us-central1 \
--platform=managed \
--allow-unauthenticated \
--port=8000 \
--memory=512Mi \
--set-secrets="GOOGLE_OAUTH_CLIENT_ID=GOOGLE_OAUTH_CLIENT_ID:latest,GOOGLE_OAUTH_CLIENT_SECRET=GOOGLE_OAUTH_CLIENT_SECRET:latest" \
--set-env-vars="MCP_ENABLE_OAUTH21=true,USER_GOOGLE_EMAIL=tschreiter@gmail.com" \
--timeout=300
Pushes to main trigger automatic redeployment via Cloud Build.
Pulling Upstream Updates
git fetch upstream
git log HEAD..upstream/main --oneline # preview changes
git merge upstream/main
git push
Cloud Build will automatically deploy the updated version.
Rotating OAuth Credentials
echo -n "NEW_CLIENT_ID" | gcloud secrets versions add GOOGLE_OAUTH_CLIENT_ID \
--data-file=- --project=tom-personal-tools
echo -n "NEW_CLIENT_SECRET" | gcloud secrets versions add GOOGLE_OAUTH_CLIENT_SECRET \
--data-file=- --project=tom-personal-tools
Then redeploy to pick up the new versions.
Upstream
This deployment tracks taylorwilsdon/google_workspace_mcp.
Local changes are limited to CLAUDE.md, cloudbuild.yaml, and this README.md.
License: MIT (upstream)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.