Better Telegram MCP Server
by n24q02mio.github.n24q02m/better-telegram-mcpv4.22.0
Telegram for AI agents: messages, chats, media, and contacts in bot and user-account modes.
context tax
queued
security
queued
cold start
queued
freshness
Abandoned27d ago
Install Better Telegram MCP server
Install in Claude Code
claude mcp add better-telegram -e TELEGRAM_BOT_TOKEN='<telegram-bot-token>' -e TELEGRAM_API_HASH='<telegram-api-hash>' -- uvx better-telegram-mcpInstall in Cursor
{
"mcpServers": {
"better-telegram": {
"command": "uvx",
"args": [
"better-telegram-mcp"
],
"env": {
"TELEGRAM_BOT_TOKEN": "<telegram-bot-token>",
"TELEGRAM_API_HASH": "<telegram-api-hash>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"better-telegram": {
"command": "uvx",
"args": [
"better-telegram-mcp"
],
"env": {
"TELEGRAM_BOT_TOKEN": "<telegram-bot-token>",
"TELEGRAM_API_HASH": "<telegram-api-hash>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"better-telegram": {
"type": "stdio",
"command": "uvx",
"args": [
"better-telegram-mcp"
],
"env": {
"TELEGRAM_BOT_TOKEN": "<telegram-bot-token>",
"TELEGRAM_API_HASH": "<telegram-api-hash>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"better-telegram": {
"command": "uvx",
"args": [
"better-telegram-mcp"
],
"env": {
"TELEGRAM_BOT_TOKEN": "<telegram-bot-token>",
"TELEGRAM_API_HASH": "<telegram-api-hash>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TELEGRAM_BOT_TOKEN | — | yes | Telegram bot token from @BotFather (for bot mode) |
| TELEGRAM_API_ID | — | — | Telegram API ID from my.telegram.org (for user mode) |
| TELEGRAM_API_HASH | — | yes | Telegram API hash from my.telegram.org (for user mode) |
Freshness
Abandoned — last maintenance signal 27d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-13 · 27d ago · GitHub
Latest release
2026-09-13 · 27d ago · GitHub · v4.22.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-13 · 27d ago · official registry · v4.22.0
FAQ
›How do I install the Better Telegram MCP server in Claude Code?
Run: claude mcp add better-telegram -e TELEGRAM_BOT_TOKEN='<telegram-bot-token>' -e TELEGRAM_API_HASH='<telegram-api-hash>' -- uvx better-telegram-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Better Telegram require an API key?
Yes. It expects TELEGRAM_BOT_TOKEN, TELEGRAM_API_HASH, of which 2 are secrets.
›Can I use Better Telegram as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Better Telegram in the official MCP registry?
Yes, as io.github.n24q02m/better-telegram-mcp.
Alternatives to Better Telegram
Other communication MCP servers.