Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_KEYYesAPI key used to authenticate REST and MCP requests via Authorization: Bearer or X-API-Key.
API_DOCSNoSet to true to enable interactive OpenAPI docs at /docs.
DATA_DIRNoDirectory used for the database and media storage, e.g. /data.
TIMEZONENoTimezone used for ISO 8601 times without an explicit offset.
PUBLIC_URLYesPublic https URL of the server, used for OAuth callbacks and media URLs.
MCP_URL_KEYNoOptional long random string enabling an unauthenticated MCP URL at /mcp/<MCP_URL_KEY>.
META_APP_IDNoMeta app ID for Facebook Pages and Instagram integration.
X_CLIENT_IDNoX OAuth 2.0 client ID for X integration.
DATABASE_URLNoOptional PostgreSQL database URL; SQLite is used by default.
MEDIA_MAX_MBNoMaximum size in MB for file uploads.
ENCRYPTION_KEYYesKey used to encrypt platform tokens at rest; token encryption is derived from ENCRYPTION_KEY.
THREADS_APP_IDNoThreads app ID for Threads integration.
META_APP_SECRETNoMeta app secret for Facebook Pages and Instagram integration.
TELEGRAM_NOTIFYNoTelegram notification mode: all, failures, or off.
X_CLIENT_SECRETNoX OAuth 2.0 client secret for X integration.
GOOGLE_CLIENT_IDNoGoogle OAuth client ID for YouTube integration.
TELEGRAM_CHAT_IDNoTelegram chat ID for optional publish notifications.
NATIVE_SCHEDULINGNoSet to false to make the built-in scheduler handle all scheduling instead of native platform scheduling.
TELEGRAM_BOT_TOKENNoTelegram bot token for optional publish notifications.
THREADS_APP_SECRETNoThreads app secret for Threads integration.
FORWARDED_ALLOW_IPSNoTrusted proxy IPs for X-Forwarded-For handling, e.g. 127.0.0.1.
GOOGLE_CLIENT_SECRETNoGoogle OAuth client secret for YouTube integration.
UPLOAD_LINK_MAX_FILESNoMaximum number of files allowed through an upload link.
MEDIA_KEEP_UNUSED_DAYSNoNumber of days to keep media files that no post uses.
UPLOAD_RATE_PER_MINUTENoRate limit per IP and per upload link for upload pages.
MEDIA_DELETE_AFTER_MINUTESNoMinutes after every post using a media file is complete before the file is deleted.
SCHEDULER_INTERVAL_SECONDSNoInterval in seconds for the built-in scheduler.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources