Skip to content
MCP server
Registry

max-messenger MCP Server

MCP server for MAX Messenger by VK. 21 tools: messages, media, buttons, members, events.

max-messenger scores 45 (Fair), with no SPDX license recorded and written in TypeScript. It installs as a local process. It declares 20 tools. Filed under Uncategorized. GitHub shows 13 stars. Package registries report about 63 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by woyaxniniNo licenseTypeScript13 stars
Trust score
45Fair
Trust score 45 of 100, Fair

Fair trust

45 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 45 comes from

22 + 5 + 4 + 0 + 4 + 10 = 45. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance5 / 20

How recently the repository saw a commit or release.

Maintenance: 5 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "woyaxnini-mcp-max-messenger": {      "command": "npx",      "args": [        "-y",        "@woyax/mcp-max-messenger@1.2.2"      ],      "env": {        "MAX_TOKEN": "YOUR_MAX_TOKEN"      }    }  }}

Environment variables

NameRequiredNotes
MAX_TOKENSecretRequiredMAX bot token from dev.max.ru โ€” passed as Authorization header WITHOUT 'Bearer' prefix (MAX API quirk: non-standard auth)

Tools20Tool docs quality grade D

All capabilities
  • Add users to a group chat

  • Respond to inline button press: show notification or update message

  • Delete a message

  • Rename chat, change description or icon

  • Edit message text and attachments

  • List chat administrators with permissions

  • Bot info: name, ID, username, description

  • Full chat details: participants, pinned message, owner

  • List chat members with roles

  • List all group chats the bot participates in

  • Read messages from a chat (by chatid or messageids)

  • Incoming events: messages, button presses, new dialogs (long polling)

About

mcp-max-messenger

npm version License: MIT + Commons Clause

The first MCP server for MAX Messenger โ€” Russia's national messenger by VK (75M+ users).

Connect AI clients (Claude Desktop, Cursor, n8n, and any MCP-compatible app) to MAX: send and read messages, manage chats and members, send media, handle button presses, format with HTML/Markdown โ€” all through the open Model Context Protocol standard.

21 tools with full coverage of MAX Bot API.


Why MAX?

  • ๐Ÿ‡ท๐Ÿ‡บ National messenger mandated for pre-installation on all smartphones in Russia (September 2025)
  • ๐Ÿ“ฑ 75M+ registered users
  • ๐Ÿข Recommended by the Ministry of Digital Development for government agencies and large enterprises
  • ๐Ÿค– Full Bot API with official SDKs: TypeScript, Python, Go, Java, PHP

Quick Start

Prerequisites

  • Node.js 18+
  • A MAX bot token (create a bot at max.ru)

Claude Desktop / Cursor (stdio mode)

Add to your Claude Desktop config:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "max-messenger": {
      "command": "npx",
      "args": ["-y", "@woyax/mcp-max-messenger"],
      "env": {
        "MAX_TOKEN": "YOUR_BOT_TOKEN"
      }
    }
  }
}

Restart Claude Desktop. The MAX tools will appear automatically.

Remote / Hosted mode (HTTP)

MAX_TOKEN=YOUR_BOT_TOKEN MCP_TRANSPORT=http MCP_PORT=3000 npx @woyax/mcp-max-messenger

Connect any MCP client to http://your-server:3000/mcp.


Available Tools (21)

Messages

ToolDescription
get_messagesRead messages from a chat (by chat_id or message_ids)
send_messageSend a message with text, HTML/Markdown, inline keyboard, media attachments
edit_messageEdit message text and attachments
delete_messageDelete a message
pin_messagePin a message in a chat
unpin_messageUnpin the currently pinned message

Media

ToolDescription
send_mediaUpload and send photo, video, audio, or file by URL
send_actionShow typing indicator, "sending photo/video/audio/file", mark as read

Chats

ToolDescription
get_bot_infoBot info: name, ID, username, description
get_chatsList all group chats the bot participates in
get_chatFull chat details: participants, pinned message, owner
edit_chatRename chat, change description or icon

Members

ToolDescription
get_chat_membersList chat members with roles
get_adminsList chat administrators with permissions
set_adminGrant admin rights to a member
remove_adminRevoke admin rights
add_membersAdd users to a group chat
remove_memberRemove a user from a group chat

Events

ToolDescription
get_updatesIncoming events: messages, button presses, new dialogs (long polling)
answer_callbackRespond to inline button press: show notification or update message

Buttons (via send_message attachments)

5 button types supported: callback, link, message, request_contact, request_geo_location.


Usage Examples

Once connected to Claude Desktop, use natural language:

"Send a message to chat 123456789: 'The meeting starts in 10 minutes'"

"Send an approval request with Approve/Reject buttons to the team chat"

"Show me the last 10 messages from the announcements chat"

"Send this photo to the chat: https://example.com/image.jpg"

"Who are the members of the sales group? Make Alex an admin."

"Check for new incoming messages and button presses"


Configuration

Environment Variables

VariableRequiredDefaultDescription
MAX_TOKENโœ…โ€”Your MAX bot token
MCP_TRANSPORTโŒstdioTransport: stdio or http
MCP_PORTโŒ3000Port for HTTP mode

Command-line Flags

# Local stdio mode (default)
npx @woyax/mcp-max-messenger

# Remote HTTP mode
npx @woyax/mcp-max-messenger --transport http --port 3000

Architecture

Two independent layers โ€” tools work identically in both modes:

src/
โ”œโ”€โ”€ core/               # Business logic โ€” shared between modes
โ”‚   โ”œโ”€โ”€ max-client.ts   # MAX API HTTP client
โ”‚   โ”œโ”€โ”€ types.ts        # TypeScript types for MAX API
โ”‚   โ””โ”€โ”€ tools/
โ”‚       โ”œโ”€โ”€ bot.ts      # get_bot_info
โ”‚       โ”œโ”€โ”€ chats.ts    # get_chats, get_chat, edit_chat, send_action
โ”‚       โ”œโ”€โ”€ messages.ts # send/get/edit/delete/pin/unpin, send_media
โ”‚       โ”œโ”€โ”€ members.ts  # get_chat_members, get_admins, set/remove_admin, add/remove_members
โ”‚       โ””โ”€โ”€ updates.ts  # get_updates, answer_callback
โ”œโ”€โ”€ transports/         # Transport layer โ€” selected at runtime
โ”‚   โ”œโ”€โ”€ stdio.ts        # Local mode (Claude Desktop, Cursor)
โ”‚   โ””โ”€โ”€ http.ts         # Remote mode (Streamable HTTP)
โ””โ”€โ”€ index.ts            # Entry point: transport selection

MAX API Notes

  • Authorization: Token passed as Authorization: <token> โ€” no Bearer prefix
  • Base URL: https://platform-api.max.ru
  • Rate limit: 30 requests/second
  • Group chats: GET /chats returns group chats only
  • Personal dialogs: Accessible via get_updates โ€” use the returned chat_id with all standard tools
  • Media upload: Two-step process (upload โ†’ send). Audio/video tokens come from the upload step, not the file transfer
  • HTTP transport: Uses Streamable HTTP (SSE deprecated since MCP SDK 1.10.0)

Known MAX API Issues

  • remove_admin may return success: true without actually revoking rights โ€” confirmed bug on MAX side
  • open_app button type returns "Field 'webApp' cannot be null" โ€” MAX API bug
  • add_members may fail with add.participant.privacy if the user has privacy mode enabled

Roadmap

  • HTTP mode testing on VPS with n8n integration
  • Hosted MCP service (connect by URL, no local install)
  • Webhook support for real-time event handling
  • answer_callback testing via n8n webhook workflow

Links


Author & Support

Built by Oleg Alekseev โ€” ERP/AI integration architect.

Need help integrating AI agents with your ERP, CRM, or MAX? Custom MCP servers, n8n workflows, AI automation โ€” contact me.


License

MIT + Commons Clause ยฉ Oleg Alekseev

Free to use for personal and corporate purposes. Selling as a hosted service requires author's permission. See LICENSE for details.

Frequently asked questions

What is max-messenger MCP Server?

MCP server for MAX Messenger by VK. 21 tools: messages, media, buttons, members, events.

How do I install max-messenger MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. max-messenger MCP Server runs locally from the npm package @woyax/mcp-max-messenger with the command npx -y @woyax/mcp-max-messenger@1.2.2.

Does max-messenger MCP Server support remote (HTTP) connections?

No remote endpoint is listed for max-messenger MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does max-messenger MCP Server provide?

max-messenger MCP Server provides 20 tools, including add_members, answer_callback, delete_message, and edit_chat. See the full tool list for descriptions and parameters.

How is max-messenger MCP Server's trust score calculated?

max-messenger MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server