Telegram MCP Server

Communicationstdiov0.1.5
代码仓库

MCP server for the Telegram Bot API. Lets AI agents send messages, deliver files and photos, and read updates from chats and channels through a bot, enabling notifications and conversational workflows from AI-powered tools.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "telegram": {
      "command": "npx",
      "args": [],
      "env": {
        "TELEGRAM_BOT_TOKEN": "<YOUR_TELEGRAM_BOT_TOKEN>"
      }
    }
  }
}

工具 (2)

send_message

Send a text message to a Telegram chat or channel via the bot.

{
  "type": "object",
  "required": [
    "chat_id",
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "Message text (supports Markdown)"
    },
    "chat_id": {
      "type": "string",
      "description": "Target chat or channel ID"
    }
  }
}

send_document

Send a file or document to a Telegram chat.

{
  "type": "object",
  "required": [
    "chat_id",
    "file_path"
  ],
  "properties": {
    "chat_id": {
      "type": "string",
      "description": "Target chat or channel ID"
    },
    "file_path": {
      "type": "string",
      "description": "Path to the file to send"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Telegram MCP Community (@chigwell)
代码仓库
https://github.com/chigwell/telegram-mcp
许可证
MIT
版本
0.1.5
星标
208
最后更新
2026年7月9日
Telegram MCP Server - MCP Server | OpenModels