Skip to main content
Glama
by paypal
tsup.config.ts998 B
import { defineConfig } from 'tsup'; export default defineConfig([{ // Define multiple entry points entry: ["src/ai-sdk/index.ts"], outDir: "ai-sdk", format: ["cjs", "esm"], // Output both CommonJS and ESM dts: true, clean: true, // Clean dist before building bundle: true, // Bundle dependencies; splitting: false, // Prevent code splitting for simplicity minify: true, // Minify output files }, { entry: ['src/modelcontextprotocol/index.ts'], outDir: "mcp", clean: true, dts: true, format: ['cjs', 'esm'], sourcemap: true, target: 'node18', }, { entry: ['src/langchain/index.ts'], outDir: "langchain", dts: true, format: ['cjs', 'esm'], sourcemap: true, }, { entry: ['src/openai/index.ts'], outDir: "openai", dts: true, format: ['cjs', 'esm'], sourcemap: true, }, { entry: ['src/bedrock/index.ts'], outDir: "bedrock", dts: true, format: ['cjs', 'esm'], sourcemap: true, } ]);

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/paypal/agent-toolkit'

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