Skip to main content
Glama

Twitch MCP Server

by mtane0412
user.ts656 B
import { ApiClient } from '@twurple/api'; import { formatResponse } from '../../utils/twitch.js'; export async function handleGetUsers(apiClient: ApiClient, args: { userNames: string[] }) { const users = await apiClient.users.getUsersByNames(args.userNames); return formatResponse( users.map(user => ({ id: user.id, name: user.name, displayName: user.displayName, description: user.description, profilePictureUrl: user.profilePictureUrl, offlinePlaceholderUrl: user.offlinePlaceholderUrl, creationDate: user.creationDate, broadcasterType: user.broadcasterType, type: user.type, })) ); }

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/mtane0412/twitch-mcp-server'

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