Skip to main content
Glama
env.ts249 B
export function env(name: string, fallback?: string) { const value = process.env[name] if (!value || value.length === 0) { throw new Error(`Missing env ${name}`) } if (fallback !== undefined) { return fallback } return value }

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/gustavodetoni/mcp-issue'

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