Better Telegram MCP
Better Telegram MCP
mcp-name: io.github.n24q02m/better-telegram-mcp
Bot API(httpx)를 통한 빠른 봇 통합과 MTProto(Telethon)를 통한 전체 사용자 계정 액세스를 지원하는 듀얼 모드 Telegram MCP 서버입니다.
기능
듀얼 모드 -- 봇을 위한 Bot API(httpx), 사용자 계정을 위한 MTProto(Telethon)
6개의 도구 (액션 디스패치 포함):
message,chat,media,contact,config,help자동 모드 감지 -- 봇 모드용 봇 토큰 또는 사용자 모드용 API 자격 증명 설정
웹 기반 OTP 인증 -- 헤드리스 환경을 위한 원격 릴레이 지원 및 브라우저 기반 인증
도구 주석 -- 각 도구는
readOnlyHint,destructiveHint,idempotentHint,openWorldHint를 선언함MCP 리소스 --
telegram://docs/*리소스로 문서 제공보안 강화 -- SSRF 보호, 경로 탐색 방지, 오류 메시지 정제
Related MCP server: Telegram MCP Server & Channel Monitor
설정
AI 에이전트 사용 시 -- 다음 내용을 복사하여 AI 에이전트에게 전달하세요:
Please set up better-telegram-mcp for me. Follow this guide: https://raw.githubusercontent.com/n24q02m/better-telegram-mcp/main/docs/setup-with-agent.md
수동 설정 -- docs/setup-manual.md를 따르세요.
도구
도구 | 액션 | 설명 |
|
| 메시지 전송, 수정, 삭제, 전달. 고정, 반응, 검색, 기록 탐색 |
|
| 채팅, 그룹, 채널 목록 및 관리. 멤버, 관리자, 포럼 토픽 |
|
| 사진, 파일, 음성 메모, 동영상 전송. 메시지에서 미디어 다운로드 |
|
| 연락처 목록, 검색, 추가. 사용자 차단/차단 해제 (사용자 모드 전용) |
|
| 서버 상태, 런타임 설정, 캐시, 자격 증명 설정 (릴레이, 상태, 초기화, 완료) |
| -- | 모든 주제에 대한 전체 문서 |
MCP 리소스
URI | 콘텐츠 |
| 메시지 작업 참조 |
| 채팅 관리 참조 |
| 미디어 전송/다운로드 참조 |
| 연락처 관리 참조 |
| 전체 문서 통합 |
보안
SSRF 보호 -- 모든 URL은 내부/사설 IP 대역에 대해 검증되며, DNS 리바인딩 차단됨
경로 탐색 방지 -- 파일 경로 검증 및 민감한 디렉토리 접근 차단
세션 파일 보안 -- 600 권한 설정, 웹 UI를 통한 2FA만 허용 (환경 변수에 절대 저장되지 않음)
오류 정제 -- 오류 메시지에 자격 증명이 절대 노출되지 않음
소스 빌드
git clone https://github.com/n24q02m/better-telegram-mcp.git
cd better-telegram-mcp
uv sync
uv run better-telegram-mcp라이선스
MIT -- LICENSE를 참조하세요.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Hosted Telegram MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Unified messaging MCP server: WhatsApp, Instagram, Telegram, SMS, Messenger & email support inbox
Related MCP Servers
- AlicenseBqualityDmaintenanceFull-featured Telegram Bot API server for MCP (Model Context Protocol). 174 tools covering the entire Bot API — messages, chats, stickers, payments, forums, stories, and more.1007MIT
- AlicenseAqualityDmaintenanceA comprehensive MCP server providing 35 tools for managing Telegram messages, media, and chat interactions via the Bot API. It also features a real-time monitoring system using the Telethon User API to log messages from specific channels.35Apache 2.0
- AlicenseNot gradedqualityBmaintenanceTelegram MTProto-based MCP server with 19 tools for reading, searching, sending, forwarding, and summarizing messages3MIT
- AlicenseNot gradedqualityBmaintenanceDual-plane Telegram MCP server providing read-only analytics and guarded write actions with built-in rate limiting, anti-spam protection, and session management.10MIT