We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/keyurgolani/ThoughtMcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
validate-ci-sim.shβ’949 B
#!/bin/bash
# Simulates CI environment by using only git-tracked files
# Requirements: REQ-5
set -e
echo "π¬ Simulating CI environment..."
# Create temporary directory
CI_SIM_DIR=$(mktemp -d)
# Cleanup function to remove temp directory on exit
cleanup() {
echo "π§Ή Cleaning up temporary directory..."
rm -rf "$CI_SIM_DIR"
}
trap cleanup EXIT
echo "π Creating clean checkout in $CI_SIM_DIR..."
# Export only tracked files (simulates fresh CI checkout)
git archive HEAD | tar -x -C "$CI_SIM_DIR"
# Copy package-lock.json if it exists (needed for npm ci)
if [ -f package-lock.json ]; then
cp package-lock.json "$CI_SIM_DIR/"
fi
cd "$CI_SIM_DIR"
echo "π¦ Installing dependencies (npm ci)..."
npm ci --silent
echo "π Running typecheck..."
npm run typecheck
echo "ποΈ Running build:quick..."
npm run build:quick
echo ""
echo "β CI simulation passed!"
echo " All tracked files compile and build successfully."
exit 0