tg-mcp
by MyrikLD
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP bind host | 127.0.0.1 |
| MCP_PATH | No | HTTP endpoint path | /mcp |
| MCP_PORT | No | HTTP port | 8000 |
| MCP_DB_URL | Yes | Async SQLAlchemy URL for Postgres | postgresql+asyncpg://tgmcp:tgmcp@localhost/tgmcp |
| MCP_DB_ECHO | No | Log SQL statements | false |
| MCP_BASE_URL | Yes | Externally reachable base URL (OAuth issuer/audience, login links) | http://127.0.0.1:8000 |
| TELEGRAM_API_ID | Yes | API id from my.telegram.org | |
| TELEGRAM_API_HASH | Yes | API hash from my.telegram.org | |
| MCP_OAUTH_JWT_SECRET | Yes | Signs OAuth access/refresh tokens – change this | |
| MCP_SESSION_ENCRYPTION_KEY | Yes | Fernet key encrypting stored Telegram sessions |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues