Rocket.Chat integration
Rocket.Chat REST API v1 for self-hosted instances: post and update messages, create and archive channels and private groups, invite and remove members, set topics and announcements, read channel history, manage users, and upload files to a room. Authentication uses a personal access token plus the user id, both sent as headers.
Say what should happen.
The workflow builds itself.
Common Rocket.Chat use cases
- resolving a channel id from its name
- messaging an on-call engineer privately
- summarising a channel over the last day
- posting a generated report into a channel
- alerting a team channel when a deploy fails
- auditing accounts on a self-hosted instance
- spinning up an incident channel automatically
- checking a user is active before inviting them
- opening a private war room for a security incident
- retracting an alert that fired on a false positive
What you can do with Rocket.Chat
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Channel, 6 operations
archive_channelArchive channelPOSTArchives a Rocket.Chat public channel.create_channelCreate channelPOSTCreates a Rocket.Chat public channel with optional initial members.invite_to_channelInvite to channelPOSTAdds a user to a Rocket.Chat public channel.kick_from_channelKick from channelPOSTRemoves a user from a Rocket.Chat public channel.list_channelsList channelsGETLists the Rocket.Chat public channels of the instance.set_channel_topicSet channel topicPOSTSets the topic of a Rocket.Chat public channel.
Message, 4 operations
delete_messageDelete messagePOSTDeletes a Rocket.Chat message.get_channel_historyGet channel historyGETReads the message history of a Rocket.Chat public channel.post_messagePost messagePOSTPosts a Rocket.Chat message to a channel, group or direct message.update_messageUpdate messagePOSTEdits the text of an existing Rocket.Chat message.
User, 2 operations
get_user_infoGet user infoGETRetrieves one Rocket.Chat user by id or username.list_usersList usersGETLists the Rocket.Chat users of the instance.
Direct message, 1 operation
create_direct_messageCreate direct messagePOSTOpens a Rocket.Chat direct message room and returns its id.
File, 1 operation
upload_file_to_roomUpload file to roomPOSTUploads a file into a Rocket.Chat room as a message attachment.
Group, 1 operation
create_groupCreate groupPOSTCreates a Rocket.Chat private group.
Use Rocket.Chat from Claude Code, Cursor or Codex
Connect Rocket.Chat in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Rocket.Chat operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Rocket.Chat
- Create your workspace
Sign up free. Nothing to install.
- Connect Rocket.Chat once
Add your Rocket.Chat connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Rocket.Chat integration FAQ
What can you do with the Rocket.Chat integration?
LiveContext exposes 15 operations on Rocket.Chat, covering channel, message, user and direct message. Common uses include resolving a channel id from its name, messaging an on-call engineer privately and summarising a channel over the last day.
