Skip to main content
Glama
cli.js463 B
export function parseArgs() { const args = process.argv.slice(2); const options = {}; for (let i = 0; i < args.length; i++) { switch (args[i]) { case '--port': if (i + 1 < args.length) { options.port = parseInt(args[++i], 10); } break; case '--stdio': options.stdio = true; break; } } return options; }

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/michaelwaves/notion-mcp'

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