Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHTTP bind host127.0.0.1
MCP_PATHNoHTTP endpoint path/mcp
MCP_PORTNoHTTP port8000
MCP_DB_URLYesAsync SQLAlchemy URL for Postgrespostgresql+asyncpg://tgmcp:tgmcp@localhost/tgmcp
MCP_DB_ECHONoLog SQL statementsfalse
MCP_BASE_URLYesExternally reachable base URL (OAuth issuer/audience, login links)http://127.0.0.1:8000
TELEGRAM_API_IDYesAPI id from my.telegram.org
TELEGRAM_API_HASHYesAPI hash from my.telegram.org
MCP_OAUTH_JWT_SECRETYesSigns OAuth access/refresh tokens – change this
MCP_SESSION_ENCRYPTION_KEYYesFernet key encrypting stored Telegram sessions

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

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/MyrikLD/tg-mcp'

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