Skip to main content
Glama
test-specific-tool.jsโ€ข1.18 kB
#!/usr/bin/env node /** * Jest test runner for specific tools * Usage: node scripts/test-specific-tool.js <tool_name> */ const { spawn } = require('child_process'); const toolName = process.argv[2]; if (!toolName) { console.log(` ๐Ÿงช Jest Tool Test Runner Usage: node scripts/test-specific-tool.js <tool_name> Available Tools: โ€ข get_bug_details โ€ข search_bugs_by_keyword โ€ข search_bugs_by_product_id โ€ข search_bugs_by_product_and_release โ€ข search_bugs_by_product_series_affected โ€ข search_bugs_by_product_series_fixed โ€ข search_bugs_by_product_name_affected โ€ข search_bugs_by_product_name_fixed Examples: node scripts/test-specific-tool.js search_bugs_by_keyword npm run test:jest-tool search_bugs_by_keyword `); process.exit(1); } // Convert tool name to test pattern const testPattern = toolName.replace(/_/g, '.*'); console.log(`๐Ÿงช Running Jest tests for: ${toolName}`); console.log(`๐Ÿ“‹ Test pattern: ${testPattern}`); // Run Jest with the specific test pattern const jest = spawn('npx', ['jest', '--testNamePattern', testPattern], { stdio: 'inherit', shell: true }); jest.on('close', (code) => { process.exit(code); });

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/sieteunoseis/mcp-cisco-support'

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