import { inspect } from 'util'
type Options = {
depth?: number
}
// this utility is used for jest, which overrides console.dir
// and doesn't allow to specify `depth`
export function clog(value, options?: Options) {
const depth = options?.depth ?? 4
console.debug(inspect(value, { depth }))
}
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