We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/portel-dev/ncp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup-env.ts•684 B
// Jest setup file that runs before the test framework initializes
// Ensure photon runtime stays disabled during tests to avoid loading TypeScript Photons
if (!process.env.NCP_ENABLE_PHOTON_RUNTIME) {
process.env.NCP_ENABLE_PHOTON_RUNTIME = 'false';
}
// Disable heavy background initialization during tests to prevent async teardown warnings
if (!process.env.NCP_DISABLE_BACKGROUND_INIT) {
process.env.NCP_DISABLE_BACKGROUND_INIT = 'true';
}
// Disable isolated-vm during Jest runs to avoid platform-specific segfaults
// (Subprocess/worker-thread fallbacks are exercised instead.)
if (!process.env.NCP_DISABLE_ISOLATED_VM) {
process.env.NCP_DISABLE_ISOLATED_VM = 'true';
}