slack_list_channels

Pack: slack_connect · Endpoint: https://gateway.pipeworx.io/slack_connect/mcp

List channels in the Slack workspace. Returns channel names, IDs, and metadata.

Parameters

NameTypeRequiredDescription
limitnumbernoMax number of channels to return (default 100, max 1000)
cursorstringnoPagination cursor for next page of results
typesstringnoComma-separated channel types: public_channel, private_channel, mpim, im (default “public_channel”)

Example call

Arguments

{
  "limit": 50
}

curl

curl -X POST https://gateway.pipeworx.io/slack_connect/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"slack_list_channels","arguments":{"limit":50}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('slack_list_channels', {
  "limit": 50
});

More examples

{
  "limit": 100,
  "types": "public_channel,private_channel"
}

Response shape

FieldTypeDescription
okbooleanWhether the API call succeeded
channelsarrayList of channel objects
response_metadataobjectPagination metadata
errorstringError code if API call failed
messagestringError message or connection message
Full JSON Schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Whether the API call succeeded"
    },
    "channels": {
      "type": "array",
      "description": "List of channel objects",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Channel ID"
          },
          "name": {
            "type": "string",
            "description": "Channel name"
          },
          "is_channel": {
            "type": "boolean",
            "description": "Whether this is a channel"
          },
          "created": {
            "type": "number",
            "description": "Unix timestamp of channel creation"
          },
          "creator": {
            "type": "string",
            "description": "User ID of channel creator"
          },
          "is_member": {
            "type": "boolean",
            "description": "Whether the bot is a member"
          },
          "is_private": {
            "type": "boolean",
            "description": "Whether the channel is private"
          },
          "is_mpim": {
            "type": "boolean",
            "description": "Whether this is a multi-person IM"
          }
        }
      }
    },
    "response_metadata": {
      "type": "object",
      "description": "Pagination metadata",
      "properties": {
        "next_cursor": {
          "type": "string",
          "description": "Cursor for next page of results"
        }
      }
    },
    "error": {
      "type": "string",
      "description": "Error code if API call failed"
    },
    "message": {
      "type": "string",
      "description": "Error message or connection message"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "slack_connect": {
      "url": "https://gateway.pipeworx.io/slack_connect/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026