Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ROCKETCHAT_USER_IDYesYour Rocket.Chat user ID
ROCKETCHAT_AUTH_TOKENYesPersonal Access Token
ROCKETCHAT_SERVER_URLYesWorkspace URL, e.g. https://chat.example.com
ROCKETCHAT_WATCHDOG_INTERVALNo(optional) orphan-watchdog interval in seconds, default 6060

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_usersA

List all users available to the user.

send_message_in_channelB

Send a message to a RocketChat channel.

Args:
    channel: Channel name (e.g., 'general') or channel ID
    text: Message text to send
send_direct_messageB

Send a direct message to a user.

Args:
    username: Username of the recipient
    text: Message text to send
delete_messageB

Delete a message.

Args:
    room_id: ID of the room containing the message
    msg_id: ID of the message to delete
get_unreadA

Get all rooms with unread messages and their latest unread content.

send_fileA

Send a file (image, document, etc.) to a channel or user.

Args:
    channel: Channel name, channel ID, or @username for DM
    file_path: Absolute path to the file to upload
    message: Optional text message to send with the file
list_all_roomsA

List all rooms (channels, groups and DMs) available to the user.

get_user_infoB

Get information about a specific user.

Args:
    username: Username to get information about
create_channelC

Create a new channel.

Args:
    name: Name of the channel to create
get_channel_messagesA

Get messages from a channel, group or DM (newest first).

Args:
    room_id: Room ID or room name of the channel/group/DM
    count: Number of messages to retrieve (default: 20, max: 100)
    offset: Skip this many newest messages — use to page back through history
            instead of re-reading with a larger count (e.g. offset=20 to get
            the 20 messages older than the first page)
search_messagesA

Search messages in a room by keyword. Much cheaper than paging through history with get_channel_messages when looking for a specific message.

Args:
    room_id: Room ID or room name of the channel/group/DM to search in
    query: Search keyword(s)
    count: Max results to return (default: 20, max: 100)
download_attachmentB

Download attachments from a message. Returns local file paths that can be viewed with the Read tool.

Args:
    message_id: The message ID (shown as 'id: xxx' in message listings)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/millerchou/rocketchat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server