Skip to main content
Glama

Eureka Labo Task Management MCP Server

by mazemaze
test-api-client.ts940 B
#!/usr/bin/env tsx /** * Test script to verify API client initialization and task listing */ import { getAPIClient } from './src/api/client.js'; async function test() { try { console.log('🔄 Initializing API client...'); const client = getAPIClient(); await client.initialize(); const projectId = client.getProjectId(); console.log(`✅ Connected to project: ${projectId}`); console.log('\n🔄 Fetching tasks...'); const tasks = await client.listTasks({ limit: 5 }); console.log(`✅ Found ${tasks.length} tasks`); if (tasks.length > 0) { console.log('\n📋 Sample tasks:'); tasks.slice(0, 3).forEach((task, i) => { console.log(` ${i + 1}. [${task.status}] ${task.title}`); }); } console.log('\n✅ MCP Server API client is working correctly!'); } catch (error: any) { console.error('❌ Error:', error.message); process.exit(1); } } test();

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/mazemaze/mcp-server'

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