We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sgx-labs/statelessagent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
same•832 B
#\!/bin/sh
# SAME — npm wrapper shim
# Delegates to the downloaded Go binary. If missing, triggers install.
set -e
# Resolve symlinks (npx creates symlinks from temp cache)
SOURCE="$0"
while [ -L "$SOURCE" ]; do
DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
SOURCE="$(readlink "$SOURCE")"
# Handle relative symlinks
case "$SOURCE" in /*) ;; *) SOURCE="$DIR/$SOURCE" ;; esac
done
DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
BINARY="$DIR/same-binary"
if [ ! -x "$BINARY" ]; then
echo "[same] Binary not found, downloading..." >&2
node "$DIR/../lib/install.js"
if [ ! -x "$BINARY" ]; then
echo "[same] Failed to download binary. Please check your network connection." >&2
echo "[same] You can also install manually: https://github.com/sgx-labs/statelessagent/releases" >&2
exit 1
fi
fi
exec "$BINARY" "$@"