#!/usr/bin/env bash
set -x
# Initialize default source directories
default_src="."
# Initialize SRC as an empty string
SRC=""
# If no source directories were provided, use the default
if [ -z "$SRC" ]; then
SRC="$default_src"
fi
# autoflake replacement: removes unused imports and variables
ruff check $SRC --select F401,F841 --fix --exclude "__init__.py" --isolated
# sorts imports
ruff check $SRC --select I --fix --ignore D
ruff format $SRC
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/zenml-io/mcp-zenml'
If you have feedback or need assistance with the MCP directory API, please join our Discord server