Google Master Worker MCP
Integrates with Google Workspace APIs, providing typed operations for Google Tasks and Apps Script project lifecycle with OAuth-based authorization and per-account scope checks.
Provides typed Google Tasks operations for task management, with write operations confined to a local development adapter and the remote protected MCP exposing only read-only operations.
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 Master Worker MCP
Status (13 Nov 2026): The private Auth, Setup and protected MCP Workers are deployed on Cloudflare; the encrypted D1 Google account connection and 23 personal Google scopes are verified. M23 is currently live with 101 reads, 90 mutations and one legacy approval-proposal tool. M24 replaces that per-action middleman with direct authenticated tool execution: 101 reads + 90 writes. M24 code must be deployed and the MCP client reauthorized once for mcp:write before production becomes direct-write.
A personal, TypeScript-first Google Workspace integration platform intended to serve ChatGPT via remote MCP, ELF//SHELL Ayarime and CiRYVA Android via reusable typed HTTPS interfaces. Modules are portable and centrally routed; client apps do not need to implement Google REST logic individually.
Implemented
M22 comprehensive read catalogue: 76 fixed GET endpoints plus one bounded Calendar freeBusy query extend M19's 24 operations to 101 typed, read-only remote MCP tools across Tasks, Apps Script, Drive, Docs, Sheets, Slides, Calendar, Gmail, Contacts, Forms and Meet. M23 adds the existing nine core mutations to 81 additional named operations. M24 has 101 reads and 90 directly executable writes (191 tools), guarded by the owner's one-time
mcp:writeclient permission, per-operation Google scopes and the explicit Worker write flag.Shared TypeScript operation registry, strict input/output schemas, per-account Google scope checks, bounded REST transport and redacted errors.
Deployed Cloudflare Workers: resource-scoped MCP OAuth authorization, protected MCP gateway and private Workspace Setup; mutations are disabled by default and require client OAuth
mcp:writeauthorization when enabled.Google operator authentication by verified Google OIDC subject, per-client browser consent, protected OAuth tokens and separated Google Workspace authorization.
Encrypted Google OAuth vault built on D1-compatible SQL and AES-256-GCM, with one-time authorization state and versioned token refresh.
Protected MCP session provider that can read an independently authorized D1 vault only when explicitly enabled and invoked by an OAuth-verified client. The generated configuration still disables both reads and writes by default; M21's deployed version has its read gate enabled.
An authenticated typed
/v1/capabilitiesand/v1/operations/{name}API shared by MCP, TypeScript and Android. Reads work without write opt-in; M24 protected writes require the explicit Worker gate and an existing clientmcp:writegrant; no recurring approval page. Actual Firefox/Android app integration remains future work.Cloudflare
workers.devstaging in active use: Auth and MCP production URLs enabled with OAuth protection, private Setup production URL behind Cloudflare Access; preview URLs disabled. M23 read and write gates are active in production; M24 is awaiting deployment and one-time MCP client permission refresh.Safe CLI-generated, private Cloudflare binding configurations for an operator-owned domain, KV namespace, shared D1 database, two rate limiters and the default-entrypoint RPC binding; no public routes or secrets generated.
M13 read-only Cloudflare inventory checker using pinned Wrangler: verifies actual account membership, KV namespace and D1 vault identity without creating or deploying resources.
Required OAuth and setup Worker rate-limit bindings, with early HTTP 429 rejection and safe denial on missing Cloudflare configuration. Cloudflare WAF remains a deployment prerequisite.
Owner-only private browser setup Worker in active use: Google OIDC login, CSRF-bound browser session, one-session 23-scope personal Gmail Workspace consent, encrypted D1 vault and secure provider revocation/disconnect.
Node 26 tests, GitHub Actions CI, Wrangler dry-run checks and locally simulated Cloudflare Worker OAuth acceptance tests. Secret values are never committed.
Related MCP server: Google Workspace Directory MCP
Development
Use Node.js 26 and the pinned compatible stable dependencies in package.json:
npm ci
npm test
npm run test:runtimeUse npm run cloudflare:inspect -- --account-id YOUR_ACCOUNT_ID after generating your private Wrangler configurations and logging in through Wrangler. See M13 account inventory checks for exact prerequisites.
See docs/DEPENDENCIES.md for the dependency policy. The npm-generated package-lock.json is committed, and CI uses npm ci for reproducible builds.
Current architecture and remaining work
The auth Worker issues scoped OAuth tokens to approved MCP clients. The protected MCP Worker validates tokens over an internal Service Binding, derives an opaque client identity, and exposes reads and individually named writes only with the appropriate connection permission. The Google token vault is a second, independent authorization boundary. Having an MCP token alone does not grant access to Google.
Validated live: Google Tasks, Drive, Calendar, Gmail and Contacts read operations under M23. Awaiting M24 deployment/acceptance: direct Google writes with mcp:write client scope, no approval UI, and initial disposable-resource read-back. Actual Ayarime/CiRYVA UI integration and binary upload/streaming support remain future work.
For the current direct-write architecture and coordinated release, see M24 direct writes and M24 release script. The M23 approval workflow and deployment script are historic and superseded. For the single-batch read catalogue and API acceptance boundaries, see M22 comprehensive Google reads. For broad API expansion and rollout, see M19 broad Workspace service catalogue and M18 personal Gmail scope compatibility. For exact earlier rollout and security requirements, see M13 read-only account inventory, M12 optional workers.dev staging, M11 local Worker authentication checks, M10 first-party client integration, the M9 Cloudflare config generator, the M8 deployment preflight, the M7 browser OAuth setup runbook, the updated vault/session deployment notes, client OAuth notes, encrypted vault notes, and roadmap.
The outdated M3 development bearer gateway is not suitable for public deployment. The protected MCP, Setup and Auth production routes were activated deliberately by the operator; do not use ordinary wrangler deploy with the route-free generated config as that may disable them. Keep Setup behind Cloudflare Access. The read and write gates are live; after M24 the one-time mcp:write client scope replaces recurring private owner approvals. M24 deploys the Auth Worker first, then private Setup, then protected MCP.
License
MPL-2.0, matching the source project license for reused Tasks functionality. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Provides read access to your GKE and Kubernetes resources.
Read-only Google Search Console MCP server for AI assistants.
Read-only Google Analytics 4 MCP server for AI assistants.
Hosted MCP for Google Workspace, Atlassian and Notion: one OAuth, per-user accounts, write access.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceRead-only MCP server for Google Merchant Center, Google Search Console, Google Drive, Gmail, Calendar, and People API.MIT
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server for narrowly scoped Google Workspace user lookups via the Admin SDK Directory API, providing user status, search, aliases, and summary tools with strict domain and trust-boundary controls.-
- AlicenseBqualityBmaintenanceEnables read-only access to Google Marketing Platform data across GMP Admin, Display & Video 360, Campaign Manager 360, and Search Ads 360 through OAuth-authenticated MCP tools for discovering accounts, campaigns, reports, and performance metrics.33MIT
- AlicenseNot gradedqualityCmaintenanceProvides MCP clients with tools for Google Workspace services such as Drive, Docs, Sheets, Slides, and Calendar, and supports direct OAuth without a cloud function when a client secret is configured.Apache 2.0