Home / Servers / Slack API / team_access_logs

Gets the access logs for the current team.

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

Gets the access logs for the current team. [GET /team.accessLogs]

Name on the gateway: slack_api__team_access_logs · read-only.

Parameters

NameTypeDescription
token requiredstringAuthentication token. Requires scope: admin
beforestringEnd of time range of logs to include in results (inclusive).
countstringcount parameter
pagestringpage parameter

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__team_access_logs",
  "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 gets the access logs for the current team. tool with token set to ….

More from Slack API