{"id":"ru.xonta/max","slug":"ru-xonta-max","title":"Xonta MAX","description":"MAX messenger bots and mini-apps in English or Russian: Bot API, code checks, Telegram migration","version":"0.1.0","publisher":{"kind":"domain","id":"xonta.ru","label":"xonta.ru","url":"https://xonta.ru"},"website":"https://xonta.ru","repository":"https://github.com/mrsergeiluzhnov/xonta-max-mcp","remotes":[{"type":"streamable-http","url":"https://mcp.xonta.ru/max/mcp"}],"packages":[{"registryType":"pypi","registryBaseUrl":"https://pypi.org","identifier":"xonta-max-mcp","version":"0.1.0","runtimeHint":"uvx","transport":{"type":"stdio"},"environmentVariables":[{"description":"Optional. Your MAX bot token: enables tools that act as your bot (send messages, webhook, commands)","isSecret":true,"name":"MAX_BOT_TOKEN"},{"description":"Path to the Russian Trusted Root CA (Минцифры) PEM, needed to reach platform-api2.max.ru","name":"MAX_CA_FILE"},{"description":"Default answer language: ru (default) or en","name":"XONTA_MAX_LANG"}]}],"published":"2026-11-16","updated":"2026-11-16","status":"online","auth":"","latency_ms":1473,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"max_api_reference","title":"","description":"Look up current facts about the MAX Bot API and Mini Apps (MAX Bridge) with links to dev.max.ru.\n\n    Covers base URL and auth, the Russian Trusted Root CA, advertising in MAX (topic 'ads'), webhooks vs long polling, sending messages,\n    inline keyboards and callbacks, formatting, uploads, chat tracking without GET /chats, mini-apps,\n    initData validation, deep links, who may create bots, offic","read_only":true},{"name":"max_endpoint_info","title":"","description":"Details of one MAX Bot API method (query params, body, limits, gotchas, docs link) or the full method list.\n\n    Also tells when a method was removed or restricted (GET /chats, POST /chats/{chatId}/members).\n    ","read_only":true},{"name":"max_limits","title":"","description":"All MAX platform limits in one table: text length, rate limits, keyboard size, attachments, file sizes,\n    deep link payloads, webhook rules, bots per profile — each with a source link. Also update types, button types, errors.","read_only":true},{"name":"max_changelog","title":"","description":"Dated MAX platform changes in 2026 that break old code: host move to platform-api2, removed GET /chats,\n    restricted member adding, HTTPS-only webhooks, comments API, self-employed access.","read_only":true},{"name":"max_lint_code","title":"","description":"Check MAX bot or mini-app code for known mistakes, with line numbers and fixes.\n\n    Finds: old host platform-api.max.ru, token in query string, 'Bearer' prefix, disabled TLS verification,\n    removed GET /chats, restricted member adding, type=photo uploads, wrong webhook setup (port, HTTP, /webhook),\n    disable_link_preview in body, plain == comparison of the webhook secret, initData signed dire","read_only":true},{"name":"max_migrate_from_telegram","title":"","description":"Plan a port of a Telegram bot or Web App to MAX.\n\n    With code: every Telegram API usage with line number and the MAX replacement, features with no MAX equivalent,\n    effort estimate and a step-by-step plan. Without code: the full Telegram → MAX method map.\n    ","read_only":true},{"name":"max_scaffold_bot","title":"","description":"Generate a ready MAX bot project: polling for dev, webhook for prod, the Russian Trusted Root CA in the Dockerfile,\n    chat tracking without GET /chats, callback answers, constant-time secret check, rate limits and text splitting (Python).\n    lang sets the language of comments, README and the bot's replies.\n\n    Returns a map of file name → content. Write the files as they are. Creating the bot ","read_only":true},{"name":"max_validate_message","title":"","description":"Validate a message body before sending to MAX: 4000-char text, format, keyboard limits (210/30/7, 3 per row\n    with link/open_app/request_*), button fields and lengths, attachment combinations (≤12 media, file only with a keyboard,\n    audio/sticker/contact alone), comment restrictions, Telegram fields left in the body.","read_only":true},{"name":"max_build_message","title":"","description":"Build a correct POST /messages request for MAX: JSON body with inline keyboard and images, validation result\n    and a ready curl command. Use it instead of hand-writing keyboard JSON.","read_only":true},{"name":"max_split_text","title":"","description":"Split text into MAX messages of at most 4000 characters, cutting at paragraphs, lines or sentences.","read_only":true},{"name":"max_convert_formatting","title":"","description":"Convert formatted text to MAX markup: Telegram MarkdownV2 (underline __x__ → ++x++, unescape), Telegram HTML\n    (tg://user → max://user, spoilers dropped) or ordinary Markdown from an LLM (lists → bullets, rules removed).\n    Reports what MAX cannot show (spoilers, tables, lists, inline images). Use the returned format value in the body.","read_only":true},{"name":"max_deeplink","title":"","description":"Build and validate MAX deep links. 'share' gives a link, an HTML button and a JS helper that open\n    MAX's chat picker with prefilled text — works on any website or AI agent output without owning a bot.\n    Payload limits are checked, because MAX silently drops payloads that are too long or have bad characters.","read_only":true},{"name":"max_mock_update","title":"","description":"Generate a realistic MAX webhook Update for tests, shaped like the official schema, plus a curl command to\n    send it to your local webhook. Lets you test a bot before it passes moderation or without a token.","read_only":true},{"name":"max_mock_init_data","title":"","description":"Produce a correctly signed MAX mini-app initData string (two-step HMAC with 'WebAppData') for backend tests,\n    with the token used, so you can check your validator end to end.","read_only":true},{"name":"max_bridge_mock","title":"","description":"Generate max-bridge-mock.js: a window.WebApp emulator to develop MAX mini-apps in a normal browser on localhost.\n\n    Emulates initData/initDataUnsafe (signed if a test token is given), BackButton (Esc), DeviceStorage and\n    SecureStorage (localStorage, 10-key cap), BiometricManager, HapticFeedback, NfcManager, ScreenCapture,\n    requestContact with a valid hash, openLink/downloadFile/shareMaxCon","read_only":true},{"name":"max_check_webhook_secret","title":"","description":"Check a MAX webhook secret against the rules (5-256 chars, A-Z a-z 0-9 _ -) or generate a strong one.","read_only":true},{"name":"server_status","title":"","description":"Server version, facts date, mode (hosted or local), languages and whether operator tools are active.","read_only":true},{"name":"max_tracking_links","title":"","description":"Make a separate tracking link (and promo code) for every channel where an ad is placed in MAX, so you can\n    see which placement brought users and sales. Bot links use ?start=<id>: the id arrives in bot_started.payload,\n    which works even for clicks that never leave the messenger. Returns a media plan as CSV.\n    Then feed the counts to max_ad_report.","read_only":true},{"name":"max_ad_report","title":"","description":"Compare ad placements in MAX by real results: CPM, cost per click or bot start, cost per lead and per order,\n    ROAS, profit after ads and ROMI (with margin), conversion with a 95% confidence interval.\n    Says when a difference between channels may be chance and when there is too little data.\n    A calculator only: it does not touch ad accounts or move money.","read_only":true},{"name":"max_check_ad_post","title":"","description":"Check an ad post for MAX against Russian ad marking rules: the 'Реклама' label at the top, advertiser details\n    (name and INN/OGRN or a site), an erid token in the link or text, the A+ mark for channels over 10,000 subscribers,\n    and the 4000-character limit. A hint, not legal advice; ORD registration is not checked.","read_only":true}],"server_info":{"description":"Build bots and mini-apps for the MAX messenger: Bot API facts, code checks, Telegram migration, deep links, test fixtures. English and Russian","name":"xonta-max","title":"Xonta MAX","version":"0.1.1","websiteUrl":"https://xonta.ru"},"category":"communication","tags":["developer","analytics","automation"],"kind":"remote","source":"registry","submitted":{},"first_party":true,"domain_rank":null,"score":100,"indexable":true,"first_seen":"2026-11-16","stars":0,"badges":["new"],"sponsor":null,"page":"https://agentsindex.org/agents/ru-xonta-max/"}