Telegram MCP Server
io.github.tolboy/telegram-mcp-tdlib
MCP server Not tested
Local-first TDLib Telegram MCP server with 127 tools, account isolation and production guardrails.
Technical sheet
- Author
- tolboy (registry namespace)
- Repository
- github.com/tolboy/telegram-mcp-tdlib
- Site
- —
- Version
- 1.21.0
- Transport
- stdio
- Authentication
- Key or token (declared in the registry)
- Packages
- ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio oci stdio
- Tools
- —
- Categories
- Messaging and communication
- Last updated
- 20 Nov 2026
- Published
- 20 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 2 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: no successful test not yet
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.tolboy/telegram-mcp-tdlib)<a href="https://latlas.dev/en/mcp/io.github.tolboy/telegram-mcp-tdlib"><img src="https://latlas.dev/badge/statut/mcp/io.github.tolboy/telegram-mcp-tdlib.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.
[](https://latlas.dev/en/mcp/io.github.tolboy/telegram-mcp-tdlib)<a href="https://latlas.dev/en/mcp/io.github.tolboy/telegram-mcp-tdlib"><img src="https://latlas.dev/badge/fiche/io.github.tolboy/telegram-mcp-tdlib.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
No remote address published: this server runs locally, so we do not test it.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport not listed | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Local launch of package ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio (OCI). Formats taken from each client’s documentation.
claude mcp add-json telegram-mcp-tdlib '{"command":"docker","args":["run","-i","--rm","-e","TDLIB_API_ID","-e","TDLIB_API_HASH","-e","TDLIB_PHONE_NUMBER","-e","TDLIB_AUTH_CODE","-e","TDLIB_2FA_PASSWORD","-e","MCP_READ_ONLY","-e","MCP_TOOL_PROFILE","ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio"]}'{
"mcpServers": {
"telegram-mcp-tdlib": {
"command": "docker",
"args": ["run","-i","--rm","-e","TDLIB_API_ID","-e","TDLIB_API_HASH","-e","TDLIB_PHONE_NUMBER","-e","TDLIB_AUTH_CODE","-e","TDLIB_2FA_PASSWORD","-e","MCP_READ_ONLY","-e","MCP_TOOL_PROFILE","ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio"]
}
}
}{
"mcpServers": {
"telegram-mcp-tdlib": {
"type": "stdio",
"command": "docker",
"args": ["run","-i","--rm","-e","TDLIB_API_ID","-e","TDLIB_API_HASH","-e","TDLIB_PHONE_NUMBER","-e","TDLIB_AUTH_CODE","-e","TDLIB_2FA_PASSWORD","-e","MCP_READ_ONLY","-e","MCP_TOOL_PROFILE","ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio"]
}
}
}{
"mcpServers": {
"telegram-mcp-tdlib": {
"type": "stdio",
"command": "docker",
"args": ["run","-i","--rm","-e","TDLIB_API_ID","-e","TDLIB_API_HASH","-e","TDLIB_PHONE_NUMBER","-e","TDLIB_AUTH_CODE","-e","TDLIB_2FA_PASSWORD","-e","MCP_READ_ONLY","-e","MCP_TOOL_PROFILE","ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"telegram-mcp-tdlib": {
"command": "docker",
"args": ["run","-i","--rm","-e","TDLIB_API_ID","-e","TDLIB_API_HASH","-e","TDLIB_PHONE_NUMBER","-e","TDLIB_AUTH_CODE","-e","TDLIB_2FA_PASSWORD","-e","MCP_READ_ONLY","-e","MCP_TOOL_PROFILE","ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio"]
}
}
}{
"mcpServers": {
"telegram-mcp-tdlib": {
"command": "docker",
"args": ["run","-i","--rm","-e","TDLIB_API_ID","-e","TDLIB_API_HASH","-e","TDLIB_PHONE_NUMBER","-e","TDLIB_AUTH_CODE","-e","TDLIB_2FA_PASSWORD","-e","MCP_READ_ONLY","-e","MCP_TOOL_PROFILE","ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio"]
}
}
}[mcp_servers.telegram-mcp-tdlib]
command = "docker"
args = ["run","-i","--rm","-e","TDLIB_API_ID","-e","TDLIB_API_HASH","-e","TDLIB_PHONE_NUMBER","-e","TDLIB_AUTH_CODE","-e","TDLIB_2FA_PASSWORD","-e","MCP_READ_ONLY","-e","MCP_TOOL_PROFILE","ghcr.io/tolboy/telegram-mcp-tdlib:1.21.0-stdio"]Declared environment variables
| Name | Required | Description |
|---|---|---|
| TDLIB_API_ID | yes | Telegram API ID from my.telegram.org |
| TDLIB_API_HASH | yes (secret) | Telegram API hash from my.telegram.org |
| TDLIB_PHONE_NUMBER | no (secret) | Telegram phone number; omit after preparing a persisted session when using QR authentication |
| TDLIB_AUTH_CODE | no (secret) | One-time Telegram login code for a fresh headless container |
| TDLIB_2FA_PASSWORD | no (secret) | Telegram 2FA password when the account requires it |
| MCP_READ_ONLY | no | Keep true for safe first use |
| MCP_TOOL_PROFILE | no | Tool surface: reader, inbox, community-admin, research, or all |
Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
[Telegram MCP Server — L’Atlas](https://latlas.dev/en/mcp/io.github.tolboy/telegram-mcp-tdlib)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.