# Supabase Storage MCP Environment Configuration
# Copy this to .env and fill in your actual values
# Required: Your Supabase project URL
# Find this in: Supabase Dashboard → Settings → API → Project URL
SUPABASE_URL=https://your-project-id.supabase.co
# Required: Your Supabase service role key
# Find this in: Supabase Dashboard → Settings → API → service_role key
# ⚠️ KEEP THIS SECRET! Never commit this to version control
SUPABASE_SERVICE_KEY=your-service-role-key-here
# Optional: Environment (development, production, etc.)
NODE_ENV=development
# Optional: Log level for debugging
LOG_LEVEL=info
# Optional: Custom bucket configuration
STORAGE_IMAGES_BUCKET=storage-images
STORAGE_EXPORTS_BUCKET=storage-exports
# Optional: File upload limits
MAX_FILE_SIZE=52428800 # 50MB in bytes
MAX_FILES_PER_BATCH=50
MAX_BATCH_SIZE=524288000 # 500MB in bytes
# Optional: Image processing settings
DEFAULT_THUMBNAIL_SIZE=200
DEFAULT_PREVIEW_WIDTH=800
DEFAULT_PREVIEW_HEIGHT=600
DEFAULT_IMAGE_QUALITY=85
# Optional: URL expiration settings
SIGNED_URL_EXPIRES_IN=3600 # 1 hour in seconds
DOWNLOAD_URL_EXPIRES_IN=1800 # 30 minutes in seconds
# Optional: MCP server configuration
MCP_SERVER_PORT=3000
MCP_SERVER_HOST=localhost
# Example production configuration
# NODE_ENV=production
# LOG_LEVEL=warn
# MAX_FILE_SIZE=104857600 # 100MB for production
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/Desmond-Labs/supabase-storage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server