Skip to main content
Glama
install-bun.js520 B
#!/usr/bin/env node const { execSync } = require("child_process") try { // Try to get bun version to check if installed execSync("bun --version", { stdio: "ignore" }); console.log("✅ Bun is already installed."); } catch { console.log("⚙️ Bun not found. Installing globally..."); try { execSync("npm install -g bun", { stdio: "inherit" }); console.log("✅ Bun installed successfully."); } catch (err) { console.error("❌ Failed to install Bun:", err.message); process.exit(1); } }

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/activepieces/activepieces'

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