We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Eureka-Labo/eurekalabo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/usr/bin/env node
/**
* Entry point for EurekaClaude CLI
* Runs the compiled TypeScript or falls back to tsx
*/
import { fileURLToPath, pathToFileURL } from 'url';
import { dirname, join } from 'path';
import { existsSync } from 'fs';
import { spawn } from 'child_process';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const distIndex = join(__dirname, '../dist/index.js');
const srcIndex = join(__dirname, '../src/index.ts');
// Try to run from dist first, fall back to tsx
if (existsSync(distIndex)) {
// Production: import compiled JS
// Convert Windows path to file:// URL for ESM compatibility
await import(pathToFileURL(distIndex).href);
} else if (existsSync(srcIndex)) {
// Development: use tsx
const tsx = spawn('npx', ['tsx', srcIndex, ...process.argv.slice(2)], {
stdio: 'inherit',
shell: true
});
tsx.on('exit', (code) => {
process.exit(code || 0);
});
} else {
console.error('Error: Cannot find CLI entry point');
console.error(' Expected: ' + distIndex);
console.error(' Or: ' + srcIndex);
process.exit(1);
}