rocketchat-mcp MCP Server
MCP server for Rocket.Chat — messages, DMs, search, files, and channels over stdio
rocketchat-mcp scores 62 (Good), licensed MIT and written in Python. It installs as a local process. It declares 12 tools. Filed under Search, Communication, File systems. GitHub shows 1 stars. Package registries report about 34 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
62 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
85/100 for listing completeness. Lost points: 3 of 12 tools barely described, short summary, no docs link.
How quality is graded
Where the 62 comes from
22 + 15 + 1 + 10 + 4 + 10 = 62. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "millerchou-rocketchat-mcp": { "command": "uvx", "args": [ "rocketchat-mcp" ], "env": { "ROCKETCHAT_SERVER_URL": "", "ROCKETCHAT_USER_ID": "YOUR_ROCKETCHAT_USER_ID", "ROCKETCHAT_AUTH_TOKEN": "YOUR_ROCKETCHAT_AUTH_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ROCKETCHAT_SERVER_URL | Required | RocketChat workspace URL, e.g. https://chat.example.com |
ROCKETCHAT_USER_IDSecret | Required | RocketChat user ID |
ROCKETCHAT_AUTH_TOKENSecret | Required | RocketChat personal access token |
Tools12Tool docs quality grade C
All capabilitiescreate_channeltoolCreate a channel
delete_messagetoolDelete a message (your own, unless the role has force-delete)
Download a message's attachments to local files
Read history of a channel/group/DM; supports offset paging and accepts a room ID or name
get_unreadtoolList rooms with unread messages and their latest content
get_user_infotoolGet a user's profile
list_all_roomstoolList channels, groups and DMs ∗
list_userstoolList users ∗
search_messagestoolKeyword search within a room (chat.search)
Send a direct message to a user
send_filetoolUpload a file to a channel or @user
Send a message to a channel
About
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
| Tool | Description |
|---|---|
send_message_in_channel | Send a message to a channel |
send_direct_message | Send a direct message to a user |
delete_message | Delete a message (your own, unless the role has force-delete) |
get_channel_messages | Read history of a channel/group/DM; supports offset paging and accepts a room ID or name |
search_messages | Keyword search within a room (chat.search) |
get_unread | List rooms with unread messages and their latest content |
send_file | Upload a file to a channel or @user |
download_attachment | Download a message's attachments to local files |
list_all_rooms | List channels, groups and DMs ∗ |
list_users | List users ∗ |
get_user_info | Get a user's profile |
create_channel | Create a channel |
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:
| Variable | Description |
|---|---|
ROCKETCHAT_SERVER_URL | Workspace URL, e.g. https://chat.example.com |
ROCKETCHAT_USER_ID | Your Rocket.Chat user ID |
ROCKETCHAT_AUTH_TOKEN | Personal Access Token |
ROCKETCHAT_WATCHDOG_INTERVAL | (optional) orphan-watchdog interval in seconds, default 60 |
Username/password is also supported via --username / --password.
Use --no-verify-ssl for self-signed certificates.
Usage
Run with uvx
uvx rocketchat-mcp --server-url https://chat.example.com
To run the latest unreleased code straight from GitHub instead:
uvx --from git+https://github.com/millerchou/rocketchat-mcp rocketchat-mcp --server-url https://chat.example.com
Client configuration
{
"mcpServers": {
"rocketchat": {
"command": "uvx",
"args": ["rocketchat-mcp"],
"env": {
"ROCKETCHAT_SERVER_URL": "https://chat.example.com",
"ROCKETCHAT_USER_ID": "your_user_id",
"ROCKETCHAT_AUTH_TOKEN": "your_personal_access_token"
}
}
}
}
Local development
git clone https://github.com/millerchou/rocketchat-mcp
cd rocketchat-mcp
uv run rocketchat.py --server-url https://chat.example.com \
--auth-token "$ROCKETCHAT_AUTH_TOKEN" --user-id "$ROCKETCHAT_USER_ID"
Reliability
Run the offline attachment and API error tests with:
uv run python -m unittest discover -s tests -v
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.
Frequently asked questions
What is rocketchat-mcp MCP Server?
MCP server for Rocket.Chat — messages, DMs, search, files, and channels over stdio
How do I install rocketchat-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. rocketchat-mcp MCP Server runs locally from the PyPI package rocketchat-mcp with the command uvx rocketchat-mcp.
Is rocketchat-mcp MCP Server free and open source?
Yes. rocketchat-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does rocketchat-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for rocketchat-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does rocketchat-mcp MCP Server provide?
rocketchat-mcp MCP Server provides 12 tools, including create_channel, delete_message, download_attachment, and get_channel_messages. See the full tool list for descriptions and parameters.
How is rocketchat-mcp MCP Server's trust score calculated?
rocketchat-mcp MCP Server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.