Full-featured Telegram Bot API MCP server with 174 tools for Claude Code and AI agents
telegram-bot-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Full-featured Telegram Bot API server for MCP (Model Context Protocol).
**174 tools** covering the entire Bot API — messages, chats, stickers, payments, forums, stories, and more.
Features
- **Messages** — send (text, photo, video, audio, document, location, poll, dice, sticker, media groups), edit, forward, copy, delete, pin/unpin, reactions
- **Chats** — info, settings, permissions, invite links, member management, verification
- **Bot** — commands, profile, settings, description, menu button, admin rights
- **Stickers** — create/edit/delete sticker sets, upload stickers, custom emoji
- **Payments** — invoices, star transactions, gifts, refunds
- **Forums** — create/edit/close/reopen/delete topics
- **Stories** — post, edit, delete, repost
- **Business** — business messages, accounts, connections
- **Games** — send games, set scores, high scores
- **Webhooks** — set, delete, get info
Quick Start
Claude Code
Claude Desktop
Add to claude_desktop_config.json:
Environment Variables
| Variable | Required | Description |
|---|---|---|
| TELEGRAM_BOT_TOKEN | Yes | Bot token from @BotFather |
| TELEGRAM_DEFAULT_CHAT_ID | No | Default chat ID (skip chat_id in tool calls) |
| TELEGRAM_DEFAULT_THREAD_ID | No | Default topic/thread ID for forum supergroups |
Project Structure
License
MIT