Better-TG-CLI (Telegram)
v0.41.2Telegram on your own account: read, search, send and press bot buttons.
Values you need
| Variable | What it is | |
|---|---|---|
TG_PROFILE | optional | Optional profile name, to keep this client on a separate Telegram session |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add better-tg-cli -- npx -y --package=better-tg-cli@0.41.2 telegram mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"better-tg-cli": {
"args": [
"-y",
"--package=better-tg-cli@0.41.2",
"telegram",
"mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"better-tg-cli": {
"args": [
"-y",
"--package=better-tg-cli@0.41.2",
"telegram",
"mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"better-tg-cli": {
"args": [
"-y",
"--package=better-tg-cli@0.41.2",
"telegram",
"mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.better-tg-cli]
command = "npx"
args = ["-y", "--package=better-tg-cli@0.41.2", "telegram", "mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: telegram_help, telegram_read, telegram_write, telegram_setup.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json