Skip to main content
Glama
by microsoft
clone.ts402 B
import { deleteEmptyValues } from "./cleaners" /** * Creates a deep clone of the input object and removes any properties with empty values. * * @param o - The object to be cloned and cleaned. * @returns A cleaned, deep-cloned version of the input object with empty values removed. */ export function cleanedClone(o: any) { const c = structuredClone(o) deleteEmptyValues(c) return c }

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