Koskamo

Telegram MCP

An open-source MCP server enabling AI agents to interact with Telegram via Bot API or MTProto user accounts. It supports sending messages, managing chats, handling media, and accessing contacts. The server offers dual-mode operation, local CLI authentication, and security features like SSRF protection and prompt-injection boundary tags.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Telegram MCP logo, by n24q02mCommunity listingLocal stdioSource reviewed; not executedPublished by n24q02m
You need:set TELEGRAM_BOT_TOKEN in the client configsign in interactively with your phone numbersave it once: telegram auth --bot-token 123456:ABC-DEF
Vendor documentation

What you can do with it

  • Send messages to Telegram chats
  • Manage chat groups and channels
  • Handle media uploads and downloads
  • Access user contacts

Source and maintenance

Community listingRegistry 4.23.0
Maintenance checked

Packages and installation

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

n24q02m-telegram 4.23.0

pypiuvx
n24q02m-telegram package definition
{
  "version": "4.23.0",
  "transport": "stdio",
  "identifier": "n24q02m-telegram",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "TELEGRAM_BOT_TOKEN",
      "description": "Telegram bot token from @BotFather (for bot mode)"
    },
    {
      "name": "TELEGRAM_API_ID",
      "description": "Telegram API ID from my.telegram.org (for user mode)"
    },
    {
      "name": "TELEGRAM_API_HASH",
      "description": "Telegram API hash from my.telegram.org (for user mode)"
    }
  ]
}

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": {
    "telegram-mcp-n24q02m-telegram": {
      "command": "uvx",
      "args": [
        "n24q02m-telegram==4.23.0"
      ],
      "env": {
        "TELEGRAM_BOT_TOKEN": "<YOUR_TELEGRAM_BOT_TOKEN>",
        "TELEGRAM_API_ID": "<YOUR_TELEGRAM_API_ID>",
        "TELEGRAM_API_HASH": "<YOUR_TELEGRAM_API_HASH>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "telegram-mcp-n24q02m-telegram": {
      "command": "uvx",
      "args": [
        "n24q02m-telegram==4.23.0"
      ],
      "env": {
        "TELEGRAM_BOT_TOKEN": "<YOUR_TELEGRAM_BOT_TOKEN>",
        "TELEGRAM_API_ID": "<YOUR_TELEGRAM_API_ID>",
        "TELEGRAM_API_HASH": "<YOUR_TELEGRAM_API_HASH>"
      }
    }
  }
}

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": {
    "telegram-mcp-n24q02m-telegram": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "n24q02m-telegram==4.23.0"
      ],
      "env": {
        "TELEGRAM_BOT_TOKEN": "<YOUR_TELEGRAM_BOT_TOKEN>",
        "TELEGRAM_API_ID": "<YOUR_TELEGRAM_API_ID>",
        "TELEGRAM_API_HASH": "<YOUR_TELEGRAM_API_HASH>"
      }
    }
  }
}

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": {
    "telegram-mcp-n24q02m-telegram": {
      "command": "uvx",
      "args": [
        "n24q02m-telegram==4.23.0"
      ],
      "env": {
        "TELEGRAM_BOT_TOKEN": "<YOUR_TELEGRAM_BOT_TOKEN>",
        "TELEGRAM_API_ID": "<YOUR_TELEGRAM_API_ID>",
        "TELEGRAM_API_HASH": "<YOUR_TELEGRAM_API_HASH>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Telegram MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.