Skip to main content
Glama
limitContains.ts485 B
import type {CodeKeywordDefinition} from "../../types" import type {KeywordCxt} from "../../compile/validate" import {checkStrictMode} from "../../compile/util" const def: CodeKeywordDefinition = { keyword: ["maxContains", "minContains"], type: "array", schemaType: "number", code({keyword, parentSchema, it}: KeywordCxt) { if (parentSchema.contains === undefined) { checkStrictMode(it, `"${keyword}" without "contains" 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/Sunil-paudel/mcpserverasof2025updated'

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