We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
docker-entrypoint.sh•472 B
#!/bin/sh
set -o pipefail
# Check if SI_FUNCTION is set
if [ -z "$SI_FUNCTION" ]; then
echo "Error: Required environment variable SI_FUNCTION is not set."
exit 1
fi
# Directory containing Python functions
DIR="/functions"
# Check if the specified function file exists
if [ ! -f "$DIR/$SI_FUNCTION.py" ]; then
echo "Error: Python function $SI_FUNCTION not found in $DIR."
exit 1
fi
# Execute the specified Python function
python3 "$DIR/$SI_FUNCTION.py"