コネクタガイド約8分で読めますMCP ツール 45 個7 言語

MCP 経由で Google Workspace Admin を Claude に接続する方法

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

HC執筆: HelpCode チーム更新日 8分で読了 GitHub でオープンソース

クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり

Google Workspace Admin

Google Workspace Admin

Google Workspace administration for AI agents: users (create, update, suspend, sign out), aliases, groups and members, organizational units, admin roles and assignments, ChromeOS and mobile devices, domains, plus audit logs and usage reports. Admin SDK, OAuth2, admin account required.

ツール

45

地域

INTL

カテゴリー

生産性

認証

OAuth 2.0

必要な環境変数

GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRET
Cloud にワンクリックでインストール

7日間無料トライアル · クレジットカード不要

  • 7日間の無料トライアル
    クレジットカード不要
  • GDPR・SOC 2 レディ
    EU データ保管、監査ログ
  • GitHub でオープンソース
    オープンソース · AGPL-3.0
  • ChatGPT、Claude、Gemini に対応
    MCP 対応クライアントすべて

インストール不要。2分以内に動きます。

cloud.anythingmcp.com で無料トライアルを開始し、Google Workspace Admin をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。

無料トライアルを開始

AnythingMCP は Claude のコネクタディレクトリに掲載されています。ワンクリックで Claude に追加 (新しいタブで開きます)し、サインインして Claude が使える MCP サーバーを選んでください。

概要

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

こう聞いてみよう

Google Workspace Admin のサンプルプロンプト

プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。

Google Workspace Admin · MCP 経由でライブ
共有
Opus 4.7

Claude は AI のため誤ることがあります。回答をご確認ください。

💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Google Workspace Admin をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も git clone もローカルサーバーも不要。

Google Workspace Admin + Claude

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

前提条件

完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:

GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET

ステップ 1 — 認証情報を取得

設定は約 10 分です。コネクタを認可する Google アカウントは、Google Workspace または Cloud Identity アカウントの Workspace 管理者 である必要があります。コネクタは常にそのアカウント(my_customer)を対象に動作します。

  1. https://console.cloud.google.com を開き、プロジェクトを選ぶか作成して、APIs & Services → Library で Admin SDK API を有効にします(Directory API と Reports API の両方を含みます)。
  2. APIs & Services → OAuth consent screen を開き、Internal を選びます。プロジェクトは同じ Google Workspace 組織に属している必要があります。External の場合は公開ステータスを In production にします。アプリが Testing の間は Google が 7 日後にリフレッシュトークンを取り消すため、コネクタが毎週止まります。
  3. APIs & Services → Credentials → Create credentials → OAuth client ID を開き、アプリケーションの種類に Web application を選んで、承認済みのリダイレクト URI に <your AnythingMCP URL>/api/mcp-oauth/callback を、AnythingMCP Cloud では https://cloud.anythingmcp.com/api/mcp-oauth/callback を追加します。
  4. クライアント ID を GOOGLE_CLIENT_ID に、クライアントシークレットを GOOGLE_CLIENT_SECRET に貼り付けて、コネクタをインストールします。
  5. コネクタのページで Authorize with Provider をクリックし、管理者 アカウントでサインインします。リフレッシュトークンは暗号化して保存され、アクセストークンは自動的に更新されます。
  6. 管理コンソールでサードパーティ製アプリを制限している場合(Security → Access and data control → API controls)、この OAuth クライアントを Trusted にします。そうしないとサインインが admin_policy_enforced で終わります。
  7. google_admin_get_customer を実行します。顧客 ID とプライマリドメインが表示され、接続を確認できます。

すべての Google コネクタで 1 つの Google クライアント: 同じ Cloud プロジェクトと OAuth クライアントで、すべての Google コネクタ(Gmail、Google Calendar、Google Drive、Google Sheets、Search Console、Analytics、Ads、Admin)を使えます。そのプロジェクトで各 API を有効にし、GOOGLE_CLIENT_ID と GOOGLE_CLIENT_SECRET を再利用して、各コネクタを一度ずつ認可します。各コネクタは自分のスコープだけを要求します。

どの管理者アカウントか: 特権管理者(Super Admin) はすべてのツールを使えます。委任された管理者は、ロールが対応する Admin API privileges(管理コンソール → Account → Admin roles → 該当ロール → Privileges → Admin API)も持っていれば、そのロールの範囲で使えます。ユーザーとエイリアスのツールには Users、グループとメンバーには Groups、組織部門には Organization Units、監査と使用状況には Reports、デバイスには Services → Chrome OS と Mobile Device Management、ドメインには Domain Settings が必要です。ロールとロールの割り当てには Super Admin か Roles Management 権限が必要です。一般ユーザーはすべての呼び出しで 403 Not Authorized to access this resource/api になります。作業をカバーする最小のロールを持つ専用の管理者アカウントを使ってください。

スコープ: admin.directory.user、admin.directory.user.security(ログアウト)、admin.directory.group、admin.directory.orgunit、admin.directory.rolemanagement、ChromeOS デバイス、モバイルデバイス、ドメイン、顧客の読み取り専用スコープ、さらに admin.reports.audit.readonly と admin.reports.usage.readonly です。読み取り専用にするには、コネクタの OAuth 設定で最初の 5 つを admin.directory.user.readonly、admin.directory.group.readonly、admin.directory.orgunit.readonly、admin.directory.rolemanagement.readonly に置き換えて admin.directory.user.security を外し、再認可して、作成、更新、追加、割り当て、停止、ログアウト、復元のツールをすべてオフにします。

読み取れるデータ: アカウント自体、そのドメインとドメインエイリアス。組織部門、管理者かどうか、停止状態、2 段階認証プロセス、最終ログイン、エイリアス、役職、部署、上司を含むユーザー。isSuspended=true、orgUnitPath='/Sales'、isEnrolledIn2Sv=false、isAdmin=true、email:anna* などのクエリで検索できます。グループとそのメンバー、あるユーザーが属するグループ、ユーザーが直接またはネストされたグループ経由でメンバーかどうか。組織部門のツリー。管理者ロールとその権限、誰がどのロールを持っているか。管理対象の ChromeOS とモバイルデバイス(status:provisioned、user:[email protected]、sync:..2026-06-01(それ以降未同期)などで検索)。アプリケーションごとの監査ログ(login、admin、drive、token、groups、mobile、meet、gmail、calendar、chrome、saml、user_accounts など)を、ユーザー、期間、login_failure や suspicious_login などのイベントで絞り込めます。アカウント全体とユーザーごとの日次の使用状況(accounts:last_login_time、accounts:used_quota_in_mb、gmail:num_emails_sent など)。

書き込める操作: 初期パスワードと change_password_at_next_login を指定したユーザーの作成、項目、パスワード、組織部門、上司の更新、ユーザーの停止と再開、すべてのウェブとデバイスのセッションからのログアウト、過去 20 日以内に削除したユーザーの復元(Super Admin のみ)、エイリアスの追加(1 ユーザー最大 30 個)。グループの作成と更新、ユーザー、グループ、外部アドレスのメンバー追加、メンバーのロールやメール配信設定の変更。組織部門の作成、名前の変更、移動。アカウント全体または 1 つの組織部門を範囲とする、ユーザーやグループへの管理者ロールの付与(Super Admin を付与できるのは Super Admin だけです)。

インストール時はオフ: google_admin_delete_user、google_admin_delete_group、google_admin_remove_group_member、google_admin_delete_user_alias、google_admin_delete_role_assignment です。元に戻せないため(削除したユーザーは 20 日間だけ復元でき、グループは復元できません)、チームに必要なときに管理者がオンにします。

データ形式: user_key にはプライマリメール、エイリアス、不変の id のいずれかを渡します。ツールのパスでは組織部門を先頭のスラッシュなし(Sales/EMEA)か id:<orgUnitId> で書き、org_unit_path などのユーザー項目ではスラッシュ付き(/Sales/EMEA)で書きます。google_admin_assign_role と google_admin_undelete_user にはメールではなく不変の ID が必要です。google_admin_update_user は送った項目だけを変えますが、organizations、phones、relations などのリストは丸ごと置き換わるため、AI は先にユーザーを読みます。時刻は UTC の RFC 3339 で、lastLoginTime が 1970-01-01T00:00:00.000Z なら一度もログインしていません。ドメインの creationTime はエポックミリ秒です。使用状況レポートの date は太平洋時間の YYYY-MM-DD で、データは 1〜3 日遅れて届きます。日付が新しすぎると PARTIAL_DATA_AVAILABLE や DATA_NOT_AVAILABLE が返るので、1 日前に戻します。

ページングと制限: 一覧系ツールは nextPageToken を返します。AI はそれがなくなるまで page_token を付けて呼び直します。1 ページの上限はユーザー 500 件、グループやメンバー 200 件、ChromeOS デバイス 300 台、モバイルデバイス 100 台、アクティビティやユーザー別使用状況 1,000 行です。監査ログは新しい順で、ほとんどが約 6 か月前までさかのぼれ、イベントの反映には数分から数時間かかります。Google はプロジェクトごと、ユーザーごとに毎分のクエリ数を制限しています。403 quotaExceeded、rateLimitExceeded、または 429 が返ったら、1 分待って再試行します。新しいユーザーやグループが見えるようになるまで数分かかることがあります。

よくあるエラー: 401 は認可の期限切れか取り消しです(同意画面が Testing の間は 7 日ごとに必ず起きます)。もう一度 Authorize with Provider をクリックします。403 Not Authorized to access this resource/api は、サインインしたアカウントが管理者でないか、そのロールにこの領域の Admin API 権限がないことを意味します。403 Request had insufficient authentication scopes は、スコープ変更後に再認可が必要という意味です。403 "Admin SDK API has not been used in project" は API が有効になっていません(手順 1)。404 Resource Not Found: userKey は不明なユーザー、エイリアス、ID です。409 Entity already exists は、メール、エイリアス、メンバーがすでに使われています。400 Invalid Input は多くの場合、メールのドメインがアカウントに属していないか、パスワードが短すぎるか長すぎる(8〜100 文字)ことが原因です。

このコネクタは Gmail や Drive の内容を読まず(Gmail と Google Drive のコネクタが担当)、投稿や参加の可否などのグループ設定(Groups Settings API)を変えず、ライセンスを管理せず、デバイスのブロックやワイプ、退職時のデータ移行も行いません。ユーザーを削除すると、事前に管理コンソールで移行していない限り、そのメールとファイルも削除されます。

ステップ 2 — アダプターをインストール

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

ステップ 3 — Claude にコネクタを追加

サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドで YOUR_SERVER_ID と表示されている箇所に使ってください。

推奨ルート:設定ファイルを触らずに claude.ai web で動作します。

  1. Claude で Customize → Connectors を開きます。
  2. + をクリックし、Add custom connector を選びます。
  3. 名前(例: Google Workspace Admin)とリモート MCP サーバー URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID を入力し、Add をクリックします。
  4. Connect をクリックし、AnythingMCP にサインイン(OAuth)してアクセスを許可します。

下記のすべてのツールがチャットに表示されます。プロンプトを入力し始めてください。

利用可能なツール

ToolWhat it does
google_admin_get_customerRead the Google Workspace account itself: customer id (starts with C), primary domain, organization name and postal address, language…
google_admin_list_domainsList the domains of the Workspace account: the primary domain and every secondary domain, each with verified, isPrimary, creationTime…
google_admin_get_domainRead one domain of the account: whether it is verified and primary, when it was added, and its domain aliases
google_admin_list_domain_aliasesList domain aliases (domains that mirror another domain, so every user also receives mail at user@alias-domain), with their parent domain…
google_admin_list_usersList or search the users of the Workspace account (up to 500 per page): primaryEmail, name, id, orgUnitPath, isAdmin, suspended, archived…
google_admin_get_userRead one user's full admin view: name, primaryEmail, aliases, orgUnitPath, suspended and suspensionReason, isAdmin, isDelegatedAdmin…
google_admin_create_userCreate a user account in Google Workspace
google_admin_update_userChange fields of an existing user; fields left out stay as they are
google_admin_suspend_userSuspend a user: they can no longer sign in and stop receiving mail, but the account, its data and licenses stay
google_admin_unsuspend_userReactivate a suspended user so they can sign in again
google_admin_sign_out_userSign a user out of every web and device session and reset their sign-in cookies, e.g. after a lost laptop or a suspected compromise
google_admin_undelete_userRestore a user deleted in the last 20 days (super admin only)
google_admin_delete_userDelete a user account
google_admin_list_user_aliasesList a user's email aliases (extra addresses that deliver to the same mailbox)
google_admin_add_user_aliasAdd an email alias to a user, e.g. "[email protected]"
google_admin_delete_user_aliasRemove an email alias from a user; mail to that address bounces afterwards
google_admin_list_groupsList or search the groups of the Workspace account (up to 200 per page): email, name, description, directMembersCount, aliases, id
google_admin_list_user_groupsList the groups one user (or one group) is a direct member of
google_admin_get_groupRead one group: email, name, description, aliases, directMembersCount and whether an admin created it
google_admin_create_groupCreate a group (mailing list and access group) with an email on one of the account's domains
google_admin_update_groupChange a group's email, name or description; fields left out stay as they are
google_admin_delete_groupDelete a group with its membership list and archive; access granted through it to Drive files, calendars or apps ends
google_admin_list_group_membersList the members of a group (up to 200 per page): email, role (OWNER, MANAGER, MEMBER), type (USER, GROUP, CUSTOMER, EXTERNAL), status and…
google_admin_get_group_memberRead one member of a group: role, type, status and delivery setting. 404 means the address is not a direct member
google_admin_has_group_memberCheck whether a user is a member of a group, directly or through nested groups
google_admin_add_group_memberAdd a user, another group or an external address to a group. 409 "Member already exists" means it is already in
google_admin_update_group_memberChange a group member's role (OWNER, MANAGER, MEMBER) or their mail delivery setting
google_admin_remove_group_memberRemove a member from a group; access granted through the group ends at once
google_admin_list_org_unitsList organizational units (the tree that settings and policies apply to): name, orgUnitPath, orgUnitId, parentOrgUnitPath, description
google_admin_get_org_unitRead one organizational unit: name, path, id, parent and description
google_admin_create_org_unitCreate an organizational unit under a parent unit, e.g. "EMEA" under "/Sales"
google_admin_update_org_unitRename an organizational unit, change its description or move it under another parent (its users and sub-units move with it)
google_admin_list_rolesList the admin roles of the account, prebuilt (Super Admin, Groups Admin, User Management Admin, Help Desk Admin...) and custom: roleId…
google_admin_get_roleRead one admin role with its full list of privileges (serviceId and privilegeName)
google_admin_list_role_assignmentsList who holds which admin role: roleAssignmentId, roleId, assignedTo (a user or group id), assigneeType, scopeType (CUSTOMER = whole…
google_admin_get_role_assignmentRead one admin role assignment by its id: role, assignee id and type, scope and org unit
google_admin_assign_roleGive a user or group an admin role, for the whole account or one organizational unit. assigned_to is the user's or group's immutable id…
google_admin_delete_role_assignmentTake an admin role away from a user or group by deleting the role assignment
google_admin_list_chromeos_devicesList managed ChromeOS devices (Chromebooks, Chromeboxes, kiosks; up to 300 per page): deviceId, serialNumber, model, status (ACTIVE…
google_admin_get_chromeos_deviceRead one ChromeOS device by its deviceId: hardware, OS and firmware versions, enrolment, last sync and user, network addresses, auto-update…
google_admin_list_mobile_devicesList mobile devices (Android and iOS phones and tablets) that sync with Google Workspace (up to 100 per page): resourceId, email, name…
google_admin_get_mobile_deviceRead one mobile device by its resourceId: owner, model, OS version, status, compromised status, encryption, first and last sync and the…
google_admin_list_activitiesAudit log: who did what and when in one Google Workspace application, newest first (up to 1,000 per page)
google_admin_get_customer_usageAccount-wide usage statistics for one day: active users, licenses, Gmail volume, Drive storage, Meet minutes, 2SV adoption, etc
google_admin_get_user_usagePer-user usage statistics for one day: last login, emails sent and received, Drive storage used, 2SV enrolment, Meet calls, etc. user_key…

プロンプトの例

  • 「2 段階認証プロセスを設定していないユーザーは誰?組織部門ごとにまとめて。」
  • 「Jane Doe 用に [email protected] を /Sales/EMEA に仮パスワードで作成して、[email protected] に追加して。」
  • 「今、管理者ロールを持っているのは誰で、どのロール?」
  • 「過去 7 日間のログイン失敗と不審なログインを見せて。」
  • 「[email protected] を停止して、すべてのセッションからログアウトさせて。」

FAQ

Claude Code は Claude Desktop と同じように動作しますか? はい。両方を https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID に向けてください。

次のステップ

このガイドは役に立ちましたか?

Google Workspace Admin エージェントまで、あとワンクリック。

コネクタをインストールし、キーを貼り付けて、Claude に聞くだけ。7 日間無料、クレジットカード不要。

関連ガイド

コネクタ

MCP 経由で Google Workspace Admin を ChatGPT に接続する方法

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

コネクタ

MCP 経由で Google Workspace Admin を Cursor に接続する方法

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

コネクタ

MCP 経由で Google Workspace Admin を Gemini に接続する方法

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

コネクタ

MCP 経由で Google Workspace Admin を Meta Muse に接続する方法

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

コネクタ

Google Workspace Admin を MCP に:ユーザー、グループ、組織部門、管理者ロール、デバイス、監査ログをあらゆる AI エージェントで

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。

コネクタ

MCP 経由で Google Workspace Admin を Microsoft Copilot に接続する方法

AI エージェントのための Google Workspace 管理:ユーザー(作成、更新、停止、ログアウト)、エイリアス、グループとメンバー、組織部門、管理者ロールと割り当て、ChromeOS とモバイルデバイス、ドメイン、さらに監査ログと使用状況レポート。OAuth2 と管理者アカウントで使う Admin SDK。ユーザー、グループ、メンバー、エイリアス、ロール割り当ての削除はインストール時にオフです。