Skip to main content
Glama
get_timestamp.sh318 B
#!/usr/bin/env bash # Cross-platform millisecond timestamp if [[ "$OSTYPE" == "darwin"* ]]; then if command -v gdate &>/dev/null; then gdate +%s%3N else echo "On MacOS you need to run 'brew install coreutils' to have gdate in order to capture millisecond timestamps." exit 1 fi else date +%s%3N fi

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/zillow/auto-mobile'

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