
Max Messenger
io.github.woyaxnini由 GitHub 账号 woyaxnini 发布v1.2.2更新于 Oct 24, 2026
MCP server for MAX Messenger by VK. 21 tools: messages, media, buttons, members, events.
概览
面向 MAX Messenger(VK)的本地 MCP 服务器,让助手通过 MAX 机器人收发、编辑和管理消息、媒体、群聊与成员。
- 可以做什么
- 读取、发送、编辑、删除、置顶和取消置顶消息,支持 HTML/Markdown 文本与内联按钮,并可按 URL 发送图片、视频、音频或文件,以及通过 send_action 显示输入中、已读等状态。列出群聊、查看群聊详情,并重命名群聊或修改其描述与图标。列出成员和管理员,授予或撤销管理员权限,添加或移除群成员。轮询接收消息和按钮点击等事件,并回应内联按钮回调。
- 适用场景
- 当助手需要在 MAX Messenger 群聊中工作时使用:发布通知或带按钮的审批请求、读取最近消息、发送媒体,或管理群成员与管理员。
- 运行要求
- 需要 Node.js 18+,通过 npx 运行本地 npm 包。需要 max.ru 创建的 MAX 机器人令牌,放在 MAX_TOKEN 环境变量中。托管 HTTP 模式可选设置 MCP_TRANSPORT(stdio 或 http)与 MCP_PORT。需要访问 MAX API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Max Messenger,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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
Restart Claude Desktop. The MAX tools will appear automatically.
Remote / Hosted mode (HTTP)
Connect any MCP client to http://your-server:3000/mcp.
Available Tools (21)
Messages
Media
Chats
Members
Events
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
Command-line Flags
Architecture
Two independent layers — tools work identically in both modes:
MAX API Notes
- Authorization: Token passed as
Authorization: <token>— noBearerprefix - Base URL:
https://platform-api.max.ru - Rate limit: 30 requests/second
- Group chats:
GET /chatsreturns group chats only - Personal dialogs: Accessible via
get_updates— use the returnedchat_idwith 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_adminmay returnsuccess: truewithout actually revoking rights — confirmed bug on MAX sideopen_appbutton type returns "Field 'webApp' cannot be null" — MAX API bugadd_membersmay fail withadd.participant.privacyif 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_callbacktesting via n8n webhook workflow
Links
Author & Support
Built by Oleg Alekseev — ERP/AI integration architect.
- 📧 [email protected] · [email protected]
- 💬 Telegram: @ale_oleg · Channel: @woyax_ai
- 💬 MAX: max.ru/id503610654564_biz
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.
来源:README.md,提交 4a3233a
工具
0版本历史
1- v1.2.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。