MCP コミュニケーター(テレグラム)
Telegramを通じてユーザーとのコミュニケーションを可能にするMCPサーバー。このサーバーは、質問、通知の送信、ファイルの共有、プロジェクトアーカイブの作成など、Telegramボットを介してユーザーとやり取りするためのツールを提供します。
インストール
npm経由(グローバル)
npx経由(オンデマンド)
Telegram チャット ID を取得するには:
特徴
- Telegramを通じてユーザーに質問する
- ユーザーに通知を送信する(応答は不要)
- Telegram経由でユーザーにファイルを送信する
- プロジェクトの zip ファイルを作成して送信します (.gitignore を尊重)
- 応答を非同期的に受信する(応答を無期限に待機する)
- 返信ベースのメッセージ追跡のサポート
- 安全なチャットID検証
- エラー処理とログ記録
前提条件
- Node.js (v14以上)
- Telegram ボット トークン ( @BotFatherから取得)
- Telegram チャット ID (付属のユーティリティを使用して取得できます)
インストール
- リポジトリをクローンします。
- 依存関係をインストールします:
- Telegram ボットを作成します:
- Telegramを開いて@BotFatherを検索します
/newbot
を送信し、指示に従ってください- 受け取ったボットトークンを保存する
- チャットIDを取得します:
.env.example
を.env
にコピーする- ボット トークンを
.env
ファイルに追加します。 - チャット ID ユーティリティを実行します。
- ボットにメッセージを送信する
- コンソールに表示されるチャットIDをコピーします
- チャット ID を
.env
ファイルに追加します。
構成
サーバーを MCP 設定ファイル (通常、Windows では%APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
にあります) に追加します。
利用可能なツール
ask_user
Telegram 経由でユーザーに質問し、返答を待ちます。
入力スキーマ:
使用例:
通知ユーザー
Telegram 経由でユーザーに通知メッセージを送信します (応答は不要です)。
入力スキーマ:
使用例:
ファイル送信
Telegram 経由でユーザーにファイルを送信します。
入力スキーマ:
使用例:
zip_プロジェクト
プロジェクト ディレクトリの zip ファイル (.gitignore パターンを尊重) を作成し、Telegram 経由でユーザーに送信します。
入力スキーマ:
デフォルトディレクトリ(現在の作業ディレクトリ)での使用例:
特定のディレクトリでの使用例:
特徴:
- ディレクトリ名に基づいて
[project-name]-project.zip
という名前のzipファイルを作成します。 - 指定したディレクトリまたは現在の作業ディレクトリを圧縮できます
- .gitignore パターンを尊重
- アーカイブ内の正しいファイルパスを維持する
- 送信後にZIPファイルを自動的にクリーンアップします
- 最大2GBのファイルを処理します
発達
プロジェクトをビルドします。
開発モードで実行:
変更に注意してください:
クリーンビルドディレクトリ:
安全
- サーバーは設定されたチャットIDからのメッセージにのみ応答します
- 環境変数は機密性の高い設定に使用されます
- メッセージIDは質問と回答のペアを追跡するために使用されます
- ボットは適切な文脈のないメッセージを無視します
ライセンス
ISC
著者
qpd-v
バージョン
0.2.1 # 新機能のメジャーバージョンアップ_user、send_file、zip_project ツール
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Telegramを通じてユーザーとのコミュニケーションを可能にするMCPサーバー。このサーバーは、ユーザーに質問し、Telegramボットを介して回答を受け取るためのツールを提供します。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that enables saving and sharing Claude Desktop conversations, allowing users to store chats privately or make them public through a web interface.Last updated -26TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that enables posting messages to Discord webhooks, allowing customization of content, username, and avatar URL.Last updated -10JavaScriptMIT License
- -securityAlicense-qualityA 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 -134PythonApache 2.0
- -securityAlicense-qualityA simple MCP server that allows Claude to access your Telegram account to read and send messages on your behalf.Last updated -5PythonApache 2.0