SuperAPIAI Directory

google-admin-mcp

github.com · AI developer platforms

google-admin-mcp is a FastMCP-based server for managing Google Workspace users through the Google Admin Directory API. It provides tools for listing users in a domain, creating new users with secure random passwords, retrieving detailed user information, and suspending and restoring user accounts. Before running, you need a Google Workspace administrator account, the Admin Directory API enabled, and a Base64-encoded OAuth2 token provided in the GOOGLE_TOKEN_JSON environment variable. The project provides Docker build and run methods.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose: google-admin-mcp is a FastMCP server aimed at Google Workspace administrators, performing user management operations through the Google Admin Directory API.

Main capabilities:

  • List users in a specified domain.
  • Create new users and automatically generate secure random passwords.
  • Retrieve detailed information for a specific user.
  • Suspend user accounts.
  • Restore (unsuspend) user accounts.

Password and account rules: All newly created users must change their password on first login. Passwords are generated securely and are required to be at least 12 characters long, containing uppercase and lowercase letters, digits, and special characters.

Usage:

  1. Prepare a Google Workspace administrator account and enable the Google Admin Directory API.
  2. Provide a Base64-encoded OAuth2 token in the GOOGLE_TOKEN_JSON environment variable.
  3. Clone the repository and build the Docker image.
  4. Run the container to start the server.

Use cases: Suitable for administrators or developers who need to manage Google Workspace users in a tool-based manner within an MCP environment, for example to view users in bulk, create accounts, or suspend or restore accounts.

Limitations and requirements: The server requires a valid OAuth2 token with the appropriate Admin Directory API scopes. The server provides clear error messages for authentication failures, invalid parameters, and missing environment variables. The materials do not provide specific installation commands, image names, port mappings, tool invocation parameter structures, or further configuration details.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools