Rocketchat MCP Server

MCP server for Rocket.Chat — messages, DMs, search, files, and channels over stdio

Local serverstdio

What is the Rocketchat MCP server?

If you already use Rocketchat, the rocketchat mcp server is the piece that lets your assistant work with it directly. MCP server for Rocket.Chat — messages, DMs, search, files, and channels over stdio.

What the server does

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.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • 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

Credentials and setup notes

Configuration is passed through the environment: ROCKETCHAT_SERVER_URL, ROCKETCHAT_USER_ID, ROCKETCHAT_AUTH_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Installation goes through your MCP client rather than a global install: point it at rocketchat-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Rocketchat's toolset — send_message_in_channel, send_direct_message, delete_message and 9 more — is a fair guide to whether it matches your workflow. It is maintained by millerchou; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 12 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Rocketchat.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
send_message_in_channelSend a message to a channel
send_direct_messageSend a direct message to a user
delete_messageDelete a message (your own, unless the role has force-delete)
get_channel_messagesRead history of a channel/group/DM; supports offset paging and accepts a room ID or name
search_messagesKeyword search within a room (chat.search)
get_unreadList rooms with unread messages and their latest content
send_fileUpload a file to a channel or @user
download_attachmentDownload a message's attachments to local files
list_all_roomsList channels, groups and DMs ∗
list_usersList users ∗
get_user_infoGet a user's profile
create_channelCreate a channel

How to install the Rocketchat MCP server

### Client configuration

```json
{
  "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"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ROCKETCHAT_SERVER_URLEndpoint or connection string the server talks to.Yes
ROCKETCHAT_USER_IDConfiguration value read at startup.Optional
ROCKETCHAT_AUTH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Rocketchat to send message in channel.
  • Use Rocketchat to send direct message.
  • Use Rocketchat to delete message.

Frequently asked questions

It connects Rocketchat to MCP-compatible AI assistants such as Claude and Cursor, exposing 12 tools (send_message_in_channel, send_direct_message, delete_message, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Rocketchat directly.