Koskamo

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.

tdl-mcp logo, by rixile9999Community listingLocal stdioSource reviewed; not executedPublished by rixile9999
Vendor documentation

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

Community listingRegistry 1.1.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

tdl-mcp 1.1.0

npm
tdl-mcp package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "tdl-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tdl-mcp@1.1.0"
      ],
      "env": {
        "TDL_BIN": "<YOUR_TDL_BIN>",
        "TDL_NS": "<YOUR_TDL_NS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.