Skip to main content
Glama
bootstrap.ts858 B
//------------------------------------------------------------------------------ // Public Interface //------------------------------------------------------------------------------ export const bootstrap = (_name: string): void | Promise<void> => { const argv = process.argv.slice(2); switch (argv[0]) { case undefined: case '-h': case '--help': // Not needed for our use case console.log('Help not implemented'); return; case '-v': case '--version': // Not needed for our use case console.log('Version not implemented'); return; default: // https://github.com/mysticatea/npm-run-all/issues/105 // Avoid MaxListenersExceededWarnings. process.stdout.setMaxListeners(0); process.stderr.setMaxListeners(0); process.stdin.setMaxListeners(0); return; } };

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/aymericzip/intlayer'

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