Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug modefalse
MCP_PORTNoMCP server port number8001
LOG_LEVELNoLogging level (DEBUG, INFO, WARNING, ERROR)INFO
SERVER_HOSTNoServer host address0.0.0.0
SERVER_PORTNoServer port number8000
OPENAI_API_KEYNoYour OpenAI API key for AI features (optional)
TELEGRAM_CHAT_IDNoThe chat ID where messages will be sent (required for simple version)
ANTHROPIC_API_KEYNoYour Anthropic API key for AI features (optional)
TELEGRAM_BOT_TOKENYesYour Telegram Bot API token from @BotFather (required)
TELEGRAM_WEBHOOK_URLNoThe webhook URL for webhook mode (optional, e.g., https://your-domain.com/webhook)

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

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/SmartManoj/Telegram-Bot-MCP'

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