/**
* Used for preserving class names for minified class instances
* Useful for error objects and other classes where public name
* actually matters
*
* @param classObject
* @param name
*/
export function setClassName(classObject: Function, name: string) {
Object.defineProperty(classObject, 'name', {
value: name,
configurable: true,
})
}
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/prisma/prisma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server