We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MantisWare/peepit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
run-local-tests.shโข1.11 kB
#!/bin/bash
# Script to run local-only tests with the test host app
echo "๐งช Running PeepIt Local Tests"
echo "================================"
echo ""
echo "These tests require:"
echo " - Screen Recording permission"
echo " - Accessibility permission (optional)"
echo " - User interaction may be required"
echo ""
# Set environment variable to enable local tests
export RUN_LOCAL_TESTS=true
# Build the test host first
echo "๐ฆ Building test host app..."
cd TestHost
swift build -c debug
if [ $? -ne 0 ]; then
echo "โ Failed to build test host"
exit 1
fi
cd ..
echo "โ Test host built successfully"
echo ""
# Run tests with local-only tag
echo "๐ Running local-only tests..."
swift test --filter "localOnly"
# Also run screenshot tests
echo ""
echo "๐ธ Running screenshot tests..."
swift test --filter "screenshot"
# Run permission tests
echo ""
echo "๐ Running permission tests..."
swift test --filter "permissions"
echo ""
echo "โจ Local tests completed!"
echo ""
echo "Note: If any tests failed due to permissions, please grant the required permissions and run again."