Skip to main content
Glama
standard-schema.test.ts461 B
import { test } from "vitest"; import type { StandardSchemaWithJSON } from "../../core/standard-schema.js"; import * as z from "../index.js"; function acceptSchema(schema: StandardSchemaWithJSON) { return schema; } test("Zod Mini schemas are NOT assignable to StandardJSONSchema", () => { const schema = z.string(); // @ts-expect-error const _standard: StandardSchemaWithJSON["~standard"] = schema; // @ts-expect-error acceptSchema(schema); });

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/dylanmarriner/MCP-server'

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