We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaewilson07/comfy_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
install-hooks.shโข721 B
#!/usr/bin/env bash
# Install pre-commit hooks for ComfyUI MCP Server
set -e
echo "๐ง Installing pre-commit hooks..."
# Check if pre-commit is installed
if ! command -v pre-commit &> /dev/null; then
echo "โ ๏ธ pre-commit not found. Installing..."
pip install pre-commit
fi
# Install the git hooks
pre-commit install
# Optionally run against all files
read -p "๐ Run hooks against all files now? (y/N) " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
echo "๐ Running pre-commit on all files..."
pre-commit run --all-files
fi
echo "โ Pre-commit hooks installed successfully!"
echo ""
echo "Hooks will now run automatically on git commit."
echo "To run manually: pre-commit run --all-files"