#!/bin/bash
# Script to run all MCP tests
echo "๐งช MCP Task Server Test Suite"
echo "=============================="
echo ""
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Move to the parent directory (project root)
cd "$SCRIPT_DIR/.."
# Build the project first
echo "๐ฆ Building project..."
npm run build
if [ $? -ne 0 ]; then
echo "โ Build failed!"
exit 1
fi
echo "โ Build successful"
echo ""
# Array of test scripts
tests=(
"mcp-test-simple.js"
"mcp-test-with-files.js"
"mcp-test-multiple-tasks.js"
"mcp-test-cancel.js"
"mcp-test-errors.js"
"mcp-test-check-after.js"
)
# Run each test
for test in "${tests[@]}"; do
echo ""
echo "๐ Running: $test"
echo "----------------------------------------"
node test/$test
if [ $? -ne 0 ]; then
echo "โ Test failed: $test"
else
echo "โ Test passed: $test"
fi
echo ""
echo "=========================================="
# Small delay between tests
sleep 2
done
echo ""
echo "๐ All tests completed!"
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/just-every/mcp-task'
If you have feedback or need assistance with the MCP directory API, please join our Discord server