Skip to main content
Glama
prem-research

Telegram MCP Server

텔레그램-mcp

요구 사항

Related MCP server: MCP-Communicator-Telegram

용법

  1. 종속성 설치

지엑스피1

  1. 텔레그램 API ID와 해시( 내 텔레그램 )로 .env 파일을 편집하고, 다른 사람과 공유하지 마세요.

  2. http 서버를 시작하세요

uv run http-server/http-server.py

  1. MCP 서버 설치

uv run mcp install mcp-server/mcp-server.py

사용 가능한 기능

MCP 서버는 다음과 같은 기능을 제공합니다.

  • get_unread_entities : 읽지 않은 메시지가 있는 엔티티를 가져옵니다.

  • get_unread_messages(id) : 주어진 엔터티 ID에서 읽지 않은 모든 메시지를 가져옵니다.

  • get_messages(id, count) : 엔티티에서 개수로 제한된 메시지를 가져옵니다.

  • get_entities : 현재 세션의 모든 엔티티를 가져옵니다.

  • get_entity_by_id(id) : 현재 세션에서 엔터티를 가져옵니다.

  • send_message(entity_id, content, reply_to_message_id) : 선택적 마크업과 회신을 사용하여 엔터티에 메시지를 보냅니다.

일반적인 문제 및 해결 방법

  • Claude가 MCP 서버를 실행할 수 없습니다 >> brew로 uv 설치 : brew install uv

  • Telegram에서 새 앱을 만들 수 없습니다 >> VPN 연결을 끊고 다시 시도하세요

특허

MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prem-research/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server