Skip to main content
Glama

Model Context Protocol (MCP) Server

by infinyte
index.js1.17 kB
/** * MCP Server Integration Tests * * This suite tests the integration between different components. */ const { execSync } = require('child_process'); const path = require('path'); console.log('=== Running Integration Tests ==='); // Define the test files const testFiles = [ { name: 'MongoDB Integration Test', path: './test-mongodb.js' }, { name: 'Image Services Test', path: './test-image.js' }, { name: 'Tools Discovery Usage Test', path: './test-tools-discovery-usage.js' }, { name: 'Tools Discovery Advanced Filters Test', path: './test-tools-discovery-advanced-filters.js' } ]; // Track overall success let allTestsPassed = true; // Run each test file testFiles.forEach(test => { const testPath = path.join(__dirname, test.path); console.log(`\nRunning ${test.name}...`); try { // Execute the test execSync(`node ${testPath}`, { stdio: 'inherit' }); console.log(`✅ ${test.name} passed`); } catch (error) { console.error(`❌ ${test.name} failed`); allTestsPassed = false; } }); // Exit with appropriate code if (!allTestsPassed) { process.exit(1); } console.log('\n✅ All Integration tests passed');

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

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