New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mrsergeiluzhnov avatar

Xonta MAX

mrsergeiluzhnov/xonta-max-mcp

Xonta MAX gives agents current MAX Bot API facts, lint, scaffolding, and ad-tracking tools for bots.

tools
28
auth
Secret needed
transport
STDIO, HTTP
env vars
3
last updated
Nov 16, 2026
View on GitHub

What it does

  • Reads API facts with max_api_reference, max_endpoint_info, and max_limits, and checks code with max_lint_code and max_migrate_from_telegram
  • Generates and validates output with max_scaffold_bot, max_build_message, max_validate_message, and max_deeplink, in English or Russian
  • Runs local operator tools such as max_send_message and max_webhook only with a MAX_BOT_TOKEN; the hosted endpoint disables them
  • Designed for developers migrating from Telegram or building MAX bots, mini-apps, and ad tracking in Russia

Tools

28 tools

Public tool metadata for what this MCP can expose to an agent.

max_api_referenceCurrent Bot API and Mini Apps facts by topic or free-text search, each with a dev.max.ru link

Current Bot API and Mini Apps facts by topic or free-text search, each with a dev.max.ru link

No parameter schema in public metadata yet.

max_endpoint_infoOne method: query, body, limits, gotchas, curl. Says when a method was removed

One method: query, body, limits, gotchas, curl. Says when a method was removed

No parameter schema in public metadata yet.

max_limitsEvery limit in one place: text, rate, keyboard, attachments, files, deep links, webhook

Every limit in one place: text, rate, keyboard, attachments, files, deep links, webhook

No parameter schema in public metadata yet.

max_changelogDated 2026 changes that break old code

Dated 2026 changes that break old code

No parameter schema in public metadata yet.

max_lint_codeFinds old host, token in query, Bearer, disabled TLS, removed methods, webhook mistakes, unsafe secret compare, wrong initData HMAC, Telegram leftovers. Line numbers and fixes

Finds old host, token in query, Bearer, disabled TLS, removed methods, webhook mistakes, unsafe secret compare, wrong initData HMAC, Telegram leftovers. Line numbers and fixes

No parameter schema in public metadata yet.

max_migrate_from_telegramMaps every Telegram API call in your code to MAX, lists what has no equivalent, gives a plan

Maps every Telegram API call in your code to MAX, lists what has no equivalent, gives a plan

No parameter schema in public metadata yet.

max_scaffold_botReady bot in Python, TypeScript or Go: polling + webhook, certificate in Dockerfile, chat tracking, callbacks

Ready bot in Python, TypeScript or Go: polling + webhook, certificate in Dockerfile, chat tracking, callbacks

No parameter schema in public metadata yet.

max_build_messageMessage JSON with keyboard and images, validated, plus curl

Message JSON with keyboard and images, validated, plus curl

No parameter schema in public metadata yet.

max_validate_messageChecks a body: 4000 chars, 210/30/7 keyboard, 3 per row for link/open_app, attachment combinations

Checks a body: 4000 chars, 210/30/7 keyboard, 3 per row for link/open_app, attachment combinations

No parameter schema in public metadata yet.

max_split_textSplits long text into ≤4000-char messages at paragraph boundaries

Splits long text into ≤4000-char messages at paragraph boundaries

No parameter schema in public metadata yet.

max_convert_formattingTelegram MarkdownV2/HTML or LLM Markdown → MAX markup, reports what MAX can't show

Telegram MarkdownV2/HTML or LLM Markdown → MAX markup, reports what MAX can't show

No parameter schema in public metadata yet.

max_deeplink?start=, ?startapp=, mention, and a Send to MAX share link and button for any website, no bot needed

?start=, ?startapp=, mention, and a Send to MAX share link and button for any website, no bot needed

No parameter schema in public metadata yet.

max_mock_updateRealistic webhook updates for all 19 types, plus curl to your local endpoint

Realistic webhook updates for all 19 types, plus curl to your local endpoint

No parameter schema in public metadata yet.

max_mock_init_dataCorrectly signed mini-app initData for backend tests

Correctly signed mini-app initData for backend tests

No parameter schema in public metadata yet.

max_bridge_mockwindow.WebApp emulator to build mini-apps in a normal browser on localhost

window.WebApp emulator to build mini-apps in a normal browser on localhost

No parameter schema in public metadata yet.

max_check_webhook_secretChecks or generates a webhook secret

Checks or generates a webhook secret

No parameter schema in public metadata yet.

max_tracking_linksAds: a separate bot link (?start=), mini-app link, UTM link and promo code for every channel where you place an ad, plus a media plan CSV

Ads: a separate bot link (?start=), mini-app link, UTM link and promo code for every channel where you place an ad, plus a media plan CSV

No parameter schema in public metadata yet.

max_ad_reportAds: CPM, cost per click or bot start, per lead and per order, ROAS, ROMI, with 95% intervals — says when a difference between channels may be chance

Ads: CPM, cost per click or bot start, per lead and per order, ROAS, ROMI, with 95% intervals — says when a difference between channels may be chance

No parameter schema in public metadata yet.

max_check_ad_postAds: checks a post against Russian ad marking rules: the «Реклама» label, advertiser details, erid token, A+ mark for big channels

Ads: checks a post against Russian ad marking rules: the «Реклама» label, advertiser details, erid token, A+ mark for big channels

No parameter schema in public metadata yet.

max_verify_signatureLocal only. Verifies initData, requestContact phone hash, request_contact vcf hash

Local only. Verifies initData, requestContact phone hash, request_contact vcf hash

No parameter schema in public metadata yet.

max_bot_infoLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

max_send_messageLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

max_get_messagesLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

max_get_chatLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

max_set_commandsLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

max_webhookLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

max_get_updatesLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

max_api_requestLocal only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

Local only, with MAX_BOT_TOKEN. Act as your bot. Bodies are validated before sending, removed methods are refused

No parameter schema in public metadata yet.

Configuration

MAX_BOT_TOKENsecret

Optional. Your MAX bot token: enables tools that act as your bot (send messages, webhook, commands)

MAX_CA_FILE

Path to the Russian Trusted Root CA (Минцифры) PEM, needed to reach platform-api2.max.ru

XONTA_MAX_LANG

Default answer language: ru (default) or en

Readme

Xonta MAX

xonta passport

MCP server for building bots and mini-apps for the MAX messenger (max.ru), in English and Russian. Free and open source.

Русская версия ниже

Why

MAX changed a lot in 2026: the API moved to platform-api2.max.ru behind the Минцифры root certificate, GET /chats was removed, adding members was restricted, webhooks became HTTPS-only, comments arrived. Language models still write the old API. This server gives an AI agent current facts and tools that check, generate and test MAX code, so the result works on the first try.

You don't need your own bot for most of it. Only the operator tools need a token.

Languages


View the full README on GitHub

Details

Repository
github.com/mrsergeiluzhnov/xonta-max-mcp
Website
xonta.ru
Categories
Developer Tools, Email & Messaging
Package
xonta-max-mcp
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active

More from mrsergeiluzhnov

All 2

Similar to Xonta MAX

More Developer Tools