mcp-max-messenger
Π ΠΎΡΡΠΈΠΉΡΠΊΠΈΠ΅RUΠΠ΅ΡΠ²ΡΠΉ Π² ΠΌΠΈΡΠ΅ MCP-ΡΠ΅ΡΠ²Π΅Ρ Π΄Π»Ρ ΠΌΠ΅ΡΡΠ΅Π½Π΄ΠΆΠ΅ΡΠ° MAX β Π½Π°ΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΠ΅ΡΡΠ΅Π½Π΄ΠΆΠ΅ΡΠ° Π ΠΎΡΡΠΈΠΈ ΠΎΡ VK. 21 ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ: ΠΎΡΠΏΡΠ°Π²ΠΊΠ° ΠΈ ΡΡΠ΅Π½ΠΈΠ΅ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠΉ, HTML-ΡΠΎΡΠΌΠ°ΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΠΊΠ½ΠΎΠΏΠΊΠΈ, ΠΌΠ΅Π΄ΠΈΠ°ΡΠ°ΠΉΠ»Ρ, ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΡΡΠ°ΡΡΠ½ΠΈΠΊΠ°ΠΌΠΈ, Π²Ρ ΠΎΠ΄ΡΡΠΈΠ΅ ΡΠΎΠ±ΡΡΠΈΡ. Π£ΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°Π΅ΡΡΡ ΠΎΠ΄Π½ΠΎΠΉ ΠΊΠΎΠΌΠ°Π½Π΄ΠΎΠΉ: npx -y @woyax/mcp-max-messenger
Oleg Alekseev
Π°Π²ΡΠΎΡ
Open
Π»ΠΈΡΠ΅Π½Π·ΠΈΡ
β 6
GitHub Π·Π²ΡΠ·Π΄
MCP-ΠΊΠΎΠ½ΡΠΈΠ³
.mcp/server.json{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.woyaxnini/max-messenger",
"description": "MCP server for MAX Messenger by VK. 21 tools: messages, media, buttons, members, events.",
"repository": {
"url": "https://github.com/woyaxnini/mcp-max-messenger",
"source": "github"
},
"version": "1.2.2",
"packages": [
{
"registryType": "npm",
"identifier": "@woyax/mcp-max-messenger",
"version": "1.2.2",
"runtime": "node",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"name": "MAX_TOKEN",
"description": "MAX bot token from dev.max.ru β passed as Authorization header WITHOUT 'Bearer' prefix (MAX API quirk: non-standard auth)",
"isRequired": true,
"format": "string",
"isSecret": true
}
],
"instructions": "You are connected to MAX Messenger (max.ru) β Russian national messenger by VK. Base URL: platform-api.max.ru. Rate limit: 30 rps.\n\nKEY FACTS TO AVOID ERRORS:\n1. get_chats returns ONLY group chats. Personal dialogs are NOT listed β use get_updates to discover their chat_id.\n2. send_message and send_media require either chat_id (groups) OR user_id (direct messages) β not both, not neither.\n3. get_updates is for development/polling only. Production bots should use webhooks (POST /subscriptions).\n4. remove_admin: MAX API has a known bug β returns success:true but may not actually revoke rights. Only the chat owner can reliably remove admin rights manually in the app.\n5. remove_member: if the user has privacy mode enabled in MAX, the bot cannot re-add them after removal β warn the user before proceeding.\n6. answer_callback must be called within 30 seconds of button press β only practical via webhooks in production, not via polling.\n7. Media tokens (photo_id/token from send_media) are permanent and reusable in send_message attachments without re-uploading.\n8. open_app button type has a known MAX API bug (Field 'webApp' cannot be null) β avoid using it."
}
]
}ΠΠΎΠ±Π°Π²ΡΡΠ΅ ΡΡΠΎ Π² MCP-ΠΊΠΎΠ½ΡΠΈΠ³ Π²Π°ΡΠ΅Π³ΠΎ Π°Π³Π΅Π½ΡΠ° (.mcp.json / Cursor / Claude Code).
ΠΠ»ΠΈ ΡΠ΅ΡΠ΅Π· CLI
npx skillsbd add woyaxnini/mcp-max-messenger/mcp-max-messenger
Π’Π΅Π³ΠΈ
mcpmaxmessengerΡΠ°ΡvkΡΠΎΡΡΠΈΠΉΡΠΊΠΈΠ΅ ΡΠ΅ΡΠ²ΠΈΡΡ
ΠΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ
ΠΠΎΠΊΠ° Π½Π΅Ρ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠ΅Π²
ΠΠΎΠΉΠ΄ΠΈΡΠ΅ ΡΡΠΎΠ±Ρ ΠΎΡΡΠ°Π²ΠΈΡΡ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΉ: Π―Π½Π΄Π΅ΠΊΡ ID Β· RMR (Bitrix24)