Skip to main content

Accounts Tools

File: mcp_admin_console/tools/accounts.py

Tools for managing accounts, organizations, admin users, and RBAC.

Account Tools

ToolParametersDescription
list_accountssearch, limit, offsetList BYOC accounts. Search by email, name, or ID
list_account_usersaccount_idList members of an account
list_account_cluster_numbers--All accounts with their cluster counts
get_account_info_reportaccount_idDetailed account info report
list_account_paymentsaccounts (comma-separated)Payment methods for accounts
list_mp_customers--Marketplace customers (AWS/GCP/Azure)
list_account_contractsaccount_idContracts for an account
list_account_deductionsaccount_idDeduction configs for an account
list_multi_account_configs--Multi-account configurations
list_registration_block_rules--Registration block rules
list_legacy_cluster_allowed_accounts--Accounts allowed to create classic clusters

Organization Tools

ToolParametersDescription
list_organizationssearch, limit, offsetList orgs, search by name/email
list_org_contractsorg_idContracts for an org
list_org_deductionsorg_idDeduction configs for an org
list_org_discountsorg_idDiscount configs for an org
list_org_contract_discountscontract_idDiscounts for a specific contract

Admin Users and RBAC

ToolParametersDescription
list_admin_users--All admin console users
get_admin_user_info--Current admin user info
list_all_user_roles--All admin user-role assignments
list_rbac_roles--All RBAC roles
list_rbac_privileges--All privilege definitions
get_role_privilegesrole_idPrivileges for a specific role
list_cluster_authzlimit, offsetCluster temporary access records