Home / Servers / Slack API / usergroups_list

List all User Groups for a team

An MCP tool from the Slack API server, hosted on mcp.hjlabs.in.

List all User Groups for a team [GET /usergroups.list]

Name on the gateway: slack_api__usergroups_list · read-only.

Parameters

NameTypeDescription
include_usersbooleanInclude the list of users for each User Group.
token requiredstringAuthentication token. Requires scope: usergroups:read
include_countbooleanInclude the number of users in each User Group.
include_disabledbooleanInclude disabled User Groups.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "slack_api__usergroups_list",
  "arguments": {
    "token": "…"
  }
}

Or connect the Slack API server directly, which lists 174 tools including this one:

Run in your terminal
claude mcp add --transport http hj-slack-api https://mcp.hjlabs.in/mcp/slack-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list all user groups for a team tool with include_users set to ….

More from Slack API