Skip to main content
Glama
javarool

mcp-telegram-bot

by javarool

Telegram Bot MCP Server

MCP server for sending messages and asking questions through Telegram bot.

Features

  • ask(questionText) - Send question to Telegram chat and wait for user response (accepts text messages, captions, or returns description of media files)

  • send(textMessage) - Send message to Telegram chat

  • sendFile(path) - Send file to Telegram chat

Related MCP server: Telegram MCP Server

Setup

  1. Get Chat ID:

    TELEGRAM_BOT_TOKEN=your_token npm run get-chat-id

    Send message to your bot/group and copy the Chat ID from console.

  2. Test server:

    npm run dev

MCP Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "telegram-bot": {
      "command": "npx",
      "args": ["tsx", "/home/user/mcp-servers/mcp-telegram-bot/src/server.ts", "--timeout", "10"],
      "env": {
        "TELEGRAM_BOT_TOKEN": "your_bot_token_here",
        "TELEGRAM_CHAT_ID": "your_chat_id_here"
      }
    }
  }
}

Command Line Arguments

  • --timeout <minutes> - Timeout in minutes for waiting user response (default: 10)

Environment Variables

  • TELEGRAM_BOT_TOKEN - Your Telegram bot token from @BotFather

  • TELEGRAM_CHAT_ID - Target chat ID where messages will be sent

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.

  • Build, edit, and deploy Telegram bots on FlowCastle's hosted visual flow platform.

  • Trade, monitor portfolios, and build Coinrule strategies by chat.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/javarool/mcp-telegram-bot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server