gam_list_usersLABSCO SUMMARY
GAM's admin surface, without the syntax.
GAM already does this work; the friction is remembering its command shapes. Here the intent is stated in words, the parameters are validated, and only a known set of commands can be built from them.
What it is
A wrapper around GAM, the Google Workspace command-line admin tool, exposing its user, group, org-unit and domain operations as tools. It shells out to the GAM binary you have already authenticated, and only whitelisted commands are allowed through.
What you get
- Users listed and filtered by domain or query, and one user's full record fetched
- Users created, updated and suspended
- A user moved between organisational units, and the org units themselves listed
- Groups listed and created, one group's detail read, and members added with a role
- Domain information read back
- Inputs validated before a command is built, with only whitelisted GAM commands allowed to run
Requirements
GAM installed and already authenticated against your Workspace — that one-time authorisation happens outside this server. Node.js, a local build, and the path to the GAM binary if it is not already on your PATH. Whatever the authenticated GAM account can do in Workspace, these tools can do.
Setup effort
Build from source
USE CASES
Onboarding someone new
Create the account, put it in the right org unit and add it to the groups it needs, in one pass.
Shutting off access when someone leaves
Read the record to confirm the right person, then suspend the account.
Answering who is in this group
Group detail and membership without opening the admin console.
Auditing an org unit's membership
List the org units, then the users under the one in question.
Fixing a user record you were just told about
Read the current values, change the ones that are wrong, and see it applied.
Setting up a team's mailing list
Create the group and add its members with the roles they should hold.
14 tools
Listed in project docs. Your client may show a different list.
gam_get_usergam_create_usergam_update_usergam_suspend_usergam_unsuspend_usergam_move_user_orgunitgam_list_groupsgam_get_groupgam_create_groupgam_add_group_membergam_remove_group_membergam_list_orgunitsgam_get_domain_infoBEFORE YOU INSTALL
What to know first
Tools you get
14 tools named in the project's documentation.
Requires
Node.js v18 or later
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone and build this one yourself.
Server setup
git clone https://github.com/dbarks/mcp-gam
cd mcp-gam
npm install
npm run buildMCP Clients
Claude Desktop
{
"mcpServers": {
"gam-workspace": {
"command": "node",
"args": [
"<YOUR_PATH_TO_MCP_GAM>/dist/index.js"
],
"env": {
"GAM_PATH": "<YOUR_GAM_PATH>"
}
}
}
}