
Rocketchat Mcp
io.github.millerchou由 GitHub 帳號 millerchou 發布v0.1.0更新於 Oct 24, 2026
MCP server for Rocket.Chat — messages, DMs, search, files, and channels over stdio
概覽
一個本機 MCP 伺服器,讓助理在 Rocket.Chat 工作區中讀取、傳送、搜尋與管理訊息、檔案和頻道。
- 可以做什麼
- 傳送訊息到頻道、傳送私訊給使用者,並在權限允許時刪除自己的訊息。分頁讀取頻道、群組與私訊歷史,依關鍵字搜尋訊息,列出有未讀訊息的房間。上傳檔案到頻道或使用者,並將訊息附件(含引用附件)下載到本機檔案。列出房間與使用者、查看使用者資料、建立頻道。
- 適用情境
- 當你希望助理在 Rocket.Chat 工作區內工作時使用:草擬並傳送訊息或私訊、查看未讀房間、搜尋過往對話,或匯入匯出附件。適合已使用 Rocket.Chat 的團隊,而非其他聊天平台。
- 執行需求
- 以 Python 套件形式透過 uvx 在本機執行。需要工作區網址(ROCKETCHAT_SERVER_URL)、使用者 ID(ROCKETCHAT_USER_ID)與個人存取權杖(ROCKETCHAT_AUTH_TOKEN);也支援以命令列參數提供使用者名稱與密碼。需要能連線工作區的網路,自簽憑證需額外參數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Rocketchat Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
rocketchat-mcp
An MCP server for Rocket.Chat. It lets MCP clients (Claude Desktop, Cursor, Claude Code, etc.) send and read messages, send DMs, search history, upload/download files, and manage channels on a Rocket.Chat workspace over stdio.
Actively maintained fork of elieworkspace/rocketchat-mcp, adding Personal Access Token auth, more tools, and reliability/security improvements. See NOTICE for attribution.
Tools
Quoted messages and attachments
Message listings include quoted text and uploaded files inside quotes. A quote is a snapshot shared in the containing message; the original room may no longer be accessible. Use the containing message ID when downloading a quoted attachment. You do not need to read the original room first.
download_attachment(message_id, attachment_id) downloads the selected file ID shown
in the listing. Omitting attachment_id retains the existing behavior of downloading
all supported attachments, now including quoted files. The server still enforces file
access permissions. File references must originate from this Rocket.Chat server's
upload path; redirects to file storage do not receive Rocket.Chat authentication headers.
Downloads use unique temporary filenames and do not overwrite prior downloads.
HTTP errors include the server's error type and message when available, so a missing message, an access failure, and a network failure are not reduced to the same diagnosis. Configured authentication secrets are excluded from these error summaries.
∗ list_all_rooms and list_users call workspace-wide endpoints
(channels.list / users.list) that require admin or the corresponding
view-* permission. Every other tool works for a normal chat user.
Authentication
A normal chat user is enough for the core tools. A Personal Access Token is recommended — it keeps the token out of process arguments:
Username/password is also supported via --username / --password.
Use --no-verify-ssl for self-signed certificates.
Usage
Run with uvx
To run the latest unreleased code straight from GitHub instead:
Client configuration
Local development
Reliability
Run the offline attachment and API error tests with:
The tests use synthetic messages and an HTTP mock transport; no chat account is needed.
Persistent HTTP connection pool, room-endpoint caching, log rotation (1 MB), and an orphan watchdog that self-exits when the MCP client process dies.
License
Modifications in this fork are released under the MIT License. This is a fork of upstream code originally published without a license; see NOTICE for details.
來源:README.md,提交 cddff60
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分