Skip to main content
Glama

Curupira

by drzln
build.tsโ€ข1.26 kB
#!/usr/bin/env tsx /** * Build script for Curupira * Handles building all packages in the correct order */ import { execSync } from 'child_process' import { existsSync, rmSync } from 'fs' import { join } from 'path' const packages = ['shared', 'mcp-server', 'cli'] function clean() { console.log('๐Ÿงน Cleaning build artifacts...') // Clean dist directories for (const pkg of packages) { const distPath = join(pkg, 'dist') if (existsSync(distPath)) { rmSync(distPath, { recursive: true, force: true }) console.log(` โœ“ Cleaned ${pkg}/dist`) } } // Clean tsbuildinfo files execSync('find . -name "*.tsbuildinfo" -type f -delete', { stdio: 'inherit' }) } function build() { console.log('๐Ÿ”จ Building packages...') // Build in dependency order for (const pkg of packages) { console.log(`\n๐Ÿ“ฆ Building ${pkg}...`) execSync(`cd ${pkg} && npm run build`, { stdio: 'inherit' }) console.log(` โœ… ${pkg} built successfully`) } } function main() { const args = process.argv.slice(2) const shouldClean = args.includes('--clean') || args.includes('-c') if (shouldClean) { clean() } build() console.log('\nโœจ Build completed successfully!') } // Run the build main()

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/drzln/curupira'

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