Skip to main content
Glama
smithery.config.js826 B
/** * Smithery Build Configuration * * This configuration file optimizes the build process for Smithery deployment. * It handles external dependencies and build options for the MCP server. * * @see https://smithery.ai/docs/build/deployments/typescript */ export default { esbuild: { // Externalize packages that should be loaded at runtime external: [ // MCP SDK - loaded at runtime via require() to avoid ESM bundling issues "@modelcontextprotocol/sdk", "@modelcontextprotocol/sdk/server/mcp.js", // Native binary modules "fsevents", "bufferutil", "utf-8-validate", "better-sqlite3", "node-record-lpcm16", ], // Enable minification for smaller bundle minify: true, // Target Node.js 18+ target: "node18", }, };

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/jango-blockchained/advanced-homeassistant-mcp'

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