Skip to main content
Glama
build.ts409 B
import { $ } from "bun"; await $`rm -rf dist`; await Bun.build({ entrypoints: ["./src/index.ts"], outdir: "./dist/docker", target: "bun", packages: "external", }); await Bun.build({ banner: "#!/usr/bin/env node", entrypoints: ["./src/index.ts"], outdir: "./dist/npm", target: "node", packages: "external", }); await $`chmod +x dist/docker/index.js`; await $`chmod +x dist/npm/index.js`;

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/koki-develop/esa-mcp-server'

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