Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ”’ Security
  3. Gws Admin Mcp
G
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:26:32 AM

Gws Admin Mcp

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Safe Google Workspace admin for AI agents: read-only by default, confirm-gated deletes, audit log.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "gws-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gws-admin-mcp"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ”’ More in Security

Documentation Overview

gws-admin-mcp

A local Model Context Protocol (MCP) server that gives your AI agent (Cursor, Claude Desktop, or any MCP client) a safe Google Workspace admin console. It talks to the Admin SDK (Directory, Reports, Groups Settings) through a service account with domain-wide delegation, so the agent can answer questions like "which users haven't logged in for 90 days?" or "who is in the Finance group?" β€” and, only when you explicitly allow it, make changes.

Code
MCP client ──stdio──► gws-admin-mcp ──service account JWT (impersonates an admin)──► admin.googleapis.com / groupssettings.googleapis.com

Runs entirely on your machine. No third-party service, no telemetry, no data leaves your laptop except the Google API calls themselves.

Safety model

This server assumes the agent driving it is fallible. Three layers:

  1. Read-only by default. Out of the box only the 17 read tools are registered β€” write tools are not hidden behind a runtime check, they simply do not exist in the tool list, so the agent cannot call them. Mutations require starting the server with --allow-write (or GWS_ADMIN_ALLOW_WRITE=1).
  2. Confirm gate on destructive calls. Even with writes enabled, the irreversible operations β€” users_delete, groups_delete, orgunits_delete, role_assignment_delete, mobile device wipe actions, and ChromeOS deprovision β€” are refused unless the call includes "confirm": true. The agent has to make the destructive intent explicit a second time.
  3. Audit log. Every tool call is appended as JSON lines to ~/.config/gws-admin-mcp/audit.log (mode 600), with passwords and secrets redacted. Disable with GWS_ADMIN_AUDIT=0 if you must.

Recommended pattern: run the read-only instance permanently, and start a second, write-enabled instance only for the duration of a change window.

Tools (40 total; 17 in read-only mode)

AreaRead-only toolsWrite tools (require --allow-write)
Usersusers_list, users_getusers_create, users_update, users_suspend, users_unsuspend, users_reset_password, users_make_admin, users_move_ou, users_delete*
Groupsgroups_list, groups_get, groups_list_membersgroups_create, groups_update, groups_delete*, groups_add_member, groups_remove_member, groups_update_member
Org unitsorgunits_list, orgunits_getorgunits_create, orgunits_update, orgunits_delete*
Rolesroles_list, role_assignments_listrole_assignment_create, role_assignment_delete*
Domains / customerdomains_list, customer_getβ€”
Devicesdevices_list_mobile, devices_list_chromeosdevices_action_mobile, devices_action_chromeos, devices_move_chromeos
Reportsreports_activities (audit log), reports_usage_user, reports_usage_customerβ€”
Group settingsgroupsettings_getgroupsettings_update

* Destructive β€” additionally requires "confirm": true in the call (device tools only for wipe/deprovision actions).

List tools auto-paginate up to a maxResults cap, and users_list supports the full Admin SDK search syntax (orgUnitPath='/Sales', isAdmin=true, email:jdoe*, ...).

Requirements

  • Node.js >= 20
  • Super-admin access to a Google Workspace domain (to grant domain-wide delegation)
  • A Google Cloud project (free β€” the Admin SDK has no usage cost)

Google Cloud setup

You need a service account whose key the server uses to impersonate a Workspace super-admin. Two paths:

Path A β€” scripted (needs gcloud)

bash
gcloud auth login admin@yourdomain.com
scripts/setup-service-account.sh admin@yourdomain.com your-project-id

The script creates/reuses the project, enables the Admin SDK + Groups Settings APIs, creates the service account, writes the key and config to ~/.config/gws-admin-mcp/, and prints the client ID + scope string for the final manual step (step 5 below β€” Google provides no API for that part).

Path B β€” manual (Cloud console)

  1. Create a project at console.cloud.google.com (or reuse one dedicated to admin tooling).
  2. Enable APIs: Admin SDK API and Groups Settings API (APIs & Services β†’ Library).
  3. Create a service account (IAM & Admin β†’ Service Accounts β†’ Create). No project-level IAM roles are needed β€” its power comes entirely from the delegation grant in the next steps.
  4. Create a JSON key for it (Keys tab β†’ Add key β†’ JSON) and save it as ~/.config/gws-admin-mcp/service-account.json with chmod 600.
  5. Grant domain-wide delegation β€” this is the step people miss:
    • Copy the service account's OAuth 2 client ID (a long number, shown on the service account details page).
    • In the Admin console (admin.google.com): Security β†’ Access and data control β†’ API controls β†’ Domain-wide delegation β†’ Add new.
    • Paste the client ID, and paste this exact scope list as one comma-separated line:
Code
https://www.googleapis.com/auth/admin.directory.user,https://www.googleapis.com/auth/admin.directory.group,https://www.googleapis.com/auth/admin.directory.group.member,https://www.googleapis.com/auth/admin.directory.orgunit,https://www.googleapis.com/auth/admin.directory.rolemanagement,https://www.googleapis.com/auth/admin.directory.domain.readonly,https://www.googleapis.com/auth/admin.directory.customer.readonly,https://www.googleapis.com/auth/admin.directory.device.mobile,https://www.googleapis.com/auth/admin.directory.device.chromeos,https://www.googleapis.com/auth/admin.reports.audit.readonly,https://www.googleapis.com/auth/admin.reports.usage.readonly,https://www.googleapis.com/auth/apps.groups.settings
  1. Tell the server which admin to impersonate. Create ~/.config/gws-admin-mcp/config.json:
config.json
{
  "delegatedAdmin": "admin@yourdomain.com",
  "customerId": "my_customer"
}

delegatedAdmin must be a super-admin of the domain. my_customer resolves to that admin's own organization.

Environment variables override the config files: GOOGLE_SA_KEY (key path), DELEGATED_ADMIN, CUSTOMER_ID, GWS_ADMIN_CONFIG_DIR (alternate config directory). See .env.example.

Build and verify

Terminal
npm install
npm run build
node dist/cli.js doctor

doctor checks the key, mints a delegated token, and runs sample reads against users, domains, roles, and the audit reports API. All four should say PASS. Then optionally:

Terminal
npm run smoke   # spawns the real server over stdio, checks tool registration + live reads

MCP client configuration

Cursor (~/.cursor/mcp.json)

Read-only β€” the recommended default:

config.json
{
  "mcpServers": {
    "gws-admin": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/gws-admin-mcp/dist/cli.js", "serve"]
    }
  }
}

Write-enabled (use deliberately, ideally as a second entry you toggle on):

config.json
{
  "mcpServers": {
    "gws-admin-write": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/gws-admin-mcp/dist/cli.js", "serve", "--allow-write"]
    }
  }
}

Claude Desktop (claude_desktop_config.json)

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Β· Windows: %APPDATA%\Claude\claude_desktop_config.json

config.json
{
  "mcpServers": {
    "gws-admin": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/gws-admin-mcp/dist/cli.js", "serve"]
    }
  }
}

Restart the client after editing. You should see the gws-admin server with 17 tools (read-only) or 40 (write-enabled).

Troubleshooting

SymptomCause / fix
unauthorized_client when minting a tokenThe domain-wide delegation grant is missing, uses the wrong client ID, or its scope list doesn't cover every scope the server requests. Re-paste the full scope string from above against the SA's OAuth2 client ID. Grants can take a few minutes to propagate.
Service-account key not found at ...Put the JSON key at ~/.config/gws-admin-mcp/service-account.json or set GOOGLE_SA_KEY to its path.
DELEGATED_ADMIN ... is not setAdd delegatedAdmin to config.json or set the DELEGATED_ADMIN env var.
403 Not Authorized to access this resource/apiThe impersonated user is not a super-admin, or the Admin SDK API isn't enabled in the Cloud project.
404 from Groups Settings callsThe Groups Settings API isn't enabled in the project (it's separate from the Admin SDK).
Write tools don't appear in the clientWorking as intended β€” start the server with --allow-write or GWS_ADMIN_ALLOW_WRITE=1.
A delete/wipe call returns Refused: ... destructive/irreversibleWorking as intended β€” re-issue the call with "confirm": true.
Client shows the server as failed on startupRun node dist/cli.js doctor in a terminal; it prints the exact failing check. Also confirm the args path in your MCP config is absolute.

Security notes

  • The service-account key impersonates a super-admin with org-wide power. Treat service-account.json like a domain-admin password: keep it out of git (this repo's .gitignore already excludes key files, .env, and config.json), keep it chmod 600, and rotate it periodically.
  • Prefer a dedicated Cloud project for this service account so the key is easy to audit and revoke.
  • Keep the permanent instance read-only. Enable writes in a separate instance only when you actually intend to change things, and turn it off after.

License & purchase

This repository is source-available, not open source: the code is public so you can read and audit every line before trusting it with a super-admin credential, but using it requires a license.

  • Buy a license ($34): antchoutine.gumroad.com/l/gws-admin-mcp β€” perpetual, includes the full write-enabled edition and updates.
  • Try it free: the read-only edition (17 tools, no mutating code) is on npm as gws-admin-mcp.

See LICENSE for the exact terms (no redistribution, no offering it as a hosted service).

Related MCP Servers

View all in Security View all alternatives
  • M
    Mcp Server

    Runtime authority for AI agents: credential mediation, spend cap, approval gates, audit log.

    πŸ”’ Security0 views
    Compare vs Mcp Server β†’
  • M
    Mcp Bastion

    Reliability + security proxy for MCP: runtime tool-security and a compliance-mapped audit trail.

    πŸ”’ Security0 views
    Compare vs Mcp Bastion β†’
  • D
    Delego

    Intent-bound action authorization for AI agents: policy, human approval, and a signed audit trail.

    πŸ”’ Security1 views
    Compare vs Delego β†’
  • C
    CrowdStrike Falcon MCP Server

    Connects AI agents with CrowdStrike Falcon for security analysis and automation.

    πŸ”’ Security0 views
    Compare vs CrowdStrike Falcon MCP Server β†’

Frequently Asked Questions about Gws Admin Mcp

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "gws-admin-mcp": { "command": "npx", "args": ["-y", "gws-admin-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGws Admin Mcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gws-admin-mcp?style=directory)](https://allmcps.com/mcp/gws-admin-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/gws-admin-mcp"><img src="https://allmcps.com/api/badge/gws-admin-mcp?style=directory" alt="Gws Admin Mcp on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ”’Security
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
0/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 3,181+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ”’ Security β†’Best MCP servers for Security β†’Alternatives to Gws Admin Mcp β†’Install in Claude DesktopInstall in CursorInstall in VS Code