Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus MCP (سروش پلاس)

npm CI license

یک سرور MCP برای پیام‌رسان سروش پلاس، تا دستیار هوش مصنوعی (Claude، Cursor، ChatGPT و …) بتواند پیام بخواند و بفرستد. دو حالت دارد:

  • حالت بات — Bot API سروش پلاس (شبیه تلگرام، api.splus.ir): متن، عکس، دریافت پیام‌ها و getChat تأیید شده‌اند؛ بقیه امتحان می‌شوند.

  • حالت وب (اکانت خودتان) — Soroush Plus Web در یک پنجره‌ی Chrome محلی با پروفایل جدا باز می‌شود و با اکانت خودتان کار می‌کند. یک بار خودتان وارد می‌شوید (کد ورود و رمز دومرحله‌ای را فقط خودتان در همان پنجره می‌زنید) و ورود ذخیره می‌ماند. 25 قابلیت از 26.

English summary below.

نصب در Claude Code / Claude Desktop / Cursor

{
  "mcpServers": {
    "soroushplus": {
      "command": "npx",
      "args": ["-y", "@nabuxai/soroushplus-mcp"],
      "env": {
        "NABU_MESSAGING_ENABLE_SEND": "1",
        "SOROUSHPLUS_BOT_TOKEN": "…",
        "SOROUSHPLUS_ALLOWED_CHAT_IDS": "…",
        "NABU_BROWSER_ENABLE": "1",
        "SOROUSHPLUS_WEB_ALLOWED_CHATS": "me"
      }
    }
  }
}

یا در Claude Code:

claude mcp add soroushplus -e NABU_BROWSER_ENABLE=1 -e SOROUSHPLUS_WEB_ALLOWED_CHATS=me -- npx -y @nabuxai/soroushplus-mcp

همه‌ی متغیرها در .env.example توضیح داده شده‌اند. توکن بات: splus.ir/botfather. حالت وب به Chrome نصب‌شده نیاز دارد (یا CHROME_EXECUTABLE_PATH).

IP ایران: وب‌اپ و API بیشتر پیام‌رسان‌های ایرانی فقط از IP ایران جواب می‌دهند. اگر سیستم شما IP خارج دارد، از یک سرور داخل ایران تونل بزنید و NABU_BROWSER_PROXY=socks5://127.0.0.1:1088 بدهید:

ssh -N -D 127.0.0.1:1088 <server-in-iran>

Related MCP server: dibaMCP

شروع حالت وب

  1. soroushplus_web_open — پنجره باز می‌شود.

  2. اگر وارد نیستید: soroushplus_web_login_start با شماره موبایل؛ بعد کد را خودتان در پنجره بزنید.

  3. soroushplus_web_list_chats، soroushplus_web_read_chat، soroushplus_web_send_message و …

قابلیت‌های حالت وب

قابلیت

ابزار

فهرست گفتگوها

soroushplus_web_list_chats

✅

خواندن پیام‌ها

soroushplus_web_read_chat

✅

ارسال متن (و پاسخ)

soroushplus_web_send_message

✅

ارسال عکس و فایل

soroushplus_web_send_file

✅

ویرایش پیام

soroushplus_web_editText

✅

حذف پیام

soroushplus_web_deleteMessages

✅

هدایت (فوروارد)

soroushplus_web_forwardMessages

✅

سنجاق کردن

soroushplus_web_pinMessage

✅

خوانده‌شده کردن

soroushplus_web_markRead

✅

ارسال موقعیت

soroushplus_web_sendLocation

—

ارسال مخاطب

soroushplus_web_sendContact

✅

ارسال نظرسنجی

soroushplus_web_sendPoll

✅

اطلاعات گفتگو

soroushplus_web_getChatInfo

✅

اعضا

soroushplus_web_getMembers

✅

جستجوی پیام

soroushplus_web_searchMessages

✅

دانلود رسانه

soroushplus_web_downloadMedia

✅

پیام‌های نخوانده

soroushplus_web_getUnread

✅

مخاطبان

soroushplus_web_getContacts

✅

ساخت گروه/کانال

soroushplus_web_createChat

✅

تغییر نام/توضیح

soroushplus_web_updateChat

✅

لینک دعوت

soroushplus_web_getInviteLink

✅

عضویت

soroushplus_web_joinChat

✅

ترک گفتگو

soroushplus_web_leaveChat

✅

افزودن عضو

soroushplus_web_addMembers

✅

حذف عضو

soroushplus_web_removeMember

✅

ادمین کردن

soroushplus_web_setAdmin

✅

محدودیت‌ها: No location sending (the web app has no way to send one); polls only in groups and channels. New groups need at least one member (create a channel instead for an empty one); setAdmin works on channels and supergroups only; pins in one-to-one chats are one-sided; getMembers returns up to 200 recent members and needs admin rights in channels; getInviteLink only returns an existing link (never creates or revokes one).

قفل‌های امنیتی

کار

چه لازم دارد

خواندن

توکن بات، یا پنجره‌ی واردشده و NABU_BROWSER_ENABLE=1

نوشتن در گفتگو (ارسال، ویرایش، حذف، سنجاق، فوروارد…)

confirm: true، گفتگو در SOROUSHPLUS_ALLOWED_CHAT_IDS (بات) یا SOROUSHPLUS_WEB_ALLOWED_CHATS (وب)، و NABU_MESSAGING_ENABLE_SEND=1

تغییر اکانت (ساخت/عضویت/ترک گفتگو، اعضا، ادمین)

همه‌ی موارد بالا و NABU_WEB_ALLOW_ACCOUNT_CHANGES=1

ارسال انبوه وجود ندارد: هر بار یک گفتگو، و حداکثر ۵ عضو در هر بار افزودن.

هشدار: حالت وب اکانت شخصی شما را خودکار می‌کند و ممکن است خلاف قوانین سروش پلاس باشد؛ استفاده‌ی نادرست می‌تواند به محدود شدن اکانت برسد. هر کس به پوشه‌ی پروفایل مرورگر (~/.nabuxai/iranian-messaging-profiles/soroushplus) دسترسی داشته باشد به اکانت شما دسترسی دارد. جزئیات در SECURITY.md.


English

An MCP server for Soroush Plus. Bot mode — Soroush Plus's Telegram-style Bot API (api.splus.ir): text, photo, updates and getChat are confirmed; other calls are attempted. Web mode drives Soroush Plus Web in a local Chrome window with your own signed-in account (you type the sign-in code yourself in that window; the session is kept in a local profile). 25 of 26 web operations are available here; call soroushplus_web_capabilities for the live list.

Install: npx -y @nabuxai/soroushplus-mcp (see the JSON config above; every variable is documented in .env.example). Writes need confirm: true, an allowlisted chat and NABU_MESSAGING_ENABLE_SEND=1; account changes also need NABU_WEB_ALLOW_ACCOUNT_CHANGES=1. There is no bulk sending. Most Iranian messenger hosts only answer Iranian IPs; use NABU_BROWSER_PROXY with a SOCKS tunnel if needed.

Built on @nabuxai/iranian-messaging-core. Sister servers: eitaa-mcp, rubika-mcp, bale-mcp, soroushplus-mcp, gap-mcp.

MIT © NabuxAI. Community project; not affiliated with or endorsed by Soroush Plus.

Available Tools

39 tools
soroushplus_bot_delete_messageSoroush Plus bot: deleteA
DestructiveIdempotent

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

Inputs: chatId (required), confirm (required), messageId (required).

soroushplus_bot_edit_messageSoroush Plus bot: editA
Idempotent

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

Inputs: text (required), chatId (required), confirm (required), messageId (required).

soroushplus_bot_get_chatSoroush Plus bot: chat infoC
Read-onlyIdempotent

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

Inputs: chatId (required).

soroushplus_bot_get_meSoroush Plus bot: who am IA
Read-onlyIdempotent

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

Inputs: no named parameters.

soroushplus_bot_get_updatesSoroush Plus bot: incomingC
Read-only

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

Inputs: limit, offset.

soroushplus_bot_infoSoroush Plus bot: setupA
Read-onlyIdempotent

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

Inputs: no named parameters.

soroushplus_bot_preview_messageSoroush Plus bot: previewB
Read-onlyIdempotent

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

Inputs: text (required), chatId (required).

soroushplus_bot_send_fileSoroush Plus bot: send fileA

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

Inputs: chatId (required), confirm (required), kind, caption, +2 more.

soroushplus_bot_send_messageSoroush Plus bot: send textA

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

Inputs: text (required), chatId (required), confirm (required), replyToMessageId.

soroushplus_web_add_membersSoroush Plus (own account): 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 SOROUSHPLUS_WEB_ALLOWED_CHATS.

Inputs: chatId (required), confirm (required), userIds (required).

soroushplus_web_capabilitiesSoroush Plus (own account): capabilitiesC
Read-onlyIdempotent

Which Soroush Plus web operations are available here.

Inputs: no named parameters.

soroushplus_web_closeSoroush Plus (own account): closeA

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

Inputs: no named parameters.

soroushplus_web_create_chatSoroush Plus (own account): create group/channelA

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 SOROUSHPLUS_WEB_ALLOWED_CHATS.

Inputs: type (required), title (required), confirm (required), about.

soroushplus_web_delete_messagesSoroush Plus (own account): deleteA
DestructiveIdempotent

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 SOROUSHPLUS_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

Inputs: chatId (required), confirm (required), messageIds (required), forEveryone.

soroushplus_web_download_mediaSoroush Plus (own account): download mediaA

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

Inputs: chatId (required), messageId (required).

soroushplus_web_edit_messageSoroush Plus (own account): editA
Idempotent

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

Inputs: text (required), chatId (required), confirm (required), messageId (required).

soroushplus_web_forward_messagesSoroush Plus (own account): forwardA

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

Inputs: confirm (required), toChatId (required), fromChatId (required), messageIds (required).

soroushplus_web_get_chat_infoSoroush Plus (own account): chat detailsC
Read-onlyIdempotent

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

Inputs: chatId (required).

soroushplus_web_get_contactsSoroush Plus (own account): contactsB
Read-onlyIdempotent

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

Inputs: limit, query.

soroushplus_web_get_membersSoroush Plus (own account): membersC
Read-onlyIdempotent

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

Inputs: chatId (required), limit, query.

soroushplus_web_get_unreadSoroush Plus (own account): unreadA
Read-onlyIdempotent

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

Inputs: limit.

soroushplus_web_join_chatSoroush Plus (own account): joinA

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 SOROUSHPLUS_WEB_ALLOWED_CHATS.

Inputs: link (required), confirm (required).

soroushplus_web_leave_chatSoroush Plus (own account): leaveA
Destructive

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 SOROUSHPLUS_WEB_ALLOWED_CHATS.

Inputs: chatId (required), confirm (required).

soroushplus_web_list_chatsSoroush Plus (own account): list chatsC
Read-onlyIdempotent

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

Inputs: limit, query.

soroushplus_web_login_startSoroush Plus (own account): start sign-inA

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.

Inputs: phone (required).

soroushplus_web_mark_readSoroush Plus (own account): mark readB
Idempotent

Mark everything in a chat as read for the user.

Inputs: chatId (required).

soroushplus_web_openSoroush Plus (own account): openA

Open Soroush Plus 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.

Inputs: no named parameters.

soroushplus_web_pin_messageSoroush Plus (own account): pin/unpinA
Idempotent

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

Inputs: chatId (required), confirm (required), messageId (required), unpin.

soroushplus_web_read_chatSoroush Plus (own account): read chatA
Read-onlyIdempotent

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

Inputs: chatId (required), limit, beforeMessageId.

soroushplus_web_remove_memberSoroush Plus (own account): remove memberA
Destructive

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 SOROUSHPLUS_WEB_ALLOWED_CHATS.

Inputs: chatId (required), userId (required), confirm (required), ban.

soroushplus_web_search_messagesSoroush Plus (own account): searchB
Read-onlyIdempotent

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

Inputs: query (required), limit, chatId.

soroushplus_web_send_contactSoroush Plus (own account): send contactB

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

Inputs: phone (required), chatId (required), confirm (required), firstName (required), +1 more.

soroushplus_web_send_fileSoroush Plus (own account): 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 SOROUSHPLUS_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

Inputs: chatId (required), confirm (required), caption, fileUrl, +1 more.

soroushplus_web_send_messageSoroush Plus (own account): send textA

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

Inputs: text (required), chatId (required), confirm (required), replyToMessageId.

soroushplus_web_send_pollSoroush Plus (own account): send pollA

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

Inputs: chatId (required), confirm (required), options (required), question (required), +2 more.

soroushplus_web_set_adminSoroush Plus (own account): admin rightsA
Idempotent

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 SOROUSHPLUS_WEB_ALLOWED_CHATS.

Inputs: chatId (required), userId (required), confirm (required), isAdmin.

soroushplus_web_statusSoroush Plus (own account): sign-in statusA
Read-onlyIdempotent

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

Inputs: no named parameters.

soroushplus_web_update_chatSoroush Plus (own account): rename/describeA
Idempotent

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 SOROUSHPLUS_WEB_ALLOWED_CHATS.

Inputs: chatId (required), confirm (required), about, title.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 39 tools

    Disambiguation4/5

    The bot_/web_ prefix split cleanly separates the two surfaces, and most tools target a distinct resource+action (pin, forward, join, get_members, download_media). The main risk is near-twin pairs like soroushplus_bot_send_message vs soroushplus_web_send_message (or the edit/delete pairs), where the agent must remember which identity is acting; the descriptions do disambiguate for a careful reader.

    Naming Consistency4/5

    Everything is snake_case under a uniform soroushplus_ prefix, then bot_/web_ plus verb_noun, which is highly predictable. Minor deviations: noun-less helpers (soroushplus_bot_info, soroushplus_web_close, soroushplus_web_status) and a singular/plural mismatch between bot_delete_message and web_delete_messages.

    Tool Count2/5

    39 tools is well past a comfortable agent-facing surface, and a good chunk of that is duplication between the bot API and the browser-automation path (send, send_file, edit, delete each exist twice). The union of two messaging surfaces could plausibly be trimmed or consolidated.

    Completeness4/5

    Coverage is broad: read/send/edit/delete/forward/pin/search/download, contacts, member and admin management, invite links, join/leave, polls, contact cards, plus a bot receive loop with offsets. Gaps are modest — no reply/threading, reactions, or location/voice sending, and the bot side lacks member listing or media download.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to control and automate your Chrome browser directly, leveraging existing login states and configurations for tasks like content analysis, semantic search across tabs, screenshots, network monitoring, and interactive operations.
      13
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI clients such as Claude and Cursor to send messages and media through Iranian messaging services including Bale, Eitaa, Rubika, and Soroush Plus via MCP tools. Includes a Persian dashboard for managing bot tokens, MCP connection settings, logging, and security limits.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to read and send messages on the Eitaa messenger, either through the Eitaayar bot API or by driving a locally signed-in web session. Supports chat listing, media and file sending, message management, contacts, groups, channels, and guarded write operations.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Lets AI assistants read and send Rubika messages through either the official Bot API v3 (text, file uploads, edits, deletions, updates) or a locally driven Rubika Web session using your own signed-in account. Web mode covers 26 messaging and chat-management operations such as media, polls, contacts, locations, forwarding, member/admin handling and invite links, all gated by confirmation flags, chat allowlists and optional account-change locks.
      40
      MIT