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

telegram-bot-mcp

v0.0.2

Published

This project is a **Telegram bot integration** built using the [Model Context Protocol (MCP)](https://modelcontextprotocol.org/) that exposes a suite of useful tools for interacting with the Telegram Bot API. It enables standardized communication with Tel

Readme

Telegram Bot MCP Server

This project is a Telegram bot integration built using the Model Context Protocol (MCP) that exposes a suite of useful tools for interacting with the Telegram Bot API. It enables standardized communication with Telegram via a structured set of commands such as messaging, user management, and bot profile configuration.

Note: This project is a fork of siavashdelkhosh81/telegram-bot-mcp-server with a few improvements:

  • Converted from TypeScript to pure JavaScript
  • Updated some of the tools

Features

This MCP server exposes the following tools:

Bot Information

  • get-me - Test your bot's authentication and retrieve basic information about the bot

Messaging

  • send-message - Send a plain text message to a specific user or chat

    • chatId: Target chat ID or username (string, required)
    • text: Message content (string, required)
    • replyToMessageId: ID of the message to reply to (number, optional)
    • parseMode: Text markup mode - Markdown, MarkdownV2, or HTML (string, optional, default: MarkdownV2)
  • send-photo - Send a photo with an optional caption

    • chatId: Target chat ID or username (string, required)
    • media: File ID, URL, or uploaded file (string, required)
    • text: Caption for the photo (string, optional)
  • set-message-reaction - Add emoji reactions to a message

    • chatId: Target chat ID or username (string, required)
    • messageId: ID of the message to react to (number, required)
    • reaction: Array of emoji reactions to add (array of strings, optional) - Pass an empty array to remove all reactions

Chat Management

  • kick-chat-member - Ban a user from a group, supergroup, or channel

    • chatId: Target chat (string, required)
    • userId: User to ban (number, required)
  • un-ban-chat-member - Unban a previously banned user from a chat

    • chatId: Target chat (string, required)
    • userId: User to unban (number, required)
  • get-chat - Fetch full chat metadata and details

    • chatId: Target chat (string, required)
  • get-chat-member-count - Get the total number of members in a group or channel

    • chatId: Target chat (string, required)
  • get-chat-member - Get detailed info about a specific member in a group or channel

    • chatId: Target chat (string, required)
    • userId: Target user (number, required)

Bot Configuration

  • set-my-short-description - Update your bot's short description (shown in the profile and shares)

    • short_description: New short description, max 120 characters (string, required)
  • get-my-short-description - Fetch the current short description of the bot

  • set-my-commands - Set the list of commands that appear in the Telegram UI

    • commands: Array of command objects with { command, description } structure (array, required)
  • get-my-commands - Get the current list of commands configured for the bot

  • set-my-name - Update the name of the bot

    • name: New bot name (string, required)
  • get-my-name - Retrieve the current name of the bot

  • set-my-description - Update the full description of the bot (shown in empty chats)

    • description: New bot description, max 512 characters (string, required)
  • get-my-description - Fetch the current description of the bot

Installation

1. Get Your Telegram Bot Token

  1. Open Telegram and search for @BotFather.
  2. Start a conversation and run the command:
    /newbot
  3. Follow the prompts to name your bot and get your API token.
  4. Save the token.

2. Integration

You can use this MCP server directly without cloning by using npx:

npx -y telegram-bot-mcp

Then configure your MCP client with the following configuration:

{
  "mcpServers": {
    "telegram_bot": {
      "command": "npx",
      "args": ["-y", "telegram-bot-mcp"],
      "env": {
        "TELEGRAM_BOT_API_TOKEN": "your bot token"
      }
    }
  }
}

Development

If you want to contribute or run from source:

git clone https://github.com/imajus/telegram-bot-mcp-server.git
cd telegram-bot-mcp-server

Install packages:

npm install

Run the server in stdio mode:

npm start

For local testing, add this to your MCP client configuration:

{
  "mcpServers": {
    "telegram_bot": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/PARENT/FOLDER/index.js"],
      "env": {
        "TELEGRAM_BOT_API_TOKEN": "your bot token"
      }
    }
  }
}

Replace /ABSOLUTE/PATH/TO/PARENT/FOLDER/index.js with the real path to your project entry point.

Support & Feedback

Feel free to open issues or contribute to the project. For Telegram-specific help, refer to the Telegram Bot API documentation.

Buy the original author a Coffee: https://buymeacoffee.com/delkhoshsiv

License

This project is licensed under the MIT License - see the LICENSE file for details.