We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/washyu/mcp_python_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
quick-test.shβ’795 B
#!/bin/bash
# Quick test script for local development
set -e
PATTERN="${1:-}"
echo "π Running quick tests..."
# Check if uv is available
if ! command -v uv &> /dev/null; then
echo "β uv is not installed. Please install it first: https://docs.astral.sh/uv/"
exit 1
fi
# Install dependencies if needed
echo "π¦ Installing dependencies..."
uv sync --all-extras
# Run linting quickly
echo "π Running linting..."
uv run ruff check src tests --fix
uv run ruff format src tests
# Run tests
echo "π§ͺ Running tests..."
if [ -n "$PATTERN" ]; then
uv run pytest -v -k "$PATTERN" --tb=short -x
else
# Run core tests only for speed
uv run pytest tests/test_config.py tests/test_error_handling.py tests/test_database.py -v --tb=short -x
fi
echo "β All tests passed!"