MAX channel for Claude Code

max-gateway

A robust daemon and bridge plugin: talk to your Claude Code session from the MAX messenger, with photos, voice and buttons

Plugin

High risk

We rate an entry high when the tool writes to external systems, handles money, production databases or secrets, or runs arbitrary commands. The CLI installs it only with your consent.

Why this level

  • Gives direct access to a live Claude Code session through MAX messages
  • The /restart command can restart the session, and voice transcription is sent to the third-party Groq service
All reasons and checks
Russian stack

atomachinskiy/max-gateway

Install

Manual install

MAX_BOT_TOKEN="<токен>" MAX_STATE_DIR="$HOME/.claude/channels/max-claude5" bun gateway/gateway.ts pair

Pairs with the MAX bot, capturing the owner's user_id and chat_id.

This is third-party code. Review the repository files before installing.

What it does

The project ports the same author's tg-gateway idea to the MAX Bot API: a daemon under systemd keeps a persistent MAX connection through a resilient long-poll that does not give up on the first network error, unlike the official mcp-max-messenger. A thin bridge plugin injects incoming messages into an open Claude Code session and sends replies back to MAX. Incoming: text, downloaded photos, voice and audio transcribed via Groq Whisper, video, files and button taps. Outgoing: chunked text, photos and files, inline buttons, threaded replies, a typing indicator (MAX bots have no emoji reactions). A command panel /menu /ping /status /screen /restart /logs /model /mcp with an admin allowlist covers server tmux deployments, plus a PID lock, watchdog, heartbeat and graceful restart. If the session or bridge blips, the daemon buffers incoming messages and loses nothing.

Who it is for. For people who want to message their Claude Code from MAX the same way they already do from Telegram.

Good fit when

  • You need a reliable MAX channel for Claude Code instead of an official bridge with a fragile long-poll
  • You need to manage the session remotely: view the screen, status, restart by command from MAX
  • You need MAX voice messages transcribed right in the agent conversation

Not a fit when

  • You want a read-only channel without an admin panel and tmux deployment
  • You do not want to keep a systemd daemon running on a server permanently

Example request

From MAX to the bot: /status, then by voice message: restart the session and show the latest logs

Limitations

Voice transcription goes through Groq Whisper, so it depends on an external service. The daemon is built for a systemd system, and the server tmux deployment with an admin allowlist implies some setup. No license is stated in the repository.

How to disable. Stop and disable the daemon with systemctl --user disable --now max-gateway and remove the plugin with claude plugin uninstall max.

Security check

  • Gives direct access to a live Claude Code session through MAX messages
  • The /restart command can restart the session, and voice transcription is sent to the third-party Groq service

README in short

The Russian README describes the project as a reliable MAX channel for Claude Code, a port of the author's earlier tg-gateway. It lists capabilities: a resilient long-poll, incoming and outgoing content types, a command panel with an allowlist, a PID lock and a watchdog. It shows a bun-and-systemd quick start: creating a bot via @MasterBot, pairing to capture a user_id and chat_id, bringing up the daemon and connecting the bridge plugin via the marketplace. An env var table covers the bot token, state directory, admins, allowed chats, API base URL and tmux restart settings. It separately mentions AGENTS.md for AI-assistant-driven installation.

FAQ

How is this better than the official mcp-max-messenger?

According to the author, a resilient long-poll: the official version exits its poll loop on the first network error, while the max-gateway daemon does not.

Can an AI assistant install the project by itself?

Yes, the repo ships an AGENTS.md, a step-by-step install runbook covering bot creation, pairing, deployment per OS, plugin setup and removal.

Official

A self-hosted knowledge base with block-level references and a built-in MCP server for connecting AI agents to your notes

MCP serverMedium risk46.5KRepository stars
Editors’ pick

A CLI for every Google Workspace API with JSON output and agent skills: Drive, Gmail, Calendar, Sheets and more

CLIHigh risk31.2KRepository stars
Editors’ pick

Local search over Markdown notes, docs and meeting transcripts: keywords, semantic search and reranking, with an MCP server

CLIMedium riskNo VPN needed30.1KRepository stars
Editors’ pick

A task manager for AI-driven development: breaks a PRD into dependent tasks and guides the agent through them via MCP or CLI

MCP serverMedium risk28.1KRepository stars
Foxx AIMAX channel for Claude Code

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.