# Rocket.Chat MCP for AI Agents AI Agent Connect

> Rocket.Chat MCP lets your AI agent join your team's conversation. It can post messages, manage channels, and look up user info. Use it to automate announcements, handle support pings, or pull data from your workspace directly into your chat with your AI.

## Overview
- **Category:** talk-to-me
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_yQ6m4Hc2pUKZNoymv5FyFVr2aGg8ouh0Sbbph3gQ/ai-agent-connect
- **Tags:** team-chat, open-source, secure-messaging, channel-management, collaboration-tools, user-directory

## Description

This Rocket.Chat MCP lets your AI actually be a part of the team. Instead of you copy-pasting status updates from a spreadsheet into a channel, your agent can just do it. It can join a conversation to send a welcome message to a new hire or look up a team member's role when someone asks who's in charge of a project. You can tell your agent to find all public channels and summarize what's happening, or have it keep an eye on specific rooms and push out alerts. It handles the busy work of navigating through different rooms and finding the right people. This Connector makes it easy to put these capabilities into your workflow using the Vinkius catalog. You get a teammate that can actually talk to your coworkers and manage the flow of information without you having to click through every single tab. It takes the friction out of staying connected. You can have your agent monitor specific rooms and push out logs, making sure the right people see the right info at the right time. It's about moving from manually managing a chat app to having an agent that handles the communication for you.

## Tools

### chat_update_message
Edits the text of a message you already sent. It lets your agent fix typos or update details on the fly.

### get_channel_info
Pulls the details of a specific channel. Use it to see what a room is for or who manages it.

### get_user_info
Gets the profile and role of a specific user. It helps the agent identify who is who in your company.

### list_direct_messages
Shows all your active 1-on-1 chat rooms. Use this to see your current private conversations.

### list_private_groups
Lists the private channels you are a member of. It helps the agent see your restricted workspace.

### list_public_channels
Shows every public channel in your workspace. Use this to map out the whole team's chat structure.

### list_users
Pulls the full user directory from your workspace. This lets the agent find anyone in the organization.

### chat_delete_message
Deletes a specific message from a room using its ID. This is helpful for removing mistakes or sensitive info quickly.

### chat_post_message
Sends a new message to a channel or user by name. Use this for automated pings or general updates.

### chat_send_message
Sends a message to a specific room ID. This is the most reliable way to send targeted messages.

## Prompt Examples

**Prompt:** 
```
Who is the admin for the DevOps room?
```

**Response:** 
```
I checked the room details for **#devops** and found the following information:

| Role | User | Status |
| :--- | :--- | :--- |
| Admin | Richard | Active |
| Moderator | Sarah | Offline |

Would you like me to send a message to Richard to ask about the current deployment?
```

**Prompt:** 
```
Welcome the new team members to the general channel.
```

**Response:** 
```
Done! I sent the following message to **#general**:

> "Welcome to all the new members! Glad to have you here."

I can also help you list the new users who joined today if you'd like.
```

**Prompt:** 
```
List all my active direct messages.
```

**Response:** 
```
I found **4 active direct message rooms** in your account. Here are the room IDs:

*   **ID_8821**: Ongoing chat with Marketing
*   **ID_9930**: 1-on-1 with Design
*   **ID_1022**: Chat with HR
*   **ID_4451**: Private sync with Sales

Let me know if you want to send a message to any of these.
```

## Capabilities

### Post and edit messages
Your agent can send new updates to channels or direct messages and fix typos on the fly.

### Browse chat rooms
The agent can see all public and private channels to understand your workspace layout.

### Look up user profiles
Your agent can find team members and check their roles or connection status.

### Remove old messages
The agent can delete specific messages to keep your conversation history clean.

### List active conversations
Your agent can see all your current 1-on-1 direct message rooms at once.

## Use Cases

### Onboarding new team members
A new hire joins the company. The agent uses `chat_post_message` to welcome them to the #general channel and provide a first-day checklist.

### Finding the right point of contact
A user asks who handles billing. The agent uses `list_users` and `get_user_info` to identify the finance lead and provide their profile.

### Automated system alerts
A server goes down. The agent uses `chat_send_message` to push a critical log alert into a private engineering room for immediate visibility.

### Cleaning up sensitive data
Someone accidentally posts a private key. The agent uses `chat_delete_message` to remove the post immediately from the public channel.

## Benefits

- Automate team announcements using `chat_post_message` to reach everyone instantly without manual typing.
- Fix errors quickly by having your agent use `chat_update_message` to correct typos or update shared info.
- Find team members faster by pulling the directory with `list_users` and `get_user_info` to see roles.
- Keep your workspace clean by letting the agent remove old posts with `chat_delete_message` automatically.
- Get a full map of your workspace by using `list_public_channels` to see all available rooms at once.

## How It Works

The bottom line is you get a way for your AI to act as a functional member of your team's chat workspace.

1. Install the Connector and get your Personal Access Token from your Rocket.Chat profile settings.
2. Provide your Rocket.Chat URL, User ID, and Auth Token in the connection fields.
3. Ask your agent to perform tasks like sending a welcome message or listing all public channels.

## Frequently Asked Questions

**Can the Rocket.Chat MCP send messages for me?**
Yes, it lets your AI agent post messages in channels or direct messages. You can use it to send automated updates, welcomes, or alerts without leaving your current AI client.

**How do I use Rocket.Chat MCP to find employees?**
The agent can scan your workspace directory to find team members, check their roles, and see if they are currently online. This makes it easy to find the right person for a task.

**Does Rocket.Chat MCP work for private groups?**
Yes, it can see the private channels you belong to. This allows your agent to help you manage restricted workspace communications and stay updated on private discussions.

**Can the agent fix a typo in a message?**
Yes, the agent can update the text of a message you already sent. This is perfect for correcting mistakes or updating information in a shared channel quickly.

**Is Rocket.Chat MCP good for automated alerts?**
It is excellent for pushing logs or notifications to specific rooms. You can have your agent monitor systems and post alerts directly into the appropriate chat channels.

**How do I set up Rocket.Chat MCP?**
You just need to provide your Rocket.Chat URL, your User ID, and an Auth Token from your profile's Personal Access Tokens section. Once connected, your agent is ready to go.

**Can the assistant create new channels or invite new users to the Rocket.Chat workspace?**
No. This tool package is primarily focused on organic text-based communication, message manipulation (sending, modifying, deleting), and environment querying (listing what already exists). The generative capability to create workspace structural entities like 'new channels' or provisioning administrative user accounts is deactivated for baseline security in this module.

**How does `chat_post_message` differ from `chat_send_message`?**
`chat_send_message` uses a unique alphanumeric `Room ID` (e.g. 'cxyz123') to target an exact space unambiguously. Meanwhile, `chat_post_message` is designed to be human-readable, allowing your assistant to route messages to named destinations like '#general', '#dev-team', or directly to a user like '@johndoe'.

**Can the AI edit or delete messages sent by other users?**
Only if the authenticated account has the required admin or moderator permissions in the target channel. The AI inherits the same role-based restrictions as the user whose token is configured.