Skip to main content
Glama
entrypoint.sh349 B
#!/bin/sh set -e # Map PaaS-provided PORT to MASTER_HOSTING_PORT if not explicitly set. if [ -n "${PORT}" ] && [ -z "${MASTER_HOSTING_PORT}" ]; then export MASTER_HOSTING_PORT="${PORT}" fi # Default to json logs in production if not set if [ "${NODE_ENV}" = "production" ] && [ -z "${LOG_FORMAT}" ]; then export LOG_FORMAT=json fi exec "$@"

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/Jakedismo/master-mcp-server'

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