Skip to main content
Glama
by yun8711
tsup.config.ts717 B
import { defineConfig } from 'tsup' export default defineConfig({ entry: [ './src/index.ts', './src/stdio.ts', './src/tools/**/*.ts', ], external:['./src/types/', './src/data/'], format: ['esm'], clean: true, splitting: true, // 启用代码分割 treeshake: true, // 启用 tree shaking target: 'es2022', minify: false, platform: 'node', // 保留目录结构的关键配置 bundle: false, // 不打包成单个文件,保持模块化 esbuildOptions(options) { options.charset = 'utf8' // 添加这行来保留中文字符 options.define = { 'process.env.VERSION': `"${require('./package.json').version}"`, 'process.env.IS_BUILD': "true" } } })

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/yun8711/element-ui-mcp'

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