1. Conduid
  2. Healthcare
  3. Google Workspace Admin Security-Audit MCP
MCP server · Healthcare

Google Workspace Admin Security-Audit MCP

MCP server for Google Workspace security auditing — login audit, external sharing, daily brief

Unclaimed healthcare
49Fair

Scored 22 hours ago · breakdown

About Google Workspace Admin Security-Audit MCP

Google Workspace Admin Security-Audit MCP is an MCP server published by shigechika in the Healthcare category: mCP server for Google Workspace security auditing — login audit, external sharing, daily brief. Conduid read 22 tools from its source: admin_actions, compromise_sweep, daily_brief, dmarc_rua_summary, drive_doc_activity, drive_external_sharing and 16 more. It is published to PyPI as gwsadm-mcp and runs with uvx.

Conduid has no tagged release on record for it. Its topics include healthcare.

Install

uvx
uvx gwsadm-mcp
pip
pip install gwsadm-mcp
From source
git clone https://github.com/shigechika/gwsadm-mcp

Tools (22)

admin_actionsReports API `admin` — what administrators (people, or a sync or API client acting as one) did in the Admin console: to **one user or group** (server-side `USER_EMAIL` / `GROUP_EMAIL` filters on the target's domain) or tenant-wide. Answers "who suspended this account / reset its password / took it out of a group?", which `user_activity` cannot: an admin event's actor is the administrator, not the account acted upon
compromise_sweepThe Google-side follow-through after **one account** is confirmed compromised, in one call: `activity` (`user_activity`, flags first), `state` / `grants` (`get_user`; OAuth grants with mail / Drive / contacts / admin scopes called out as `risky`), `ips` (`ip_activity` across every domain for the attacker's addresses — given, or taken from the account's own flags — with the account itself excluded), and `gmail`: the settings an attacker leaves behind to keep reading mail (auto-forwarding, forwarding addresses, filters that forward / delete / archive, delegates, send-as and reply-to) plus what the mailbox sent in the window as counts and recipient domains — never a subject or body. `gmail.kind` says whether it could be read at all: `ok` / `partial` (one settings section or the sent summary failed; the rest stands) / `api_disabled` (the Gmail API is off in the service account's own Cloud project) / `no_grant` / `error` — a failure is reported, never read as "nothing found". `highlights` lists the facts to act on, `checklist` what remains to do by hand. Shares `gmail_message_trace`'s `gmail.readonly` DWD scope (every settings read, `delegates.list` included, is served by it — verified live)
daily_briefOne-call summary across all configured domains, including account-protection changes (2-Step Verification, passkeys, Advanced Protection, password, recovery address/phone, mail forwarding out of the domain) flagged when they come from outside your home countries (`GWSADM_IP2ASN`, `GWSADM_HOME_COUNTRIES`), from an origin that cannot be placed, or follow a suspicious login
dmarc_rua_summaryGmail API — DMARC aggregate (RUA) report pass/fail summary and top reject-candidate source IPs, per domain. Impersonates the domain's configured `dmarc_rua_mailbox` (a real user; default `postmaster@<domain>`), searches it for mail addressed to `dmarc_rua_recipient` (the published `rua=` address, e.g. `postmaster+rua@`; default: the mailbox) and reads the compressed report attachments those messages carry. Shares `gmail_message_trace`'s `gmail.readonly` DWD scope, but unlike that tool this one DOES read attachment content (the report XML), not just metadata — see Auth model below
drive_doc_activityReports API `drive` with a server-side `doc_id` filter — **one document's** owner, ACL changes, and lifecycle events. Triage companion to `drive_external_sharing`: the owner (an individual vs. a shared drive's name) disambiguates the shared-drive false-positive class, where files created inside a shared drive propagate member ACLs and read as bulk external sharing
drive_external_sharingReports API `drive` — ACL **grants** to external addresses or domains (revocations reported separately) and visibility **transitions** into link/public exposure
get_userDirectory API `users().get` — **one named account's** current state: `suspended` (with reason and time), `archived`, `last_login`, 2SV enrolled/enforced, org unit, creation time, pending password change. The "why can't this person sign in" lookup: one request, no pagination, for an address you already know — unlike `suspended_accounts`, which lists only accounts that ARE suspended, so it can never confirm that a given address is *not* suspended (and once that list exceeds its page cap, absence stops being evidence either way). Needs no scope beyond the one `suspended_accounts` already uses
gmail_log_searchReports API `activities().list` for the `gmail` application with `userKey=<username>` — ONE account's Gmail log, one row per Message-ID (subject, destinations, Google's non-250 delivery replies such as throttling, spam flag, attachment count, link domains), filterable by subject, Message-ID or recipient; window up to 30 days (the API's limit), ending at an ISO 8601 `end`. Metadata only — never reads a body; the log carries no sender address. Same `admin.reports.audit.readonly` scope as `user_activity`
gmail_message_traceGmail API — did a **known** Message-ID reach **specific** mailboxes, and where (inbox/spam/trash/archived)? For each recipient it impersonates that user via DWD and searches their own mailbox. Requires the separate `gmail.readonly` DWD scope (see Auth model below); a domain missing that grant reports a per-recipient error, never a false "not found"
gmail_usage_reportReports API `customerUsageReports` — daily Gmail send/receive counts per domain, one date at a time, ending yesterday (the API's own UTC-8:00/PST date anchor). Requires the separate `admin.reports.usage.readonly` DWD scope (see Auth model below) — a DIFFERENT grant from `admin.reports.audit.readonly` even though both are Reports API
gmail_user_usageReports API `userUsageReport` — daily Gmail send/receive/spam counts for ONE account over a date window (UTC-8:00/PST date anchor), for "did this account send a burst" after a spam restriction or compromise. Days Google has not processed yet go to `missing_dates`, days it reports as partial to `partial_dates` (totals are then lower bounds). Same `admin.reports.usage.readonly` scope as `gmail_usage_report`
group_delivery_policyGroups Settings API — a Google Group's own posting/delivery policy (`who_can_post`, `allow_external_members`, moderation levels). A group's access control sits **in front of** Gmail delivery: a domain-only posting policy silently drops an external sender's mail before it generates any Gmail delivery event at all, indistinguishable from a delivery failure without reading the policy directly. Requires the separate `apps.groups.settings` DWD scope (see Auth model below)
health_checkServer version, config path, and per-domain auth probe — call at session start or after a timeout
ip_activityReports API `activities().list` with `actorIpAddress=<ip>` — every account **one source address** acted as, per domain and application, with the same `flags`. The follow-through after `user_activity` names an attacker's address: did the same source reach other accounts? A spray shows up as `login_failure` counts before it ever succeeds
list_group_membersDirectory API — a Google Group's basic metadata and member roster, resolved directly rather than inferred from who happened to receive one particular message. Requires the separate `admin.directory.group.readonly` and `admin.directory.group.member.readonly` DWD scopes (see Auth model below)
login_auditReports API `login` — accounts **auto-disabled by Google** (`account_disabled_*`: leaked password, hijacked, spamming), suspicious logins, failure top-N
shared_drive_membership_changesReports API `drive` (`shared_drive_membership_change`) — who added/removed/re-roled shared-drive members and when, with external classification of the affected member and a client-side drive-name filter
sign_out_user**State-changing, opt-in.** Directory API `users().signOut` — signs **one** account out of every web and device session and resets its sign-in cookies, after confirming the account exists with `users().get`. Registered only when the server starts with `GWSADM_ENABLE_SIGN_OUT=1`; put an approval step in front of it. Does not revoke OAuth grants or app passwords, remove an enrolled second factor or change the password (listed in its `not_covered`). Needs two grants: `admin.directory.user.readonly` for the account check (as `get_user`) and `admin.directory.user.security` for the sign-out itself (as `user_oauth_tokens`); the impersonated admin must also be allowed to manage user security. Answers `signed_out` `true` (Google confirmed), `false` (nothing changed) or `null` (outcome unknown: sent, no answer in time) with the same keys every time, and ends within `GWSADM_SIGN_OUT_DEADLINE_SECONDS` (default 45). The address's own domain must be configured; `domain`, if given, must match it.
suspended_accountsDirectory API — current snapshot of **suspended** accounts (`isSuspended=true`); cross-reference against a downstream IdP (e.g. KeyCloak) to find suspended-but-still-enabled accounts
user_activityReports API `activities().list` with `userKey=<username>` — everything **one account** did in a window, merged across applications (login, token, user_accounts, drive, groups, calendar, chat, meet, saml by default) newest first. `flags` surfaces the events that change the account's security posture regardless of volume — 2SV enrolled/disabled, recovery email/phone changed, password changed, outbound forwarding, Google's `risky_sensitive_action_*` / `suspicious_login` verdicts, every OAuth `authorize` with client and scopes — because a second factor the attacker enrolled survives a password reset; `ips` lists the distinct source addresses with first/last seen. Google's own `account_disabled_*` / `suspicious_login` verdicts are not served under the account's `userKey` (their actor is Google), so they are fetched the way `login_audit` does and reported under the synthetic application `login_verdicts`. The post-compromise question `login_audit` cannot answer: it sees only the events Google itself raised, domain-wide
user_oauth_tokensDirectory API `tokens().list` — third-party OAuth app grants for **one user**; a compromise vector `login_audit` is blind to, since a previously-granted token needs no fresh login. Domain resolved from the username's suffix, with an optional `domain` override for alias/secondary-domain addresses
workspace_statusGoogle Workspace Status Dashboard (public feed, no credential) — open incidents and those that ended within the window, optionally for one product (`Gmail`, `Drive`, ...). Answers "is it Google?" before a tenant-side investigation

Security checks

6 checks have not been run yet.

Questions

About Google Workspace Admin Security-Audit MCP

How do I install Google Workspace Admin Security-Audit MCP?

Run uvx gwsadm-mcp, then add the server to your MCP client's configuration.

Is Google Workspace Admin Security-Audit MCP safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Google Workspace Admin Security-Audit MCP still maintained?

Yes — the last commit was 7 hours ago. The repository has 0 stars and 0 forks.

What tools does Google Workspace Admin Security-Audit MCP provide?

Conduid read 22 tools from the source: admin_actions, compromise_sweep, daily_brief, dmarc_rua_summary, drive_doc_activity, drive_external_sharing, get_user, gmail_log_search and 14 more.