tdl-mcp
A read-only MCP server that wraps the tdl CLI to allow agents to list Telegram chats, read recent messages, and download media files. It operates without sending messages or modifying data, handling authentication via a one-time QR code login in the terminal.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List available Telegram chats and dialogs
- Read recent messages from specific channels or groups
- Download media files posted in Telegram chats
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
tdl-mcp 1.1.0
{
"version": "1.1.0",
"transport": "stdio",
"identifier": "tdl-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "TDL_BIN",
"description": "Path to the tdl binary (default: tdl on PATH, falling back to /opt/homebrew/bin/tdl)"
},
{
"name": "TDL_NS",
"description": "tdl namespace passed as -n on every call, for separate Telegram accounts/sessions"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"tdl-mcp": {
"command": "npx",
"args": [
"-y",
"tdl-mcp@1.1.0"
],
"env": {
"TDL_BIN": "<YOUR_TDL_BIN>",
"TDL_NS": "<YOUR_TDL_NS>"
}
}
}
}Cline
{
"mcpServers": {
"tdl-mcp": {
"command": "npx",
"args": [
"-y",
"tdl-mcp@1.1.0"
],
"env": {
"TDL_BIN": "<YOUR_TDL_BIN>",
"TDL_NS": "<YOUR_TDL_NS>"
}
}
}
}VS Code
{
"servers": {
"tdl-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tdl-mcp@1.1.0"
],
"env": {
"TDL_BIN": "<YOUR_TDL_BIN>",
"TDL_NS": "<YOUR_TDL_NS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"tdl-mcp": {
"command": "npx",
"args": [
"-y",
"tdl-mcp@1.1.0"
],
"env": {
"TDL_BIN": "<YOUR_TDL_BIN>",
"TDL_NS": "<YOUR_TDL_NS>"
}
}
}
}Let your agent find its tools
Find servers like tdl-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.