Telegram MCP Server
@NexusX-MCP
Telegram MCP Server について
An MCP server implementation that provides tools for interacting with the [Telegram Bot API](
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"telegram-mcp-server-nexusx-mcp": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"dist/index.js"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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 (requireschatIdandtext)get_updates: Receives incoming updates using long polling (optional offset, limit, timeout, allowed_updates)forward_message: Forwards messages between chats (requireschatId,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
FAQ from Telegram MCP Server
How do I get a Telegram bot token?
Talk to @BotFather on Telegram, create a new bot with the /newbot command, and copy the generated token. Keep it secure.
What environment variable is required?
You must set TELEGRAM_BOT_TOKEN to your bot token. The token is a string like 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw.
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.
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.
Is the server licensed for commercial use?
Yes, the server is licensed under the MIT License, which permits free use, modification, and distribution.
「コミュニケーション」の他のコンテンツ
Telegram MCP Server
kfastovTelegram user console client and archiver
WhatsApp MCP Server
lharriesWhatsApp MCP server
Email sending MCP 💌
ykhliThe official MCP server to send emails and interact with Resend
mcp-email-server
ai-zerolabIMAP and SMTP via MCP Server
Twilio MCP Monorepo
twilio-labsMonorepo providing 1) OpenAPI to MCP Tool generator 2) Exposing all of Twilio's API as MCP Tools
コメント