Connector guide9-minute read22 MCP tools7 languages

Connect MAX to ChatGPT via MCP: Messages and Chats

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

HCBy HelpCode teamUpdated 9 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

MAX Messenger

MAX Messenger

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

tools

22

Region

INTL

Category

Messaging

Authentication

API Key

Required env vars

MAX_API_URLMAX_BOT_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

Guided setup

Connect MAX Messenger to ChatGPT in 2 minutes

Start a free trial on AnythingMCP Cloud, connect MAX Messenger in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

AnythingMCP's plugin in ChatGPT's directory answers questions from your company databases on AnythingMCP Cloud (PostgreSQL, MySQL, SQL Server, Oracle, SAP HANA, SQLite, MongoDB, read-only): open the listing (opens in a new tab) and click Install plugin. Every other connector is added to ChatGPT as a custom MCP server with your AnythingMCP MCP URL.

Try asking

Example prompts for MAX Messenger

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

MAX Messenger · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → MAX Messenger, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

MAX Messenger + ChatGPT

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

MAX_API_URL, MAX_BOT_TOKEN

Step 1 — Get credentials

Setting up takes about 5 minutes.

  1. Create a chat bot for your organisation on the MAX for business platform (https://business.max.ru/self, section Chat bots). MAX asks for a verified organisation profile there.
  2. Open the bot, then the three-dot menu, Settings, and copy the token. Paste it into MAX_BOT_TOKEN. It is sent in the Authorization header as it is, without the word Bearer; MAX no longer accepts the token as a query parameter.
  3. Choose the API host in MAX_API_URL. https://platform-api.max.ru has a certificate every server trusts. MAX now recommends https://platform-api2.max.ru, whose certificate is issued by the Russian Trusted Sub CA (Ministry of Digital Development): it only works when the AnythingMCP server trusts that root certificate (on a self-hosted server, add it with NODE_EXTRA_CA_CERTS). On AnythingMCP Cloud use the first host.
  4. Add the bot to the group chats and channels it should work in (as an administrator for reading history, pinning and deleting), and send it a message yourself so that a dialog exists.

Where to start: max_messenger_get_me checks the token. max_messenger_get_updates shows what people wrote and, above all, the chat ids: MAX has no supported way to list a bot's chats any more, so read chat_id from bot_added, bot_started and message_created events and keep it.

Chats: max_messenger_get_chat, max_messenger_get_bot_membership (the bot's rights), max_messenger_list_chat_members, max_messenger_list_chat_admins, max_messenger_get_pinned_message, max_messenger_pin_message, max_messenger_unpin_message, max_messenger_send_chat_action (typing, mark as read) and max_messenger_leave_chat (switched off at install).

Messages: max_messenger_send_message writes to a user (user_id) or to a chat or channel (chat_id); max_messenger_send_image sends a picture from a public URL. max_messenger_list_messages reads the history of a chat (the bot must be an administrator there) or single messages by id, max_messenger_get_message one message. max_messenger_edit_message changes a message of the bot, max_messenger_delete_message removes one (switched off at install). max_messenger_list_comments and max_messenger_post_comment work with comments under channel posts. max_messenger_get_video_details resolves a video attachment to playable links.

Buttons: attach an inline keyboard with attachments. A press arrives as a message_callback update; answer it with max_messenger_answer_callback.

Events: max_messenger_get_updates is long polling. Calling it without marker only reads; passing the marker of the previous answer continues from there and confirms everything before it. If the bot has a webhook (max_messenger_list_subscriptions), MAX delivers events to that address and polling stays empty. This connector does not create or remove webhooks.

Field notes

  • Ids: chat_id and user_id are whole numbers (chat ids of groups and channels are negative); pass them as text so no digit is lost. A message id is body.mid, a string starting with mid..
  • Times are Unix timestamps in milliseconds.
  • Some methods report a refusal inside an HTTP 200 answer as success: false with a code such as chat.denied or not.found; the connector turns that into an error. Other methods answer 4xx with the same code.
  • Limits: 30 requests per second per bot, and 2 messages per second into the same dialog, chat or channel.
  • Files: images go by URL. Other files, audio and video must first be uploaded to MAX in a two-step binary upload that this connector does not perform; an attachment that already exists on MAX can be sent again with its token.
  • Since 9 September 2026 MAX restricts adding members to chats through the API; this connector has no tool for it.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in ChatGPT

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.

  1. Go to chatgpt.com/plugins, click Add, then Add custom MCP server.
  2. Enter a name, e.g. Name: MAX Messenger.
  3. Under Connection, enter the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID and keep Authentication on OAuth.
  4. Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
  5. Install the new plugin from your personal plugins, then type @ in a chat and pick it.

Available tools

ToolWhat it does
max_messenger_get_meRead the bot behind the token: user_id, first_name, username, is_bot, description, avatar_url, last_activity_time (Unix time in…
max_messenger_get_chatRead one chat, channel or dialog: chat_id, type (dialog, chat, channel), status (active, removed, left, closed, suspended), title…
max_messenger_get_bot_membershipRead the bot's own membership in a chat or channel: is_owner, is_admin, join_time, last_access_time and, for an admin, its permissions…
max_messenger_list_chat_membersList the members of a group chat or channel: members[] with user_id, first_name, last_name, username, is_bot, is_owner, is_admin, join_time…
max_messenger_list_chat_adminsList the administrators of a group chat or channel: members[] with user_id, name, username, is_owner, permissions and alias. The bot must…
max_messenger_get_pinned_messageRead the message pinned in a chat or channel: message with sender, recipient, timestamp (Unix ms) and body (mid, text, attachments). An…
max_messenger_pin_messagePin a message in a chat or channel; it replaces the message pinned before. The bot needs the pin_message admin permission. Answers with…
max_messenger_unpin_messageRemove the pinned message of a chat or channel (the message itself stays). The bot needs the pin_message admin permission. Answers with…
max_messenger_send_chat_actionShow a short activity of the bot in a chat, such as "typing" before a longer answer, or mark the chat as read (mark_seen). Nothing is…
max_messenger_list_messagesRead messages of a chat or channel, newest first, or specific messages by id: messages[] with sender (user_id, name, username), recipient…
max_messenger_get_messageRead one message by its id: sender, recipient, timestamp (Unix ms), body with text and attachments (image, video, audio, file, sticker…
max_messenger_send_messageSend a message as the bot to a user (user_id), or to a group chat or channel (chat_id): text of up to 4000 characters, optionally…
max_messenger_send_imageSend an image from a public URL as the bot, with an optional caption, to a user (user_id) or to a chat or channel (chat_id). MAX downloads…
max_messenger_edit_messageChange a message the bot sent: new text and, optionally, new attachments. Leaving attachments out keeps the current ones; an empty list…
max_messenger_delete_messageDelete a message for everyone in a dialog, chat or channel. The bot can delete its own messages and, as an administrator with the delete…
max_messenger_answer_callbackAnswer the press of an inline keyboard button (a message_callback update): show the user a one-time notification, replace the message that…
max_messenger_get_updatesRead the events MAX holds for the bot (long polling): updates[] with update_type (message_created, message_edited, message_removed…
max_messenger_list_subscriptionsList the bot's webhook subscriptions: subscriptions[] with url, time (Unix ms when it was created) and update_types. While one exists, MAX…
max_messenger_get_video_detailsRead the details of a video attachment by its token (payload.token of a video attachment in a message): playback urls per quality…
max_messenger_list_commentsRead the comments under a channel post, newest first: comments with sender, timestamp (Unix ms) and body (mid, text), plus the paging…
max_messenger_post_commentWrite a comment as the bot under a channel post. Text only (up to 4000 characters, optional formatting); comments take no attachments.…
max_messenger_leave_chatRemove the bot from a group chat or channel. The bot stops receiving its messages and can only come back when a member adds it again.…

Example prompts

  • "What did people write to the bot today?"
  • "Send a message to the chat -70012345678: the shop opens at 10:00 tomorrow."
  • "Who are the administrators of our channel?"
  • "Read the comments under our last channel post."
  • "Pin the message with the opening hours in the customers chat."

FAQ

Where does the bot token come from? Create a chat bot for your organisation on the MAX for business platform (business.max.ru, section Chat bots; MAX asks for a verified organisation profile), open the bot, the three-dot menu, Settings, and copy the token. On AnythingMCP Cloud choose the host platform-api.max.ru; platform-api2.max.ru needs a server that trusts the Russian Trusted Sub CA.

How does it find the chats? MAX has no supported way to list a bot's chats any more: the AI reads the chat ids from incoming events (bot added, bot started, new message) and keeps them. Add the bot to the group chats and channels it should work in, as an administrator for reading history and pinning. Images go by public URL; other file uploads and adding members to chats are not covered.

Which tools install switched off? max_messenger_delete_message and max_messenger_leave_chat. Switch them on on the connector page only if the AI should use them.

Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.

Next steps

Was this guide helpful?

Connect MAX Messenger to ChatGPT in 2 minutes

Start a free trial on AnythingMCP Cloud, connect MAX Messenger in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.

Related guides

Connectors

Connect MAX to Claude via MCP: Messages and Posts

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

Connectors

Connect MAX to Microsoft Copilot via MCP

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

Connectors

Connect MAX to Cursor via MCP: Messages and Chats

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

Connectors

Connect MAX to Gemini CLI via MCP: Messages and Posts

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

Connectors

Connect MAX to Meta Muse via MCP: Messages and Posts

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.

Connectors

MAX MCP Server: Messages, Channels and Comments

Let your AI work as a bot in MAX, the Russian messenger by VK: read incoming messages and events, send and edit messages and images, answer button presses, pin posts, and look up chats, channels, members and comments. Bot token.