Gap MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Gap MCP (گپ)
یک سرور MCP برای پیامرسان گپ، تا دستیار هوش مصنوعی (Claude، Cursor، ChatGPT و …) بتواند پیام بخواند و بفرستد. دو حالت دارد:
حالت بات — پلتفرم بات گپ: متن، فایل، ویرایش، حذف. دریافت پیام فقط با وبهوک است و اینجا پشتیبانی نمیشود.
حالت وب (اکانت خودتان) — Gap Web در یک پنجرهی Chrome محلی با پروفایل جدا باز میشود و با اکانت خودتان کار میکند. یک بار خودتان وارد میشوید (کد ورود و رمز دومرحلهای را فقط خودتان در همان پنجره میزنید) و ورود ذخیره میماند. 26 قابلیت از 26.
English summary below.
نصب در Claude Code / Claude Desktop / Cursor
{
"mcpServers": {
"gap": {
"command": "npx",
"args": ["-y", "@nabuxai/gap-mcp"],
"env": {
"NABU_MESSAGING_ENABLE_SEND": "1",
"GAP_BOT_TOKEN": "…",
"GAP_ALLOWED_CHAT_IDS": "…",
"NABU_BROWSER_ENABLE": "1",
"GAP_WEB_ALLOWED_CHATS": "me"
}
}
}
}یا در Claude Code:
claude mcp add gap -e NABU_BROWSER_ENABLE=1 -e GAP_WEB_ALLOWED_CHATS=me -- npx -y @nabuxai/gap-mcpهمهی متغیرها در .env.example توضیح داده شدهاند. توکن بات: پنل my.gap.im. حالت وب به 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: gchat-mcp
شروع حالت وب
gap_web_open— پنجره باز میشود.اگر وارد نیستید:
gap_web_login_startبا شماره موبایل؛ بعد کد را خودتان در پنجره بزنید.gap_web_list_chats،gap_web_read_chat،gap_web_send_messageو …
قابلیتهای حالت وب
قابلیت | ابزار | |
فهرست گفتگوها |
| ✅ |
خواندن پیامها |
| ✅ |
ارسال متن (و پاسخ) |
| ✅ |
ارسال عکس و فایل |
| ✅ |
ویرایش پیام |
| ✅ |
حذف پیام |
| ✅ |
هدایت (فوروارد) |
| ✅ |
سنجاق کردن |
| ✅ |
خواندهشده کردن |
| ✅ |
ارسال موقعیت |
| ✅ |
ارسال مخاطب |
| ✅ |
ارسال نظرسنجی |
| ✅ |
اطلاعات گفتگو |
| ✅ |
اعضا |
| ✅ |
جستجوی پیام |
| ✅ |
دانلود رسانه |
| ✅ |
پیامهای نخوانده |
| ✅ |
مخاطبان |
| ✅ |
ساخت گروه/کانال |
| ✅ |
تغییر نام/توضیح |
| ✅ |
لینک دعوت |
| ✅ |
عضویت |
| ✅ |
ترک گفتگو |
| ✅ |
افزودن عضو |
| ✅ |
حذف عضو |
| ✅ |
ادمین کردن |
| ✅ |
محدودیتها: Polls and pins work only in groups/channels (pins need admin); polls are single-answer with no anonymity option; removeMember cannot ban; member lists are what Gap shows this account (often empty for channels you do not run); user ids for member ops are numeric.
قفلهای امنیتی
کار | چه لازم دارد |
خواندن | توکن بات، یا پنجرهی واردشده و |
نوشتن در گفتگو (ارسال، ویرایش، حذف، سنجاق، فوروارد…) |
|
تغییر اکانت (ساخت/عضویت/ترک گفتگو، اعضا، ادمین) | همهی موارد بالا و |
ارسال انبوه وجود ندارد: هر بار یک گفتگو، و حداکثر ۵ عضو در هر بار افزودن.
هشدار: حالت وب اکانت شخصی شما را خودکار میکند و ممکن است خلاف قوانین گپ باشد؛ استفادهی نادرست میتواند به محدود شدن اکانت برسد. هر کس به پوشهی پروفایل مرورگر (~/.nabuxai/iranian-messaging-profiles/gap) دسترسی داشته باشد به اکانت شما دسترسی دارد. جزئیات در SECURITY.md.
English
An MCP server for Gap. Bot mode — Gap bot platform: text, files, edit, delete. Incoming messages arrive only by webhook, which is not covered here. Web mode drives Gap 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). 26 of 26 web operations are available here; call gap_web_capabilities for the live list.
Install: npx -y @nabuxai/gap-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 Gap.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Messaging tools for AI agents: send messages, manage chats, groups and channels.
Control your Chrome from chat: open websites, read what's on the page, click buttons, and fill in f…
Group chat for people and AI agents: read and send messages, files, polls, notes and boards.
A real browser for your agent: screenshots, page checks, Markdown and PDFs.
Related MCP Servers
- AlicenseAqualityBmaintenanceLets AI agents list, read, wait on, and send Microsoft Teams chats by driving a Chrome tab that already holds your signed-in Teams session, with attachments and per-chat send modes. No Azure app registration, bot account, or admin consent is needed.61MIT
- AlicenseAqualityBmaintenanceEnables AI agents to list spaces, read and search Google Chat conversations, and send messages or thread replies by driving the Chat web app in a signed-in Chrome profile, with no Google Chat API, OAuth app or Cloud project required.716 npmMIT
- FlicenseAqualityAmaintenanceEnables coding agents to browse chats, read and search messages, look up contacts, save received files, and send messages or files through a linked account.4572 npm-
- AlicenseNot gradedqualityCmaintenanceEnables 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