A FastMCP server for managing Google Workspace users through the Admin Directory API.
A FastMCP server for managing Google Workspace users through the Admin Directory API.
GOOGLE_TOKEN_JSON
environment variablenpm install
Set the required environment variable:
export GOOGLE_TOKEN_JSON="your_base64_encoded_token"
Lists users in a domain.
{
"domain": "yourdomain.com"
}
Creates a new user with a secure random password.
{
"primaryEmail": "[email protected]",
"firstName": "First",
"lastName": "Last"
}
Gets detailed information about a specific user.
{
"userKey": "[email protected]"
}
Suspends a user account.
{
"userKey": "[email protected]"
}
Unsuspends a user account.
{
"userKey": "[email protected]"
}
Start the server:
npm start
The server provides clear error messages for:
MIT License