Skip to main content
WorkspaceMCP.directory
Verified
  • community
  • 675 GitHub stars
  • License: MIT
  • Last push:

a-bonus/google-docs-mcp

a-bonus is a community-maintained (a-bonus) entry covering Docs, Drive, Gmail, Calendar, Sheets, Apps Script with read + write access and DWD: no.

access mode
act
read+act (Docs, Drive, Gmail, Calendar, Sheets, Apps Script)

Verified from upstream tool definitions or official docs.

domain-wide delegation
no
no (user OAuth; service account optional in src/auth.ts)

Per-user OAuth or non-DWD flow.

is_agentic client
recommended
recommended (own client)

Mark on your OAuth client in Cloud Console before Nov 12, 2026.

edition posture
matrix
works (Business Starter)

All tools work on Business Starter.

APIs covered (6)
Docs Drive Gmail Calendar Sheets Apps Script

Deployment readiness

Team pilot (2/6 core criteria yes, 3 partial)

Shared httpStream server isolates per-user OAuth 2.1 sessions via OAuthProxy and AsyncLocalStorage (src/remoteWrapper.ts#L64) with ALLOWED_DOMAINS (hd claim) and Firestore token storage (while stdio service-account DWD in src/auth.ts#L225 is single-subject), lacking per-tool audit export and OU controls.

Enterprise deployment guide →
Criterion Value Verified evidence
auth_model
Auth model (service account / DWD vs per-user OAuth)
partial
Remote httpStream mode provides an MCP OAuth 2.1 OAuthProxy for per-user Workspace tokens (src/index.ts#L123); service-account DWD in src/auth.ts#L225 binds a single static GOOGLE_IMPERSONATE_USER in stdio mode only.
multi_user
Multi-user tenancy (one deployment serving many users)
partial
In MCP_TRANSPORT=httpStream mode, wrapServerForRemote isolates per-user OAuth 2.1 tokens per request on a shared HTTP server via AsyncLocalStorage; stdio service-account mode uses one static GOOGLE_IMPERSONATE_USER.
admin_controls
Admin controls (allowlist / scope restriction / OU scope)
partial
Enforces Google Workspace domain restriction via ALLOWED_DOMAINS (hd ID token claim check) and tool-group filtering via MCP_TOOL_GROUPS.
audit_trail
Audit trail (logs which user/agent did what, exportable)
no
Logs startup and errors via src/logger.ts; no structured per-user tool-call audit log or export.
hosting
Hosting posture (Google-hosted / container / streamable HTTP)
yes
Supports MCP_TRANSPORT=httpStream on 0.0.0.0:8080 with stateless flag for Cloud Run or container deployment.
secrets_handling
Secrets handling (managed store vs plaintext local disk)
yes
Supports TOKEN_STORE=firestore (FirestoreTokenStorage) with TOKEN_ENCRYPTION_KEY and JWT_SIGNING_KEY in remote mode.
is_agentic_client_support
is_agentic client support (docs on agentic OAuth flag)
no
Does not mention Google's is_agentic OAuth client flag.
MCP client agentic client recommended transport REST / SOAR auth user OAuth Community server tier community access act dwd no Covered APIs 6 Docs r+w Drive r+w more APIs +4 calls reads + acts
  • FIG. a-bonus-google-docs-mcp
  • auth & API boundary
covered gap

Verified MCP Tools & Capabilities (17)

Pinned commit / docs verification from capabilities.json. Every tool links to its source file and line or official documentation section.

Product / API Capability State MCP Tool Name Source Evidence
users.messages.list/get, users.threads
Search and read own mail
works listMessages src/tools/gmail/listMessages.ts:9
users.messages.send
Send mail
works sendEmail src/tools/gmail/sendEmail.ts:9
users.drafts.create
Create drafts
works createDraft src/tools/gmail/createDraft.ts:9
users.messages.modify, users.labels
Label, archive, mark read
works modifyMessageLabels src/tools/gmail/modifyMessageLabels.ts:8
users.messages.trash/delete
Trash or delete own mail
works trashMessage src/tools/gmail/trashMessage.ts:8
files.list/get/export
Search and read files
works searchDriveFiles src/tools/drive/searchDriveFiles.ts:23
files.create/update/copy
Create, upload, edit, move files
works moveFile src/tools/drive/moveFile.ts:8
files.delete / trash
Delete or trash files
works deleteFile src/tools/drive/deleteFile.ts:8
permissions.create/update/delete
Share / unshare a file
works setFilePermission src/tools/drive/setFilePermission.ts:9
comments, replies
Comments
works addComment / listComments / replyToComment src/tools/docs/comments/addComment.ts:10
documents.get
Read Docs
works readDocument src/tools/docs/readGoogleDoc.ts:12
documents.create/batchUpdate
Create and edit Docs
works insertText src/tools/docs/insertText.ts:11
spreadsheets.get
Read Sheets
works readSpreadsheet src/tools/sheets/readSpreadsheet.ts:9
spreadsheets.create/batchUpdate
Create and edit Sheets
works writeSpreadsheet src/tools/sheets/writeSpreadsheet.ts:10
events.list/get, calendarList
Read calendar
works listEvents src/tools/calendar/listEvents.ts:8
events.insert/patch/delete
Create, move, cancel events
works createEvent src/tools/calendar/createEvent.ts:10
Apps Script
projects.create/updateContent
Create and edit Apps Script
works updateAppsScriptContent src/tools/script/updateAppsScriptContent.ts:15

Role Tasks This Server Unlocks (7)

All 32 role tasks
Find a document and summarize it
  • Role: Business user
  • task b2
works
Book a meeting when everyone is free
  • Role: Business user
  • task b3
partial (1/2)
works
Share a file with an external partner
  • Role: Business user
  • task b5
works
partial (2/3)
Let an agent draft replies but never send
  • Role: Agent developer
  • task d2
partial (1/1)

Upstream Repository & Feed Status

Changelog
GitHub repository
a-bonus/google-docs-mcp
Repository state
active (6d since push)
Last push / stars / open issues
  • 675 stars
  • 17 open issues

Security Notes

Despite the repository name, the pinned source code ships tools for Docs, Drive (including permissions and delete), Gmail (read, send, draft, labels, trash), Calendar, Sheets, and Apps Script.

Credential Storage Posture

Local token.json file

Agentic OAuth Client Policy (is_agentic)

OAuth client guide

Not enforced, recommended: set it on your own OAuth client; Google recommends marking agent clients before the lock.

Hosted MCP enforcement (OAuth client locks ).

Declared OAuth 2.0 Scopes

Declared Scope / Posture Risk Level Auditor Rationale
Per-service OAuth scopes for Docs, Drive, Gmail, Calendar, Sheets, Apps Script (src/auth.ts#L53) Per-Service OAuth Scopes Depends on tool-level or service-level OAuth configuration in your Google Cloud project.

Registry JSON Record

src/data/servers.json
{
  "name": "a-bonus/google-docs-mcp",
  "short_name": "a-bonus",
  "slug": "a-bonus-google-docs-mcp",
  "url": "https://github.com/a-bonus/google-docs-mcp",
  "maintainer": "a-bonus",
  "type": "community",
  "type_detail": "community",
  "status": "active",
  "apis": [
    "Docs",
    "Drive",
    "Gmail",
    "Calendar",
    "Sheets",
    "Apps Script"
  ],
  "scopes": [
    "Per-service OAuth scopes for Docs, Drive, Gmail, Calendar, Sheets, Apps Script (src/auth.ts#L53)"
  ],
  "dwd": "no",
  "dwd_detail": "no (user OAuth; service account optional in src/auth.ts)",
  "access": "act",
  "access_detail": "read+act (Docs, Drive, Gmail, Calendar, Sheets, Apps Script)",
  "credential_storage": "Local token.json file",
  "last_commit": "2026-10-11",
  "last_push": "2026-10-11T23:21:51Z",
  "archived": false,
  "archived_source": "https://api.github.com/repos/a-bonus/google-docs-mcp",
  "stale": false,
  "days_since_push": 6,
  "open_issues": 17,
  "releases_feed": "https://github.com/a-bonus/google-docs-mcp/releases.atom",
  "commits_feed": "https://github.com/a-bonus/google-docs-mcp/commits/main.atom",
  "license": "MIT",
  "is_agentic_notes": "Not enforced, recommended: set it on your own OAuth client; Google recommends marking agent clients before the 2026-11-12 lock.",
  "security_notes": "Despite the repository name, the pinned source code ships tools for Docs, Drive (including permissions and delete), Gmail (read, send, draft, labels, trash), Calendar, Sheets, and Apps Script.",
  "featured": false,
  "github_stars": 675,
  "stars": 675,
  "verified_on": "2026-10-18",
  "last_verified": "2026-10-18",
  "enterprise": {
    "auth_model": {
      "value": "partial",
      "evidence": "Remote httpStream mode provides an MCP OAuth 2.1 OAuthProxy for per-user Workspace tokens (src/index.ts#L123); service-account DWD in src/auth.ts#L225 binds a single static GOOGLE_IMPERSONATE_USER in stdio mode only.",
      "source_url": "https://github.com/a-bonus/google-docs-mcp/blob/d9e9bb21a14207d40abf46d9d9c7409b51829ac5/src/index.ts#L123"
    },
    "multi_user": {
      "value": "partial",
      "evidence": "In MCP_TRANSPORT=httpStream mode, wrapServerForRemote isolates per-user OAuth 2.1 tokens per request on a shared HTTP server via AsyncLocalStorage; stdio service-account mode uses one static GOOGLE_IMPERSONATE_USER.",
      "source_url": "https://github.com/a-bonus/google-docs-mcp/blob/d9e9bb21a14207d40abf46d9d9c7409b51829ac5/src/remoteWrapper.ts#L64"
    },
    "admin_controls": {
      "value": "partial",
      "evidence": "Enforces Google Workspace domain restriction via ALLOWED_DOMAINS (hd ID token claim check) and tool-group filtering via MCP_TOOL_GROUPS.",
      "source_url": "https://github.com/a-bonus/google-docs-mcp/blob/d9e9bb21a14207d40abf46d9d9c7409b51829ac5/src/remoteWrapper.ts#L21"
    },
    "audit_trail": {
      "value": "no",
      "evidence": "Logs startup and errors via src/logger.ts; no structured per-user tool-call audit log or export.",
      "source_url": "https://github.com/a-bonus/google-docs-mcp/blob/d9e9bb21a14207d40abf46d9d9c7409b51829ac5/src/remoteWrapper.ts#L78"
    },
    "hosting": {
      "value": "yes",
      "evidence": "Supports MCP_TRANSPORT=httpStream on 0.0.0.0:8080 with stateless flag for Cloud Run or container deployment.",
      "source_url": "https://github.com/a-bonus/google-docs-mcp/blob/d9e9bb21a14207d40abf46d9d9c7409b51829ac5/src/index.ts#L214"
    },
    "secrets_handling": {
      "value": "yes",
      "evidence": "Supports TOKEN_STORE=firestore (FirestoreTokenStorage) with TOKEN_ENCRYPTION_KEY and JWT_SIGNING_KEY in remote mode.",
      "source_url": "https://github.com/a-bonus/google-docs-mcp/blob/d9e9bb21a14207d40abf46d9d9c7409b51829ac5/src/index.ts#L138"
    },
    "is_agentic_client_support": {
      "value": "no",
      "evidence": "Does not mention Google's is_agentic OAuth client flag.",
      "source_url": "https://github.com/a-bonus/google-docs-mcp/blob/d9e9bb21a14207d40abf46d9d9c7409b51829ac5/src/auth.ts#L1"
    }
  }
}

Google Workspace MCP & OAuth audit notes

Factual notes for Google Workspace administrators and IAM engineers: newly verified MCP servers, OAuth scope diffs, API & edition gap changes, and is_agentic policy updates ahead of .