SuperAPIAI Directory

xonta-max-mcp

github.com · AI developer platforms

MCP server for MAX messenger (max.ru) for building bots and mini-apps, providing current Bot API facts, code checks, Telegram migration hints, bot templates, deep links, ad tracking, and test fixtures, with support for English and Russian. Free and open source, callable by AI agents; most features require no self-hosted bot, only operational tools require a token.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Project address:https://github.com/mrsergeiluzhnov/xonta-max-mcp

Purpose and positioning An MCP server for MAX messenger (max.ru) for developing bots and mini-apps, with support for English and Russian, free and open source. MAX changed significantly in 2026: the API moved to platform-api2.max.ru and uses the Минцифры root certificate; GET /chats was removed; adding members is restricted; Webhooks support HTTPS only; comments were added. Language models still often generate code against the old API; this server provides AI agents with current facts, as well as tools to check, generate, and test MAX code, with the goal of making results work on the first run. Most features do not require users to have their own bot; only operational tools require a token.

Main capabilities

  • Code checking and migration: check existing bot code for MAX compatibility issues; migrate aiogram bots to MAX and flag where they will break.
  • Code and template generation: generate MAX bot templates (e.g., TypeScript + Webhook, max_scaffold_bot); add a "Send to MAX" button to website article pages; generate signed initData and tests for a FastAPI validator.
  • Ad tracking: generate separate links for different channels via max_tracking_links; the template writes each bot_started and its payload to starts.jsonl; after a campaign ends, pass click and order counts to max_ad_report to determine which channel brings returns. Bot links can count users who never left the messenger, whom UTM analytics cannot see.
  • Ad copy checking: max_check_ad_post can check ad copy, but it is only a hint and does not constitute legal advice. The server only performs calculations and text checks and does not touch ad accounts or budgets.
  • Fact verification: facts are checked against dev.max.ru, the official OpenAPI schema (github.com/max-messenger/api-schema), and the official Go and TypeScript clients; they are also cross-checked using the official MAX agent skill (github.com/max-messenger/max-agents-skill, Apache-2.0). Each answer is marked with its applicable date; if dev.max.ru says otherwise, dev.max.ru takes precedence.

How to use

  • Language: each tool accepts lang: "en" or lang: "ru", and the agent can choose the user's language itself. The default is Russian; setting XONTA_MAX_LANG=en changes the default language to English. Generated bots include comments, README, and replies in the selected language. Official MAX documentation is only in Russian, so this server can also be used to read it in English.
  • Hosted mode (no installation): the hosted server does not accept bot tokens, and tools that require a token are disabled in this mode.
  • Local mode (stdio): operational tools can be enabled. The certificate is in https://www.gosuslugi.ru/crt Get. When MAX_BOT_TOKEN is not set, the server can still run, just without operational tools. The existing materials do not provide specific installation commands.

Use cases It can be used to: check whether a bot has MAX issues and paste code; port an aiogram bot to MAX and learn what will break; create a MAX bot with TypeScript and Webhook; add a “Send to MAX” button to a website article page; generate signed initData and a FastAPI validator test; generate tracking links when placing ads in multiple MAX channels and evaluate which channel pays back.

Limitations and notes

  • Creating a MAX bot requires a verified profile on business.max.ru (organization, sole proprietor; from June 2026, including self-employed people). This server does not bypass this requirement and only helps people building bots.
  • Hosted mode does not support tools that require a token; local operational tools require MAX_BOT_TOKEN, and certificates must be obtained by the user.
  • The ad tracking tool does not connect to ad accounts or budgets; max_check_ad_post is only a hint, not legal advice.
  • Official MAX documentation is available only in Russian; facts in answers carry an applicable date and are ultimately subject to dev.max.ru.

Background and verification This server is one of Xonta's free tools. Xonta's main project is Xonta orchestrator, used to check how honestly AI agents report what they do and how they spend funds, and to share these signals with other orchestrators via the open OCX protocol; the code is at github.com/mrsergeiluzhnov/xonta. The server itself is registered with the public Xonta orchestrator; its passport confirms control of the domain and stores a signed scan of the tool list, and the page verifies the signature in the browser.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools