Skip to main content
Glama
tsup.config.ts983 B
import { defineConfig } from "tsup"; export default defineConfig({ entry: ["src/index.ts", "src/bin/flow-mcp.ts"], outDir: "dist", sourcemap: true, clean: true, format: ["esm"], // Ensure you're targeting CommonJS platform: "node", target: "node14", bundle: true, splitting: true, // Add this for better code splitting dts: true, // Generate declaration files loader: { ".cdc": "text", }, external: [ "dotenv", // Externalize dotenv to prevent bundling "fs", // Externalize fs to use Node.js built-in module "path", // Externalize other built-ins if necessary "url", // Externalize url to use Node.js built-in module "https", // Externalize https to use Node.js built-in module "http", // Externalize http to use Node.js built-in module // Add other modules you want to externalize "@onflow/fcl", "@onflow/types", "sha3", "elliptic", "fastmcp", "yargs", "zod", "zod-to-json-schema", ], });

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/Outblock/flow-mcp'

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