Skip to main content
WorkspaceMCP.directory
Verified
  • community
  • stale (>180d since push)
  • 1 GitHub stars
  • License: MIT
  • Last push:

keyserfaty/mcp-google-workspace-admin

keyserfaty is a community-maintained (keyserfaty) entry covering Admin SDK (Directory), Gmail with read + write access and DWD: yes.

access mode
act
read+act (list_users, create_user, reset_password, add_domain, list_domains)

Verified from upstream tool definitions or official docs.

domain-wide delegation
yes
yes (service account with_subject)

Supports or requires service account DWD.

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 (2)
Admin SDK (Directory) Gmail

Deployment readiness

Single-user (1/6 core criteria yes, 0 partial)

Uses a service account with DWD (with_subject), but runs as a local single-operator stdio server impersonating one static super-admin email (GOOGLE_WORKSPACE_ADMIN_EMAIL).

Enterprise deployment guide →
Criterion Value Verified evidence
auth_model
Auth model (service account / DWD vs per-user OAuth)
yes
Uses service_account.Credentials.from_service_account_file with domain-wide delegation (creds.with_subject).
multi_user
Multi-user tenancy (one deployment serving many users)
no
Impersonates a single hardcoded GOOGLE_WORKSPACE_ADMIN_EMAIL env var for all Admin SDK calls.
admin_controls
Admin controls (allowlist / scope restriction / OU scope)
no
Hardcodes admin.directory.domain, admin.directory.user, and gmail.settings.sharing scopes with no allowlist or tool restriction.
audit_trail
Audit trail (logs which user/agent did what, exportable)
no
No caller attribution or audit logging in server.py; all actions log in Workspace under the single impersonated super-admin.
hosting
Hosting posture (Google-hosted / container / streamable HTTP)
no
Runs FastMCP('workspace-admin') over default local stdio with no container or HTTP server configuration.
secrets_handling
Secrets handling (managed store vs plaintext local disk)
no
Reads unencrypted service account private key JSON from local disk via GOOGLE_SERVICE_ACCOUNT_JSON.
is_agentic_client_support
is_agentic client support (docs on agentic OAuth flag)
no
No documentation on marking the GCP OAuth/service account client as is_agentic.
MCP client agentic client recommended transport REST / SOAR auth DWD / OAuth Community server tier community access act dwd yes Covered APIs 2 Directory r+w Gmail r+w other APIs 0 calls reads + acts
  • FIG. keyserfaty-mcp-google-workspace-admin
  • auth & API boundary
covered gap

Verified MCP Tools & Capabilities (6)

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.settings.sendAs (+smimeInfo)
Manage send-as / S/MIME
Named DKIM, but the code calls Gmail sendAs.smimeInfo.insert (S/MIME). DKIM tools return Admin console links; DKIM itself is not automated (no public DKIM API).
partial generate_dkim_key server.py:203
users.list/get
List and look up users
works list_users server.py:144
users.insert/update
Create or edit users
Create only.
partial create_user server.py:107
users.update password
Reset a password
works reset_password server.py:176
domains
Manage domains
works add_domain / list_domains / get_domain_status server.py:32
Server feature
(server feature)
Act for many users via domain-wide delegation
works — auth.py:33

Role Tasks This Server Unlocks (6)

All 32 role tasks
partial (1/3)
Reset a user's password
  • Role: Workspace admin
  • task a3
works
Add a secondary domain
  • Role: Workspace admin
  • task a5
works
Check the user's admin roles and devices
  • Role: Security admin
  • task s3
partial (1/3)
List all admins and their privileges
  • Role: Auditor / compliance
  • task c6
partial (1/2)

Upstream Repository & Feed Status

Changelog
Repository state
stale (236d since push)
Last push / stars / open issues
  • 1 stars
  • 0 open issues

Security Notes

Holds a DWD service account key (auth.py#L33). Covers domains (add_domain, list_domains, get_domain_status), users (list_users, create_user, reset_password), and Gmail S/MIME (generate_dkim_key calls sendAs.smimeInfo.insert; DKIM tools return Admin console links).

Credential Storage Posture

Service account key 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 (this server authenticates with a DWD service account key against Workspace REST APIs).

Hosted MCP enforcement (OAuth client locks ).

Declared OAuth 2.0 Scopes

Declared Scope / Posture Risk Level Auditor Rationale
Admin Directory & Gmail sendAs scopes (auth.py#L15) Privileged Directory Scope Grants user/account directory inspection and potential account suspension or session revocation actions.

Registry JSON Record

src/data/servers.json
{
  "name": "keyserfaty/mcp-google-workspace-admin",
  "short_name": "keyserfaty",
  "slug": "keyserfaty-mcp-google-workspace-admin",
  "url": "https://github.com/keyserfaty/mcp-google-workspace-admin",
  "maintainer": "keyserfaty",
  "type": "community",
  "type_detail": "community",
  "status": "active",
  "apis": [
    "Admin SDK (Directory)",
    "Gmail"
  ],
  "scopes": [
    "Admin Directory & Gmail sendAs scopes (auth.py#L15)"
  ],
  "dwd": "yes",
  "dwd_detail": "yes (service account with_subject)",
  "access": "act",
  "access_detail": "read+act (list_users, create_user, reset_password, add_domain, list_domains)",
  "credential_storage": "Service account key file",
  "last_commit": "2026-02-23",
  "last_push": "2026-02-23T22:36:05Z",
  "archived": false,
  "archived_source": "https://api.github.com/repos/keyserfaty/mcp-google-workspace-admin",
  "stale": true,
  "days_since_push": 236,
  "open_issues": 0,
  "releases_feed": "https://github.com/keyserfaty/mcp-google-workspace-admin/releases.atom",
  "commits_feed": "https://github.com/keyserfaty/mcp-google-workspace-admin/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 (this server authenticates with a DWD service account key against Workspace REST APIs).",
  "security_notes": "Holds a DWD service account key (auth.py#L33). Covers domains (add_domain, list_domains, get_domain_status), users (list_users, create_user, reset_password), and Gmail S/MIME (generate_dkim_key calls sendAs.smimeInfo.insert; DKIM tools return Admin console links).",
  "featured": false,
  "github_stars": 1,
  "stars": 1,
  "verified_on": "2026-10-18",
  "last_verified": "2026-10-18",
  "enterprise": {
    "auth_model": {
      "value": "yes",
      "evidence": "Uses service_account.Credentials.from_service_account_file with domain-wide delegation (creds.with_subject).",
      "source_url": "https://github.com/keyserfaty/mcp-google-workspace-admin/blob/b7f353f6fb00e2b818cf47a94ae71ecdca2fedc8/auth.py#L30"
    },
    "multi_user": {
      "value": "no",
      "evidence": "Impersonates a single hardcoded GOOGLE_WORKSPACE_ADMIN_EMAIL env var for all Admin SDK calls.",
      "source_url": "https://github.com/keyserfaty/mcp-google-workspace-admin/blob/b7f353f6fb00e2b818cf47a94ae71ecdca2fedc8/auth.py#L23"
    },
    "admin_controls": {
      "value": "no",
      "evidence": "Hardcodes admin.directory.domain, admin.directory.user, and gmail.settings.sharing scopes with no allowlist or tool restriction.",
      "source_url": "https://github.com/keyserfaty/mcp-google-workspace-admin/blob/b7f353f6fb00e2b818cf47a94ae71ecdca2fedc8/auth.py#L14"
    },
    "audit_trail": {
      "value": "no",
      "evidence": "No caller attribution or audit logging in server.py; all actions log in Workspace under the single impersonated super-admin.",
      "source_url": "https://github.com/keyserfaty/mcp-google-workspace-admin/blob/b7f353f6fb00e2b818cf47a94ae71ecdca2fedc8/server.py#L25"
    },
    "hosting": {
      "value": "no",
      "evidence": "Runs FastMCP('workspace-admin') over default local stdio with no container or HTTP server configuration.",
      "source_url": "https://github.com/keyserfaty/mcp-google-workspace-admin/blob/b7f353f6fb00e2b818cf47a94ae71ecdca2fedc8/server.py#L25"
    },
    "secrets_handling": {
      "value": "no",
      "evidence": "Reads unencrypted service account private key JSON from local disk via GOOGLE_SERVICE_ACCOUNT_JSON.",
      "source_url": "https://github.com/keyserfaty/mcp-google-workspace-admin/blob/b7f353f6fb00e2b818cf47a94ae71ecdca2fedc8/auth.py#L22"
    },
    "is_agentic_client_support": {
      "value": "no",
      "evidence": "No documentation on marking the GCP OAuth/service account client as is_agentic.",
      "source_url": "https://github.com/keyserfaty/mcp-google-workspace-admin/blob/b7f353f6fb00e2b818cf47a94ae71ecdca2fedc8/auth.py#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 .