Skip to main content
Glama
by sinch
format-list-all-apps-response.ts510 B
import { Conversation } from '@sinch/sdk-core'; export const formatListAllAppsResponse = (response: Conversation.ListAppsResponse | undefined) => { if (!response || !response.apps) { return { apps: [] }; } return { apps: response.apps?.map(app => ({ id: app.id, display_name: app.display_name, channel_credentials: app.channel_credentials ?.filter(cred => cred.state?.status === 'ACTIVE') .map(cred => ({ channel: cred.channel })) })) }; };

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

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