Skip to main content
Glama

YCloud WhatsApp API MCP Server

maybe.ts495 B
import next from "./next.js"; type MaybeParams<T> = (err: Error | any | null, result?: T) => void; export default function maybe<T>(cb: MaybeParams<T> | undefined, promise: Promise<T>): Promise<T> | void { if (cb) { promise.then( function (result) { next(function () { cb(null, result); }); }, function (err) { next(function () { cb(err); }); }, ); return undefined; } else { return promise; } }

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/YCloud-Developers/ycloud-whatsapp-mcp-server'

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