/**
* Checks if the current process is running in an npm lifecycle hook, excluding custom npm scripts.
*/
export function isInNpmLifecycleHook(): boolean {
return process.env.npm_lifecycle_event !== undefined && process.env.npm_command !== 'run-script'
}
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