#!/bin/bash
# pre-commit script
protected_branches="$@"
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
for protected_branch in $protected_branches; do
if [ "$branch" = "$protected_branch" ]; then
echo "Direct commits to the '$protected_branch' branch are not allowed."
exit 1
fi
done
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/firebase/genkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server