Skip to main content
Glama

list_channels

View all connected streaming platforms and their current status to manage your multi-platform broadcast setup.

Instructions

List all connected streaming channels/platforms (YouTube, Twitch, Facebook, etc.) with their connection status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'list_channels' that invokes restreamClient.getChannels() and formats the result as a text response.
    case 'list_channels': { const channels = await restreamClient.getChannels(); return { content: [ { type: 'text', text: JSON.stringify(channels, null, 2), }, ], }; }
  • src/index.ts:52-59 (registration)
    Tool registration definition including name, description, and input schema (empty object).
    name: 'list_channels', description: 'List all connected streaming channels/platforms (YouTube, Twitch, Facebook, etc.) with their connection status', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • Core implementation of channel listing via GET request to Restream API '/user/channels' endpoint.
    async getChannels(): Promise<Channel[]> { try { const response = await this.axiosInstance.get<{ channels: Channel[] }>('/user/channels'); return response.data.channels || []; } catch (error) { throw this.handleError(error, 'Failed to fetch channels'); } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shaktech786/restream-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server