MCP.so
ログイン

Telegram MCP Server

@NexusX-MCP

基本情報

カテゴリ

コミュニケーション

ライセンス

MIT license

トランスポート

stdio

作者

NexusX-MCP

Telegram MCP Server について

An MCP server implementation that provides tools for interacting with the [Telegram Bot API](

Telegram MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "telegram-mcp-server-nexusx-mcp": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "node",
        "dist/index.js"
      ]
    }
  }
}

Telegram MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Telegram MCP Server?

An MCP server that provides tools for interacting with the Telegram Bot API. It allows AI assistants to send messages, retrieve bot information, receive updates, and forward messages programmatically.

How to use Telegram MCP Server?

Set the TELEGRAM_BOT_TOKEN environment variable with your bot token from @BotFather. Install dependencies with npm install, build with npm run build, and run the server with npx @modelcontextprotocol/inspector node dist/index.js. Open http://127.0.0.1:6274 to configure and test the tools.

Key features of Telegram MCP Server

  • get_bot_info: Retrieves basic bot information (no parameters required)
  • send_message: Sends a message to a specified chat (requires chatId and text)
  • get_updates: Receives incoming updates using long polling (optional offset, limit, timeout, allowed_updates)
  • forward_message: Forwards messages between chats (requires chatId, fromChatId, messageId)
  • All tools accept optional parameters for additional Telegram API features

Use cases of Telegram MCP Server

  • AI assistant sending notifications or replies to a Telegram chat
  • Retrieving bot details (name, username, etc.) for verification or display
  • Polling for new messages, channel posts, callback queries, or other updates
  • Forwarding messages from one chat or channel to another
  • Integrating Telegram messaging into automated workflows without a full bot client

よくある質問

1

How do I get a Telegram bot token?

Talk to [@BotFather](https://t.me/BotFather) on Telegram, create a new bot with the `/newbot` command, and copy the generated token. Keep it secure.

2

What environment variable is required?

You must set `TELEGRAM_BOT_TOKEN` to your bot token. The token is a string like `110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw`.

3

What runtime or dependencies are needed?

The server requires Node.js and npm. Run `npm install` to install dependencies, then build with `npm run build`.

4

Can I customize message formatting (parse_mode, reply_markup)?

Yes, the `send_message` tool accepts an optional `params` object that includes parameters like `parse_mode`, `reply_markup`, etc.

5

Is the server licensed for commercial use?

Yes, the server is licensed under the MIT License, which permits free use, modification, and distribution.

コメント

「コミュニケーション」の他のコンテンツ