Skip to main content
Glama

Telegram MCP Server

テレグラム-MCP

要件

使用法

  1. 依存関係をインストールする
pip3 install uv uv venv source .venv/bin/activate uv sync
  1. .env ファイルを Telegram API ID とハッシュ ( My Telegram ) で編集します。他のユーザーと共有しないでください。
  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を切断して再試行してください

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Telegram メッセージング プラットフォームとのやり取りを可能にする MCP サーバー。ユーザーは未読メッセージを取得したり、エンティティ情報を取得したり、自然言語インターフェースを通じてメッセージを送信したりできます。

  1. 要件
    1. 使用法
      1. 利用可能な機能
        1. よくある問題とその解決方法
          1. ライセンス

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              An MCP server that enables communication with users through Telegram. This server provides a tool to ask questions to users and receive their responses via a Telegram bot.
              Last updated -
              1
              16
              JavaScript
            • A
              security
              A
              license
              A
              quality
              An MCP server that enables posting messages to Discord webhooks, allowing customization of content, username, and avatar URL.
              Last updated -
              1
              0
              JavaScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              A server that enables interaction with Telegram chats directly through MCP-compatible hosts like Claude for Desktop, providing tools to retrieve chats, get messages, and send messages.
              Last updated -
              134
              Python
              Apache 2.0
              • Apple
              • Linux
            • -
              security
              -
              license
              -
              quality
              An MCP-based messaging system that allows AI systems to interact with various messaging platforms through standardized tools for sending text, images, documents, buttons, and alerts.
              Last updated -
              Python

            View all related MCP servers

            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