PM

prgebish/mcp-telegram

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

4 stars 6 forks 품질 72 트렌드 12MIT

텔레그램을위한 MCP 서버 - 사용자 API (MTProto)를 통해 실제 Telegram 계정에 Claude를 연결

개요

사용자 API (MTProto)를 통해 Claude와 같은 AI 조수를 연결하는 MCP 서버. 봇이 아닙니다. - Claude가 읽고 메시지를 보냅니다. gotd/td 및 공식 MCP Go SDK로 내장. : 이 프로젝트는 Telegram User API를 사용합니다. api id 및 api hash를 my.telegram.org에서 얻고 Telegram API 서비스 약관을 준수해야합니다. 사용자 API (spam, 대량 메시징, 스크랩)의 사용은 금지 된 계정에서 발생할 수 있습니다. 이 도구를 사용하는 방법을 책임집니다.

개요(AI 번역)

Claude와 같은 AI 조수를 연결하는 MCP 서버 real Telegram 계정 을 통해 User API (MTProto). 봇이 아닙니다. - Claude가 읽고 메시지를 보냅니다.

gotd/td 및 공식 MCP Go SDK로 내장.

Telegram API 서비스 약관: 이 프로젝트는 Telegram User API를 사용합니다. 자신의 api_id과 api_hash]를 my.telegram.org에서 얻고 Telegram API 서비스 약관을 준수해야 합니다. 사용자 API (spam, 대량 메시징, 스크랩)의 사용은 금지 된 계정에서 발생할 수 있습니다. 이 도구를 사용하는 방법을 책임집니다.

내용

  • 특징
  • 당신이 그것을 할 수있는 것
  • chaindead/telegram-mcp와 비교하는 방법
  • 빠른 시작
  • 고객 구성
  • 설정 참조
  • 보안

특징

도구 필수 허가
[T2] 반품 현재 계정 정보
tg_dialogs ACL 화이트리스트에 표시된 대화 상자 -
tg_history 질의, 날짜 필터링, 미디어 다운로드 read
tg_search 선택사 필터와 텍스트 쿼리에 의해 채팅 메시지 검색 [T7]

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mcp-telegram

An MCP server that connects AI assistants like Claude to your real Telegram account via the User API (MTProto). Not a bot — Claude reads and sends messages as you.

Built with gotd/td and the official MCP Go SDK.

Telegram API Terms of Service: This project uses the Telegram User API. You must obtain your own api_id and api_hash from my.telegram.org and comply with the Telegram API Terms of Service. Misuse of the User API (spam, bulk messaging, scraping) may result in your account being banned. You are solely responsible for how you use this tool.

Contents


Features

Tool What it does Required permission
tg_me Returns current account info —
tg_dialogs Lists dialogs visible to the ACL whitelist —
tg_history Fetches message history with pagination, date filtering, and media download read
tg_search Searches messages in a chat by text query, with optional sender filter read
tg_send Sends a text message or file, with optional reply-to send
tg_forward Forwards messages from one chat to another read + send
tg_draft Saves a draft message (does not send) draft
tg_mark_read Marks a chat as read mark_read

Additional capabilities:

  • File and photo sending
  • Forward messages between chats
  • Reply to specific messages
  • Download photos and documents from message history
  • Filter history by date range (since / until)
  • Typed peer references (user:ID, chat:ID, channel:ID) to prevent ID collisions
  • Lazy peer resolution — avoids FLOOD_WAIT errors at startup
  • Global rate limiting at the RPC level

What you can do with it

Once connected, you can ask your AI assistant things like:

Catch up on messages

  • “Check my unread Telegram messages and give me a summary”
  • “What did @alice write in the last 24 hours?”
  • “Show me messages from the Dev Team chat since Monday”

Reply and communicate

  • “Draft a response to the last message from @bob — don’t send it yet”
  • “Send ‘sounds good, let’s meet at 3pm’ to @alice”
  • “Reply to message 1234 in the project chat with my feedback”

Manage your inbox

GitHub에서 전체 README 보기

설치

npx @prgebish/mcp-telegram serve --config config.yaml
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "telegram": { "command": "/path/to/mcp-telegram", "args": ["serve", "--config", "/path/to/config.yaml"], "env": { "TG_APP_ID": "12345", "TG_API_HASH": "your_api_hash" } } } }