プラットフォームインテリジェンス MCP

テレグラムMCPサーバー

テレグラムは、メッセージ、チャンネル、グループ、音声ノート、ボット、メディアを共有する10億以上の毎月のアクティブユーザーを持ち、直接配信、コミュニティ管理、迅速なニュースオーディエンスにとって重要です。

MCP バージョン: 1.0.0 7 MCPツール 認証
テレグラム

ベース URL

https://mcp.pressmonitor.com/telegram/v1

認証

MCP呼び出しは、JSON-RPC 2.0リクエストを介してBearerトークンを使用します。

Authorization: Bearer YOUR_TOKEN

ツールを探す

MCPサーバーによって公開されているツールのリストを作成します。

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
tool bot_info

Bot情報

Bot情報

引数

名前 タイプ 必須 説明
username string はい ユーザー名

コード例

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bot_info","arguments":{"username":"SOME_STRING_VALUE"}}}'
tool channel_info

チャンネル情報

チャンネル情報

引数

名前 タイプ 必須 説明
username string はい ユーザー名

コード例

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"channel_info","arguments":{"username":"SOME_STRING_VALUE"}}}'
tool get_messages

メッセージ取得

メッセージ取得

引数

名前 タイプ 必須 説明
username string はい ユーザー名
offset string いいえ オフセット

コード例

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_messages","arguments":{"username":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}'
tool group_info

グループ情報

グループ情報

引数

名前 タイプ 必須 説明
username string はい ユーザー名

コード例

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_info","arguments":{"username":"SOME_STRING_VALUE"}}}'
tool search_hashtag

ハッシュタグ検索

ハッシュタグ検索

引数

名前 タイプ 必須 説明
hashtag string はい ハッシュタグ
offset string いいえ オフセット

コード例

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_hashtag","arguments":{"hashtag":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}'
tool user_info

ユーザー情報

ユーザー情報

引数

名前 タイプ 必須 説明
username string はい ユーザー名

コード例

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_info","arguments":{"username":"SOME_STRING_VALUE"}}}'