Skip to main content
Glama
by microsoft
jsonschema.genai.mjs231 B
script({ model: "small", tests: {} }) const a = { a: 1, b: ["abc", "def"], c: { d: 2, }, } const schema = await JSONSchema.infer(a) if (!schema) throw new Error("Failed to infer schema") console.log(schema)

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/microsoft/genaiscript'

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