Skip to main content
Glama

feuse-mcp

by Panzer-Jack
tsup.config.ts1.13 kB
import { TsconfigPathsPlugin } from '@esbuild-plugins/tsconfig-paths' import { defineConfig } from 'tsup' import { readFileSync } from 'node:fs' import pkg from './package.json' const textFilePlugin = { name: 'text-file-loader', setup(build: any) { // 处理 XML 文件 build.onLoad({ filter: /\.xml$/ }, async (args: any) => { const content = readFileSync(args.path, 'utf8') return { contents: `export default ${JSON.stringify(content)}`, loader: 'js', } }) // 处理 MD 文件 build.onLoad({ filter: /\.md$/ }, async (args: any) => { const content = readFileSync(args.path, 'utf8') return { contents: `export default ${JSON.stringify(content)}`, loader: 'js', } }) }, } export default defineConfig({ entry: ['src/main.ts'], format: ['cjs'], outDir: 'dist', treeshake: true, clean: true, sourcemap: false, noExternal: [ ...Object.keys(pkg.dependencies || {}), ], external: ['@valibot/to-json-schema'], esbuildPlugins: [ TsconfigPathsPlugin({ tsconfig: './tsconfig.json' }), textFilePlugin, ], })

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/Panzer-Jack/feuse-mcp'

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