Skip to main content
Glama

APISIX-MCP

by api7
helper.ts348 B
import { z } from "zod"; export const createNullablePatchSchema = <T extends z.ZodRawShape>(schema: z.ZodObject<T>) => { const shape = schema.shape; const nullableShape = Object.fromEntries( Object.entries(shape).map(([key, value]) => [ key, value.nullable() ]) ); return z.object(nullableShape).partial(); };

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/api7/apisix-mcp'

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