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を切断して再試行してください

ライセンス

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

Install Server
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 provides safe access to your iMessage database through MCP, enabling LLMs to query and analyze iMessage conversations with proper phone number validation and attachment handling
              Last updated -
              65
              Python
              • Apple
            • -
              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 -
              5
              37
              JavaScript
            • -
              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 -
              270
              Python
              Apache 2.0
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A simple MCP server that allows Claude to access your Telegram account to read and send messages on your behalf.
              Last updated -
              6
              Python
              Apache 2.0
              • Apple

            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