Skip to main content
Glama

Physics MCP Server

by BlinkZer0
pre-commitβ€’1.06 kB
#!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" echo "πŸ” Running pre-commit checks..." # TypeScript linting and type checking echo "πŸ“ Linting TypeScript..." pnpm lint if [ $? -ne 0 ]; then echo "❌ TypeScript linting failed" exit 1 fi echo "πŸ” Type checking TypeScript..." pnpm typecheck if [ $? -ne 0 ]; then echo "❌ TypeScript type checking failed" exit 1 fi # Python linting and type checking echo "🐍 Checking Python code..." cd packages/python-worker if [ -f "requirements.txt" ]; then # Check if ruff is available if command -v ruff >/dev/null 2>&1; then echo "πŸ“ Linting Python with ruff..." ruff check src/ if [ $? -ne 0 ]; then echo "❌ Python linting failed" exit 1 fi fi # Check if mypy is available if command -v mypy >/dev/null 2>&1; then echo "πŸ” Type checking Python with mypy..." mypy src/ --ignore-missing-imports if [ $? -ne 0 ]; then echo "❌ Python type checking failed" exit 1 fi fi fi cd ../.. echo "βœ… All pre-commit checks passed!"

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/BlinkZer0/Phys-MCP'

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