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
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Max number of channels to return (default 100, max 1000) |
cursor | string | no | Pagination cursor for next page of results |
types | string | no | Comma-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
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the API call succeeded |
channels | array | List of channel objects |
response_metadata | object | Pagination metadata |
error | string | Error code if API call failed |
message | string | Error 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.