rocketchat-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_PORT | No | Port for HTTP transport (default: 8000) | |
| READ_ONLY | No | Set to 'true' to enable read-only mode (write tools hidden) | |
| RCMCP_LOG_JSON | No | Set to 'true' to enable JSON logging | |
| ROCKETCHAT_URL | Yes | URL of the Rocket.Chat server (e.g., https://chat.example.com) | |
| RCMCP_READ_ONLY | No | Alternative to READ_ONLY using RCMCP_ prefix | |
| ROCKETCHAT_USER_ID | Yes | User ID corresponding to the auth token | |
| RCMCP_APPROVE_WRITES | No | Set to 'true' to require human approval for consequential writes | |
| RCMCP_ENABLE_METRICS | No | Set to 'true' to expose /metrics endpoint | |
| RCMCP_GATEWAY_TOKENS | No | Comma-separated token:principal pairs for HTTP transport gateway | |
| ROCKETCHAT_AUTH_TOKEN | Yes | Personal access token for authentication |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_channelsA | List public channels. Optional |
| list_joined_channelsB | List channels the authenticated user has joined. |
| get_channel_infoA | Get details for a channel or private group by name or ID. |
| list_groupsA | List private groups the authenticated user belongs to. |
| get_channel_membersC | List members of a channel or private group. |
| get_channel_messagesB | Get channel history, newest first.
|
| search_messagesC | Search for text within a channel. |
| get_message_contextC | Get N messages before and after a target message (target flagged is_target). |
| send_messageC | Post a message to a channel or group. |
| edit_messageC | Edit an existing message (needs room_id and message_id). |
| delete_messageC | Delete a message (needs room_id and message_id). Destructive. |
| get_thread_messagesC | Get the replies in a thread. |
| get_pinned_messagesB | Get pinned messages in a channel. |
| reply_to_threadA | Reply into a thread. |
| add_reactionB | Add an emoji reaction to a message (e.g. |
| pin_messageC | Pin a message. |
| unpin_messageC | Unpin a message. |
| list_usersB | List users. Optional |
| get_user_infoA | Get details for a user by username. |
| list_dmsB | List direct-message conversations. |
| send_dmA | Send a direct message to a user (creates the DM room if needed). |
| list_room_filesC | List files shared in a room. |
| download_fileA | Download a file from the configured Rocket.Chat server. Returns an image, plain text, or a base64 blob depending on content type. Only fetches from the configured server host (SSRF-guarded, 25 MB cap). |
| send_fileB | Upload a base64-encoded file to a room. |
| get_channel_digestA | Summarise channel activity over the last N hours (active users, threads, files). |
| get_mentionsB | Get messages that mention the authenticated user in a channel. |
| get_unread_channelsA | List channels with unread messages, sorted by unread count descending. |
| mark_as_readB | Mark all messages in a channel as read (clears the unread counter). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/GavinTomlins/rocketchat-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server