Skip to main content
Glama
Rubika MCP
by NabuxAi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RUBIKA_BOT_TOKENNoRubika bot token from @BotFather for bot mode.
NABU_BROWSER_PROXYNoOptional SOCKS proxy for browser mode, e.g. socks5://127.0.0.1:1088.
NABU_BROWSER_ENABLENoSet to 1 to enable web mode using a local Chrome profile.
CHROME_EXECUTABLE_PATHNoOptional path to the Chrome executable if Chrome is not on PATH.
RUBIKA_ALLOWED_CHAT_IDSNoAllowlisted chat IDs for bot-mode writes.
RUBIKA_WEB_ALLOWED_CHATSNoAllowlisted chats for web-mode writes, e.g. me.
NABU_MESSAGING_ENABLE_SENDNoSet to 1 to enable sending, editing, deleting, pinning, forwarding, and other write operations.
NABU_WEB_ALLOW_ACCOUNT_CHANGESNoSet to 1 to allow account-changing web operations.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
rubika_bot_infoA

Show what the Rubika bot integration supports and which env vars it needs.

rubika_bot_preview_messageB

Check whether a text message would be sent, without sending.

rubika_bot_get_meA

Check the bot token and return the bot id, username and name.

rubika_bot_get_chatC

Type, title and username of a chat the bot can see.

rubika_bot_get_updatesB

Messages and events the bot received. Pass nextOffset as offset for newer ones. Marks earlier updates as delivered.

rubika_bot_send_messageA

Send ONE text message through the bot. No bulk sending. Needs confirm: true, the chat in RUBIKA_ALLOWED_CHAT_IDS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_bot_send_fileA

Send ONE file from an https URL or a path inside NABU_MESSAGING_FILE_ROOT. Needs confirm: true, the chat in RUBIKA_ALLOWED_CHAT_IDS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_bot_edit_messageA

Replace the text of a message the bot sent. Needs confirm: true, the chat in RUBIKA_ALLOWED_CHAT_IDS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_bot_delete_messageA

Delete a message the bot sent. Cannot be undone. Needs confirm: true, the chat in RUBIKA_ALLOWED_CHAT_IDS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_capabilitiesC

Which Rubika web operations are available here.

rubika_web_openA

Open Rubika Web in a visible Chrome window with a saved profile and report whether the user is signed in. Needs NABU_BROWSER_ENABLE=1; set NABU_BROWSER_PROXY (e.g. socks5://127.0.0.1:1088) when this machine has no Iranian IP.

rubika_web_statusA

Whether the web app is open and signed in, or which login step it waits on.

rubika_web_login_startA

Type the user's mobile number on the login page and continue. The verification code and any 2FA password must be typed by the user in the browser window; never ask for them in chat.

rubika_web_closeA

Close the web app window. The sign-in stays saved.

rubika_web_list_chatsC

Chats, groups and channels with chatId, title, username, unread count and whether the user can post.

rubika_web_read_chatA

Recent messages of one chat, newest first. Pass nextBeforeMessageId as beforeMessageId for older ones.

rubika_web_send_messageA

Send ONE text message from the user's own account. No bulk sending. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_send_fileA

Send ONE file (up to 20 MB) from an https URL or a path inside NABU_MESSAGING_FILE_ROOT; images go as photos. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_edit_messageA

Replace the text or caption of one of the user's messages. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_delete_messagesA

Delete messages; forEveryone (default true) also removes them for the other side where allowed. Cannot be undone. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_forward_messagesA

Forward up to 10 messages to another chat; the destination must be allowlisted. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_pin_messageA

Pin a message, or unpin it with unpin: true. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_mark_readA

Mark everything in a chat as read for the user.

rubika_web_send_locationA

Send one location pin. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_send_contactB

Send one contact card. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_send_pollA

Send one poll with 2-10 options. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

rubika_web_get_chat_infoC

Title, username, type, description, member count and the user's role.

rubika_web_get_membersB

Members of a group or channel the user can see (userId, name, username, role).

rubika_web_search_messagesB

Search messages by text in one chat (chatId) or across all chats.

rubika_web_download_mediaA

Save one message's photo, video or file under NABU_MESSAGING_FILE_ROOT/downloads/ and return its path.

rubika_web_get_unreadA

Chats with unread messages and their newest unread messages, without marking them read. Poll this to receive messages.

rubika_web_get_contactsB

The user's contacts (userId, name, username). Phone numbers are not returned.

rubika_web_create_chatA

Create one group or channel owned by the user. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

rubika_web_update_chatA

Change the title and/or description of a group or channel the user administers. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

rubika_web_get_invite_linkB

Invite link of a group or channel the user administers.

rubika_web_join_chatA

Join one group or channel by invite link or @username. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

rubika_web_leave_chatA

Leave one group or channel. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

rubika_web_add_membersA

Add up to 5 users to a group or channel the user administers. Only add people who agreed to it. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

rubika_web_remove_memberA

Remove (ban: true also blocks) one member. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

rubika_web_set_adminA

Promote one member to admin (isAdmin: true) or demote them. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in RUBIKA_WEB_ALLOWED_CHATS.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 40 tools

Disambiguation4/5

Most tools target distinct resources or actions, and the rubika_bot_ vs rubika_web_ prefixes plus detailed descriptions clarify whether an operation uses the bot API or the user's own account. However, parallel pairs such as bot/web send_message, edit_message, delete messages, and get_updates vs get_unread create some selection ambiguity.

Naming Consistency4/5

All tool names use snake_case with consistent rubika_bot_ and rubika_web_ namespaces, and most follow a readable verb_noun pattern such as send_message, get_chat_info, and add_members. A few noun-only or irregular forms like rubika_bot_info, rubika_web_status, rubika_web_capabilities, and login_start are minor deviations.

Tool Count2/5

40 tools is heavy for a messaging integration, even accounting for the split between bot API and web-account automation. The many granular web operations make the surface large enough to overwhelm tool selection rather than feeling well-scoped.

Completeness4/5

The web surface covers the core lifecycle: login/status, chats, messages, media, search, contacts, members, forwarding, pinning, and admin actions. Minor gaps remain around reactions, poll results, richer profile/chat settings, and explicit reply workflows, but core messaging workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues