Skip to main content
Glama
prepare.js499 B
#!/usr/bin/env node import { existsSync } from 'fs'; import { spawnSync } from 'child_process'; // Only run build if TypeScript source files exist (development environment) if (existsSync('index.ts')) { console.log('Development environment detected, building...'); const result = spawnSync('npm', ['run', 'build'], { stdio: 'inherit', shell: true }); process.exit(result.status || 0); } else { console.log('Production install, skipping build (using pre-built files)'); process.exit(0); }

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/iclickfreedownloads/mcp-server-airbnb'

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