Skip to main content
Glama
gerarte04

telegram-news-mcp

by gerarte04

Telegram news MCP

The project ranks posts from Telegram channels available to a user account and exposes them through one REST endpoint and the MCP tool getTopNews.

Setup

  1. Create a Telegram application at https://my.telegram.org, then configure its credentials:

    cp .env.example .env
    # Edit .env and set TELEGRAM_API_ID and TELEGRAM_API_HASH.
  2. Authorize manually. This command is interactive and may ask for the phone number, Telegram code, and the account's 2FA password. It creates data/telegram.session; neither MCP nor OpenClaw takes part in this flow.

    docker compose run --rm telegram-auth
  3. Start both services:

    docker compose up -d --build

The REST endpoint is internal to Docker Compose. mcp-server intentionally waits as a running container because stdio MCP requires a process attached to the client's stdin/stdout.

Related MCP server: News Digest

OpenClaw MCP configuration

Configure an stdio MCP server that executes the following command from this project directory:

docker compose exec -T mcp-server python -m mcp_server.server

Install openclaw-skill/telegram-top-news as an OpenClaw skill. It documents the tool's arguments and tells agents to report TELEGRAM_AUTH_REQUIRED to the user. The user must then manually repeat the authorization command above.

REST request

{
  "period": "9h32m",
  "exclude_mode": true,
  "excluded_channels": ["@noisy_channel"],
  "included_channels": []
}

period accepts non-zero compact durations from weeks, days, hours, and minutes (1w, 1d, 9h32m). With exclude_mode: false, specify at least one channel in included_channels. A selector can be a title, username, @username, ID, or -100-prefixed ID.

F
license - not found
-
quality - not tested
C
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

  • Self-hostable AGPL SEO manager backend: keyword research, content queue, SERP tracking over MCP.

  • MCP server for Google search results via SERP API

  • MCP server for Altmetric APIs - track research attention across news, policy, social media, and more

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/gerarte04/openclaw-mcp'

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