Skip to main content
Glama
RhombusSystems

Rhombus MCP Server

Official
clips-tool-api.ts1.33 kB
import { postApi } from "../network.js"; import { ApiPayload } from "../types/clips-tool-types.js"; import schema from "../types/schema.js"; export async function getSavedClips(args: ApiPayload, requestModifiers?: any, sessionId?: string) { return await postApi<schema["Event_GetClipsWithProgressWSResponse"]>({ route: "/event/getClipsWithProgress", body: args, modifiers: requestModifiers, sessionId, }).then(response => { if (response.error) return response; else return ( response.savedClips?.map((clip: any) => ({ ...clip, createdAtTimestamp: clip.createdAtMs ? new Date(clip.createdAtMs).toISOString() : null, })) ?? [] ); }); } export async function getExpiringClips( args: ApiPayload, requestModifiers?: any, sessionId?: string ) { return await postApi<schema["Event_GetClipsWithProgressWSResponse"]>({ route: "/event/getExpiringClipsForOrg", body: args, modifiers: requestModifiers, sessionId, }).then(response => { if (response.error) return response; else return { ...response, savedClips: (response.savedClips || []).map((clip: any) => ({ ...clip, createdAtTimestamp: clip.createdAtMs ? new Date(clip.createdAtMs).toISOString() : null, })), }; }); }

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/RhombusSystems/rhombus-node-mcp'

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