Skip to main content
Glama
test-task-management.js1.95 kB
#!/usr/bin/env node // Test script for AI-powered task management tools import { exec } from 'child_process'; import { promisify } from 'util'; const execAsync = promisify(exec); async function testTaskManagement() { console.log('🧪 Testing AI-Powered Task Management Tools for Issue #24\n'); const token = process.env.GITHUB_TOKEN || 'test_token'; const owner = process.env.GITHUB_OWNER || 'Faresabdelghany'; const repo = process.env.GITHUB_REPO || 'github-project-manager-mcp'; console.log(`Repository: ${owner}/${repo}`); console.log(`Token: ${token ? 'Set' : 'Not Set'}\n`); // Start the server in background console.log('🚀 Starting MCP server...'); try { const { stdout, stderr } = await execAsync(`node build/index.js`, { env: { ...process.env, GITHUB_TOKEN: token, GITHUB_OWNER: owner, GITHUB_REPO: repo }, timeout: 3000, cwd: process.cwd() }); console.log('Server Output:', stdout); console.log('✅ Server started successfully'); } catch (error) { if (error.signal === 'SIGTERM' || error.killed) { console.log('✅ Server started successfully (terminated by timeout)'); if (error.stderr) { console.log('Server Status:', error.stderr); } } else { console.log('❌ Server failed:', error.message); } } console.log('\n📊 Issue #24 Implementation Status:'); console.log('✅ get_next_task - AI-powered task recommendations'); console.log('✅ analyze_task_complexity - Detailed complexity analysis'); console.log('✅ expand_task - Task breakdown functionality'); console.log('\n🎯 All AI-powered task management tools implemented successfully!'); } testTaskManagement().catch(console.error);

Latest Blog Posts

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/Faresabdelghany/github-project-manager-mcp'

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