Skip to main content
Glama
build.ts506 B
#!/usr/bin/env node import { build } from "esbuild"; async function main() { try { await build({ entryPoints: ["src/index.ts"], bundle: true, platform: "node", target: "node18", format: "esm", outfile: "dist/index.js", sourcemap: true, external: ["@modelcontextprotocol/sdk", "openapi-types"], }); console.log("Build completed successfully"); } catch (error) { console.error("Build failed:", error); process.exit(1); } } main();

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/anyproto/anytype-mcp'

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