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 |
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 | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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