We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/soenkenils/mailbox-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
format-check.sh•883 B
#!/bin/bash
# Automatic code formatting and linting after file changes
cd "$CLAUDE_PROJECT_DIR" || exit 1
echo "🔍 Running code quality checks..."
# Run biome linting only and show clean output
LINT_OUTPUT=$(bun run lint 2>&1)
if echo "$LINT_OUTPUT" | grep -q "Linting.*files"; then
LINTED_LINE=$(echo "$LINT_OUTPUT" | grep "Linting.*files" | head -1)
echo "✅ $LINTED_LINE"
elif echo "$LINT_OUTPUT" | grep -q "Found.*error"; then
ERRORS=$(echo "$LINT_OUTPUT" | grep "Found.*error" | head -1)
echo "❌ $ERRORS"
else
echo "✅ No linting issues found"
fi
# Run biome formatting only and show clean output
CHECK_OUTPUT=$(bun run format 2>&1)
if echo "$CHECK_OUTPUT" | grep -q "Formatted.*files"; then
FORMATTED_LINE=$(echo "$CHECK_OUTPUT" | grep "Formatted.*files" | head -1)
echo "✅ $FORMATTED_LINE"
else
echo "✅ Code already formatted"
fi