Skip to main content
Glama
object.ts192 B
export function stripUndefined<T extends Record<any, any>>(obj: T): Partial<T> { return Object.fromEntries( Object.entries(obj).filter(([_, v]) => v !== undefined), ) as Partial<T>; }

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/gleanwork/mcp-server'

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