Telegram Managed Bot Factory logo

Telegram Managed Bot Factory

Provision owner-approved Telegram child bots through a durable MCP control plane and isolated worker.

Install Telegram Managed Bot Factory

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "telegram-managed-bot-factory": {
      "command": "uvx",
      "args": [
        "--refresh",
        "--from",
        "telegram-managed-bot-factory==0.2.3",
        "bot-factory"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx --refresh --from telegram-managed-bot-factory==0.2.3 bot-factory

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Telegram Managed Bot Factory MCP server provisions isolated child bots from a user-owned Telegram manager bot. An agent prepares a bounded request through a nine-tool stdio MCP interface, while the owner confirms creation in Telegram and a persistent worker retrieves the child credential outside the model context. Built-in profiles support FAQs, lead collection, link storage, and owner-only health checks. Reach for it when bot creation needs explicit approval, durable request handling, and credential isolation on a Linux host.

Use cases

  • Create owner-approved FAQ bots
  • Collect leads with confirmed export and purge
  • Store owner-only URLs and notes
  • Attach built-in functions to existing child bots
  • Check isolated child health

Key features

  • Owner-confirmed Telegram child bot provisioning
  • Persistent systemd user worker
  • Credential isolation outside MCP and model context
  • Four constrained bot profiles
  • Durable request and update state
  • Nine-tool stdio MCP interface

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · bot-factory (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Telegram Managed Bot Factory works

What Telegram Managed Bot Factory MCP server does

The Telegram Managed Bot Factory MCP server coordinates creation and management of isolated Telegram child bots through one user-owned manager bot. It separates the agent-facing control plane from the worker that communicates with Telegram and handles credentials. The model can prepare requests and inspect safe status information, but it does not receive manager or child tokens.

Each child uses its own credential and instance-local state. Creation remains an explicit external action: Telegram sends a confirmation request to the owner, and provisioning proceeds only after that request is approved. The design surfaces uncertain outcomes for reconciliation instead of claiming exactly-once external effects.

Supported profiles are constrained rather than programmable. quick_faq provides a public menu of local plain-text answers and contact text. lead_inbox collects messages with a privacy notice and supports owner notification, confirmed export, and purge. link_inbox stores owner-only URLs and notes with /list and /done; it never fetches URLs. owner_echo provides an owner-only isolation and health test.

How it works

Hermes invokes the Factory MCP server over stdio. The server records a durable request, and a persistent user service performs manager-bot polling and credential retrieval. After Telegram confirmation, the worker starts the isolated child runtime. The agent can query request status and, after provisioning, list and attach one of the built-in functions to an existing child slug.

Repeated attachment is treated as a no-op, and rebinding preserves the bot username and Telegram identity. Pause and resume use the existing stop and start operations. Child update IDs and offsets are stored durably, while completed collisions are ignored and crash-ambiguous external effects are quarantined for review.

Setup and configuration

Installation requires Linux with systemd --user, Python 3.11–3.14, uv, Hermes 0.18, and a separate Telegram manager bot with Bot Management Mode enabled. Ubuntu and WSL2 are tested. The documented release is installed with:

uvx --refresh --from telegram-managed-bot-factory==0.2.3 bot-factory install-hermes

Run this command from an interactive SSH or console terminal on the host that will run the worker. The installer checks user services, enables verified lingering, securely prompts for the manager credential, enrolls the owner, installs and verifies the persistent service, checks a fresh heartbeat, and registers the nine-tool stdio server with Hermes. It does not create a child bot.

The manager token must not be supplied through chat, MCP arguments, shell arguments, or environment variables. Factory MCP refuses to start before installation is complete. The worker is installed as a persistent uv tool rather than relying on an evictable uvx cache.

Tools and capabilities

The Telegram Managed Bot Factory MCP server exposes nine stdio tools, including request creation, status inspection, function listing, function attachment, and existing stop/start controls.

Inputs are bounded and validated. Profiles cannot run arbitrary code, invoke executables, access filesystem paths, expose agent tools, or perform remote fetches. Secret directories use restrictive permissions, and child credentials are passed through an inherited anonymous file descriptor instead of command-line or environment values.

Limitations and notes

The Telegram Managed Bot Factory MCP server is self-hosted and does not provide hosted multi-tenancy. It does not support Windows or macOS installation, arbitrary child code, automatic bot-account deletion, or bypassing Telegram approval. The manager bot is separate from the Hermes gateway bot.

The current release is terminal-only and has no desktop bootstrap or GUI launcher. WSL2 requires a running systemd PID 1 and an active distribution. Removing the service or package does not delete Factory data or revoke Telegram bots; those must be reviewed separately in local XDG directories and through BotFather.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Telegram Managed Bot Factory

Telegram Managed Bot Factory is an MCP server that connects Hermes and a user-owned Telegram manager bot to provision isolated child bots. Its main tools create durable requests, report status, list available functions, attach functions, and control existing child runtimes while keeping bot credentials outside the model and MCP context.

Install it by running `uvx --refresh --from telegram-managed-bot-factory==0.2.3 bot-factory install-hermes` in an interactive Linux terminal. The installer checks systemd user services, securely prompts for the manager credential, installs the worker, verifies its heartbeat, and registers the stdio server with Hermes.

No, installation support is limited to Linux with `systemd --user`; Ubuntu and WSL2 are tested. Windows and macOS installations are not supported. On WSL2, the distribution must remain running and PID 1 must be systemd.

Yes, every child bot creation requires confirmation in Telegram. The agent prepares the bounded request and receives a creation link, but the owner must approve that specific request through the manager bot before provisioning continues.

No, child profiles cannot execute arbitrary code, use executables or filesystem paths, expose agent tools, or fetch remote content. The available profiles are constrained to FAQ responses, lead collection, link and note storage, and owner-only health testing.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTelegram Managed Bot Factory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/telegram-managed-bot-factory?style=directory)](https://allmcps.com/mcp/telegram-managed-bot-factory)
HTML Embed
<a href="https://allmcps.com/mcp/telegram-managed-bot-factory"><img src="https://allmcps.com/api/badge/telegram-managed-bot-factory?style=directory" alt="Telegram Managed Bot Factory on AllMCPs" /></a>