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.
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
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
n24q02m-telegram 4.23.0
{
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"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
{
"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
{
"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
{
"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.