Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

setup-pre-commit.sh930 B
#!/bin/bash echo "Setting up pre-commit hooks..." # Check if pre-commit is installed if ! command -v pre-commit &> /dev/null; then echo "Installing pre-commit..." if command -v pip3 &> /dev/null; then pip3 install pre-commit elif command -v pip &> /dev/null; then pip install pre-commit else echo "Error: pip not found. Please install Python and pip first." exit 1 fi fi # Install the pre-commit hooks pre-commit install pre-commit install --hook-type commit-msg echo "✓ Pre-commit hooks installed successfully!" echo "" echo "Pre-commit will now run automatically before each commit to check for:" echo " - Secrets and credentials (TruffleHog)" echo " - Code formatting issues" echo " - JSON/YAML syntax errors" echo " - Large files" echo " - Direct commits to main branch" echo "" echo "To run pre-commit manually on all files:" echo " pre-commit run --all-files"

Latest Blog Posts

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/isiahw1/mcp-server-bing-webmaster'

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