bujosa/claude-telegram-server
Run Claude Code as a 24/7 Telegram bot on any machine. Send messages from your phone — Claude reads your files, writes code, runs commands, and replies in Telegram. Supports macOS, Linux, and Windows.
Platform-specific configuration:
{
"mcpServers": {
"claude-telegram-server": {
"command": "npx",
"args": [
"-y",
"claude-telegram-server"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Turn any computer into a 24/7 Claude Code assistant you can talk to from Telegram. Send a message from your phone — Claude reads your files, writes code, runs commands, and replies right back.
┌──────────────┐ ┌─────────────────────────┐ ┌──────────────┐
│ │ │ Your Server (any OS) │ │ │
│ Telegram │────────▶│ tmux / screen session │────────▶│ Your Code │
│ on phone │◀────────│ Claude Code + Plugin │◀────────│ & Terminal │
│ │ │ │ │ │
└──────────────┘ └─────────────────────────┘ └──────────────┘It's like having your IDE in your pocket.
| Requirement | Details | |-------------|---------| | Claude Code | v2.1.80+ (install guide) | | Claude subscription | Pro, Max, Team, or Enterprise (OAuth login) | | Node.js | v18+ | | Bun | Required for channel plugins | | tmux or screen | To keep the session alive after disconnecting | | Telegram account | To create a bot via BotFather |
npm install -g @anthropic-ai/claude-codeAuthenticate with your Claude subscription:
claude auth login --claudeaiThis gives you a URL to open in your browser. Sign in and paste the code back.
Claude Code plugins run on Bun.
macOS / Linux:
curl -fsSL https://bun.sh/install | bashWindows (PowerShell):
irm bun.sh/install.ps1 | iexLoading reviews...