Skip to main content
Glama
tsup.config.tsβ€’704 B
import { defineConfig } from 'tsup'; export default defineConfig({ entry: ['src/index-stdio.ts', 'src/index.ts'], format: ['esm'], dts: true, clean: true, platform: 'node', target: 'node20', shims: false, banner: { js: `import { createRequire } from 'module'; const require = createRequire(import.meta.url);`, }, noExternal: [], external: [ '@modelcontextprotocol/sdk', 'express', 'zod', 'fs', 'path', 'child_process', 'util', 'crypto', 'stream', 'http', 'https', 'events', 'os', 'url', 'querystring', 'buffer' ], esbuildOptions(options) { options.platform = 'node'; options.target = 'node20'; } });

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/flight505/MCP_DinCoder'

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