Skip to main content
Glama
zod.compat.test.ts574 B
import { describe, it, expect } from 'vitest'; describe('zod compatibility with MCP SDK', async () => { it('app zod schemas expose _parse expected by SDK (regression for issue #10)', async () => { const appZod = await import('zod'); // Create a schema using our app's zod const schema: any = (appZod as any).string(); // In zod v3, schemas have an internal _parse used by consumers like MCP SDK. // In zod v4, this internal differs, leading to `..._parse is not a function` at runtime. expect(typeof schema._parse).toBe('function'); }); });

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/fryjustinc/ssh-mcp-sessions'

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