Skip to main content
Glama
start-with-config.sh822 B
#!/bin/sh set -e # Determine which config file to use based on ENV variable ENV_TYPE="${ENV:-dev}" echo "Starting Umbrella MCP Server..." echo "Environment: $ENV_TYPE" # Copy the appropriate config file if [ "$ENV_TYPE" = "prod" ]; then echo "Using production configuration..." cp /app/config.prod.json /app/config.json elif [ "$ENV_TYPE" = "dev" ]; then echo "Using development configuration..." cp /app/config.dev.json /app/config.json else echo "Warning: Unknown environment '$ENV_TYPE', defaulting to dev..." cp /app/config.dev.json /app/config.json fi # Verify config file exists if [ ! -f /app/config.json ]; then echo "Error: config.json not found after environment selection" exit 1 fi echo "Configuration loaded successfully" # Start the application exec npm run start:https

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/daviddraiumbrella/invoice-monitoring'

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