Skip to main content
Glama

YCloud WhatsApp API MCP Server

thenElse.ts441 B
import type {CodeKeywordDefinition} from "../../types" import type {KeywordCxt} from "../../compile/validate" import {checkStrictMode} from "../../compile/util" const def: CodeKeywordDefinition = { keyword: ["then", "else"], schemaType: ["object", "boolean"], code({keyword, parentSchema, it}: KeywordCxt) { if (parentSchema.if === undefined) checkStrictMode(it, `"${keyword}" without "if" is ignored`) }, } export default def

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