Skip to main content
Glama

mcp-adr-analysis-server

by tosin2013
pre-pushโ€ข1.46 kB
#!/bin/bash set -e echo "๐Ÿš€ Running pre-push checks..." # Final security check before push echo "๐Ÿ”’ Final security scan..." if command -v gitleaks &> /dev/null; then echo " โ€ข Running comprehensive secret scan..." gitleaks detect --source . --verbose || { echo "โŒ Security scan failed! Cannot push with potential secrets." exit 1 } else echo " โ€ข gitleaks not found, install with: brew install gitleaks" fi # Check for dependency vulnerabilities echo "๐Ÿ›ก๏ธ Checking dependencies for vulnerabilities..." npm audit --audit-level moderate || { echo "โš ๏ธ High/critical vulnerabilities found. Consider running 'npm audit fix'" echo "๐Ÿ“ You can still push, but please address vulnerabilities soon." } # Run node compatibility check if Makefile exists if [ -f "Makefile" ]; then echo "๐Ÿ“ฆ Checking Node.js compatibility..." make node-compat || echo "โš ๏ธ Node compatibility check failed, but continuing" fi # Build check echo "๐Ÿ”จ Final build check..." npm run build || { echo "โŒ Build failed! Cannot push broken build." exit 1 } # Run test suite (allow some failures for performance tests) echo "๐Ÿงช Running test suite..." if npm run test; then echo "โœ… All tests passed!" else echo "โš ๏ธ Some tests failed, but continuing (performance tests have known issues)" echo "๐Ÿ“ Please investigate test failures when possible" fi echo "โœ… Pre-push checks 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/tosin2013/mcp-adr-analysis-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server