Back to the catalog

io.github.daedalus/mcp-telegram-bot

MCP server that exposes a Telegram bot

Open source Open in the app JSON README (API)

About

MCP server that exposes a Telegram bot

Details

Kind
MCP servers
Topic
Communication
Publisher
daedalus
Origin
official
Category
ferramentas
Transport
local
Version
0.1.0
Stars
1
Last push
2026-04-21T19:29:19Z
Repository state
ativo
Language
Python
License
MIT
Added
2026-08-29 03:02:40
Updated
2026-08-29 03:02:40
Origin id
io.github.daedalus/mcp-telegram-bot

README

# mcp-telegram-bot

> MCP server that exposes a Telegram bot

[![PyPI](https://img.shields.io/pypi/v/mcp-telegram-bot.svg)](https://pypi.org/project/mcp-telegram-bot/)
[![Python](https://img.shields.io/pypi/pyversions/mcp-telegram-bot.svg)](https://pypi.org/project/mcp-telegram-bot/)
[![Coverage](https://codecov.io/gh/daedalus/mcp-telegram-bot/branch/main/graph/badge.svg)](https://codecov.io/gh/daedalus/mcp-telegram-bot)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

## Install

```bash
pip install mcp-telegram-bot
```

## Setup

1. Create a Telegram bot by talking to @BotFather on Telegram
2. Get your bot token
3. Set the `TELEGRAM_BOT_TOKEN` environment variable

## Usage

```bash
export TELELEGRAM_BOT_TOKEN="your-bot-token-here"
mcp-telegram-bot
```

### MCP Tools

- **send_message**: Send a message to a Telegram chat
- **get_me**: Get bot information
- **get_updates**: Get recent updates from Telegram

### MCP Resources

- **bot://status**: Get bot status

mcp-name: io.github.daedalus/mcp-telegram-bot

## Development

```bash
git clone https://github.com/daedalus/mcp-telegram-bot.git
cd mcp-telegram-bot
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/
```

## License

MIT

More