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