npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@node2flow/telegram-bot-mcp

v1.0.4

Published

MCP server for Telegram Bot API — send messages, manage chats, webhooks, files, and more through 27 tools

Readme

Telegram Bot MCP Server

smithery badge npm version License: MIT

MCP (Model Context Protocol) server for Telegram Bot API. Send messages, manage chats, handle webhooks, and more through 27 tools.

Works with Claude Desktop, Cursor, VS Code, and any MCP client.


Quick Start

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "telegram": {
      "command": "npx",
      "args": ["-y", "@node2flow/telegram-bot-mcp"],
      "env": {
        "TELEGRAM_BOT_TOKEN": "your-bot-token"
      }
    }
  }
}

Cursor / VS Code

Add to MCP settings:

{
  "mcpServers": {
    "telegram": {
      "command": "npx",
      "args": ["-y", "@node2flow/telegram-bot-mcp"],
      "env": {
        "TELEGRAM_BOT_TOKEN": "your-bot-token"
      }
    }
  }
}

HTTP Mode (Streamable HTTP)

For remote deployment or shared access:

TELEGRAM_BOT_TOKEN=your_token npx @node2flow/telegram-bot-mcp --http

Server starts on port 3000 (configurable via PORT env var). MCP endpoint: http://localhost:3000/mcp


Configuration

| Environment Variable | Required | Description | |---|---|---| | TELEGRAM_BOT_TOKEN | Yes | Telegram Bot token from @BotFather | | PORT | No | Port for HTTP server (default: 3000, only used with --http) |


All Tools (27 tools)

Bot Info (2 tools)

| Tool | Description | |---|---| | tg_get_me | Get bot information | | tg_set_my_commands | Set bot command menu |

Send Messages (8 tools)

| Tool | Description | |---|---| | tg_send_message | Send text with Markdown/HTML formatting | | tg_send_photo | Send photo (URL or file_id) | | tg_send_document | Send document/file (max 50MB) | | tg_send_video | Send video (MPEG4, max 50MB) | | tg_send_audio | Send audio (MP3/M4A, max 50MB) | | tg_send_location | Send geographic location | | tg_send_poll | Send poll (regular or quiz) | | tg_send_contact | Send phone contact card |

Edit/Delete (3 tools)

| Tool | Description | |---|---| | tg_edit_message_text | Edit message text | | tg_edit_message_caption | Edit media caption | | tg_delete_message | Delete a message (48hr limit) |

Chat Management (5 tools)

| Tool | Description | |---|---| | tg_get_chat | Get chat details | | tg_get_chat_member_count | Get member count | | tg_get_chat_member | Get member info | | tg_ban_chat_member | Ban user from chat | | tg_unban_chat_member | Unban user |

Webhooks (3 tools)

| Tool | Description | |---|---| | tg_set_webhook | Set webhook URL | | tg_delete_webhook | Remove webhook | | tg_get_webhook_info | Get webhook status |

Callbacks & Files (3 tools)

| Tool | Description | |---|---| | tg_answer_callback_query | Answer inline button press | | tg_get_file | Get file download URL | | tg_get_user_profile_photos | Get user profile photos |

Pins & Invite Links (3 tools)

| Tool | Description | |---|---| | tg_pin_chat_message | Pin a message | | tg_unpin_chat_message | Unpin a message | | tg_create_chat_invite_link | Create invite link |


Requirements

  • Node.js 18+
  • Telegram Bot token

How to Create a Telegram Bot

  1. Open @BotFather on Telegram
  2. Send /newbot and follow the prompts
  3. Copy the token and use it as TELEGRAM_BOT_TOKEN

For Developers

git clone https://github.com/node2flow-th/telegram-bot-mcp-community.git
cd telegram-bot-mcp-community
npm install
npm run build

# Run in stdio mode
TELEGRAM_BOT_TOKEN=your_token npm start

# Run in dev mode (hot reload)
TELEGRAM_BOT_TOKEN=your_token npm run dev

# Run in HTTP mode
TELEGRAM_BOT_TOKEN=your_token npm start -- --http

License

MIT License - see LICENSE

Copyright (c) 2026 Node2Flow

Links