# ZegoCloud MCP for AI Agents AI Agent Connect

> ZegoCloud MCP lets you manage live streams and real-time messaging through your AI agent. You can kick users, stop broadcasts, and send direct messages without jumping into a dashboard. It connects your ZegoCloud infrastructure to tools like Claude or Cursor so you can handle moderation and support via natural language commands.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/undefined/ai-agent-connect
- **Tags:** rtc, video-chat, messaging-api, moderation, live-streaming

## Description

ZegoCloud MCP lets you manage live streams and real-time messaging through your AI agent. You can kick users, stop broadcasts, and send direct messages without jumping into a dashboard. It connects your ZegoCloud infrastructure to tools like Claude or Cursor so you can handle moderation and support via natural language commands.

You're running a live stream or a massive community chat and things start to go south. Instead of frantically digging through a complex admin dashboard to find a disruptive user or kill a rogue broadcast, you can just tell your agent what to do. This Connector acts as the bridge between your AI client and your ZegoCloud setup. It handles the heavy lifting of interacting with your RTC and messaging infrastructure. If a user starts spamming, you can have your agent remove them instantly. If a stream needs to be cut, you just say the word. It's about moving the control from a cluttered web interface into a simple conversation. By connecting this to the Vinkius catalog, you get a way to manage your communication environment with much less friction. It's for the people who need to keep things running smoothly without the overhead of manual clicks.

## Tools

### kickout_user
Removes a specific user from a room. Use this to stop harassment or spam immediately.

### send_peer_message
Sends a direct text message or command to a user. It's the fastest way to reach someone in a large group.

### stop_publish
Ends a specific live stream. This is your kill switch for content that shouldn't be live.

## Prompt Examples

**Prompt:** 
```
A user named 'bad_actor_99' is being really disruptive in the 'main_stage' room. Can you remove them?
```

**Response:** 
```
I've removed 'bad_actor_99' from the 'main_stage' room. They're no longer able to participate.
```

**Prompt:** 
```
Stop the broadcast for the stream with ID 'live_stream_777' right now.
```

**Response:** 
```
The broadcast for 'live_stream_777' has been stopped. The publishing session is now terminated.
```

**Prompt:** 
```
Send a message to 'user_44' saying 'Your ticket is being processed'.
```

**Response:** 
```
Sent. 'user_44' received the message: 'Your ticket is being processed'.
```

## Capabilities

### Kick disruptive users
Remove specific users from your live rooms instantly to maintain a safe environment.

### Stop active broadcasts
Terminate a live stream publishing session using a specific stream ID.

### Send direct messages
Dispatch peer-to-peer text messages or system commands to specific users.

### Manage room moderation
Control your communication environment through natural language prompts.

### Handle support requests
Send technical commands or direct messages to users from your AI console.

## Use Cases

### Live Event Moderation
A moderator notices a troll in a high-traffic room and asks the agent to remove them using kickout_user.

### Rapid Support
A support lead needs to send a technical command to a user and uses send_peer_message to do it instantly.

### Emergency Stream Cut
A broadcast goes off-script and the admin tells the agent to use stop_publish on the specific stream ID.

### Automated Room Management
A developer builds a workflow where the agent monitors chat and uses kickout_user for specific triggers.

## Benefits

- Stop harassment instantly by using kickout_user to remove bad actors from your live rooms without leaving your chat.
- Kill rogue broadcasts immediately with stop_publish to protect your content and maintain security during live events.
- Reach users directly with send_peer_message to provide support or send system commands without manual searching.
- Reduce dashboard fatigue by moving all room management tasks into a simple conversation with your AI agent.
- Speed up testing for developers who need to trigger RTC workflows and messaging logic during the build process.

## How It Works

The bottom line is you get a natural language interface for your ZegoCloud moderation and messaging tools.

1. Subscribe to the ZegoCloud MCP and enter your App ID, Server Secret, and API URL.
2. Connect the Connector to your preferred AI client like Cursor or Claude.
3. Give your agent instructions to moderate users or manage streams in real-time.

## Frequently Asked Questions

**Can I use ZegoCloud MCP to moderate my live streams?**
Yes, this Connector lets your agent monitor and manage your live content, including removing disruptive users and stopping broadcasts.

**How does ZegoCloud MCP help with user support?**
You can use it to send direct messages or system commands to specific users without having to navigate through a complex dashboard.

**Does ZegoCloud MCP work with my existing video chat setup?**
If you're already using ZegoCloud for your RTC or messaging infrastructure, this Connector connects those services to your AI client.

**Can I stop a stream using ZegoCloud MCP?**
You can tell your agent to stop a specific stream ID, which immediately terminates the publishing session.

**Is ZegoCloud MCP good for large community rooms?**
It's built for that. It helps you manage high-traffic environments by giving you a natural language way to kick users and send messages.

**What happens when I use ZegoCloud MCP to kick a user?**
Your agent identifies the user in the room and uses the kickout_user tool to remove them instantly.

**Can I remove a specific user from a video room if they are violating terms?**
Yes. Use the `kickout_user` tool by providing the Room ID and User ID. You can also include a custom reason for the removal.

**How do I stop a live stream that is currently broadcasting?**
Simply use the `stop_publish` tool with the specific Stream ID. This will immediately terminate the broadcast for that stream.

**Is it possible to send a private system command to a user's application?**
Yes. The `send_peer_message` tool allows you to send messages with type '2' (Command), which can be used to trigger logic within the recipient's app.