# ZEGO MCP for AI Agents AI Agent Connect

> ZEGO MCP lets you manage your live streaming and video chat infrastructure through your AI agent. It handles room metadata, user tracking, and media stream control. Instead of jumping between dashboards, you can ask your agent to see who's online, kick users from active rooms, or pull usage stats for the last week. It's the quickest way to handle RTC operations without leaving your chat window.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/undefined/ai-agent-connect
- **Tags:** rtc-infrastructure, media-streaming, room-management, audio-video-api, live-streaming, stream-control

## Description

The ZEGO MCP lets you manage your live streaming and video chat infrastructure through your AI agent. Managing a live streaming platform usually means juggling multiple tabs to check room statuses, monitor active users, and keep an eye on media streams. It's tedious work that pulls you away from actual management. You end up copy-pasting IDs and refreshing pages just to see if a broadcast is still live.

With this Connector, you just ask your agent to do the heavy lifting. You can get a pulse on your rooms, find specific users, or shut down problematic streams instantly. It turns a complex set of technical controls into a simple conversation. Whether you're moderating a high-traffic community or auditing your monthly video usage, you can get the answers you need in seconds. It's a massive time-saver when you need to react quickly to live events.

Because Vinkius hosts this Connector, you can plug it into your existing workflow and let your agent handle the heavy lifting of RTC oversight. You won't have to remember every dashboard link or API key; your agent handles the navigation so you can focus on the content. You can also use it to audit your service usage without digging through spreadsheets. If you're running a high-traffic community, having your agent monitor these stats in real time means you can spot issues before they escalate. It's about moving from reactive troubleshooting to proactive management.

## Tools

### get_room_streams
List all active media streams in a room. This helps you see exactly what is broadcasting right now.

### check_user_status
Check the status of multiple users at once. This is useful for verifying who is currently active in your system.

### get_online_count
Get the total count of users currently online. Use this to monitor your total reach across all active rooms.

### get_room_users
List all users in a specific room. Use this to see a full member list for any active space.

### get_usage_stats
Get service usage statistics for your project. This lets you pull audio and video duration for any time range.

### kick_room_user
Kick a specific user from a room. This is the fastest way to remove problematic participants from a live broadcast.

### list_rooms
List all active rooms in your project. Use this to get a high-level overview of your current live events.

### stop_media_stream
Force a specific media stream to stop. This is vital for ending unauthorized or broken broadcasts immediately.

## Prompt Examples

**Prompt:** 
```
List all the rooms currently running.
```

**Response:** 
```
I've retrieved the list of active rooms. You currently have 3 rooms online:

| Room Name | User Count | Status |
| :--- | :--- | :--- |
| Room_A | 12 | Active |
| Room_B | 5 | Active |
| Room_C | 45 | Active |

Would you like to see the members list for one of these rooms?
```

**Prompt:** 
```
Is user_88 online?
```

**Response:** 
```
I've checked the status for you. **user_88** is currently **Online** and is participating in **Room_A**. Would you like me to check the status of any other users?
```

**Prompt:** 
```
How much video did we use last week?
```

**Response:** 
```
I've pulled the usage statistics for the last 7 days:

*   **Video Duration:** 15,240 minutes
*   **Audio Duration:** 8,500 minutes

Would you like a daily breakdown of this usage?
```

## Capabilities

### List active rooms
See every live room and its metadata instantly.

### Track user status
Check if specific users are online or offline.

### Monitor room members
Get a full list of everyone in a specific room.

### Force stop streams
Terminate unauthorized or broken media broadcasts.

### Audit usage stats
Pull video and audio duration data for any time range.

### Get online counts
See how many total users are connected right now.

## Use Cases

### Emergency Stream Shutdown
A moderator notices a stream violating policy. They tell the agent to use stop_media_stream to kill it instantly.

### Rapid User Auditing
An ops lead needs to know if a VIP user is online. The agent uses check_user_status to confirm their location.

### Live Room Management
A community manager asks for a list of all rooms. The agent uses list_rooms to provide a summary of active events.

### Usage Reporting
A developer needs to know the last 7 days of video time. The agent uses get_usage_stats to provide the totals.

## Benefits

- Stop hunting through dashboards. You can use list_rooms to see every active space in one command.
- Faster moderation. Use kick_room_user to remove problematic participants instantly through your agent.
- Real-time monitoring. Use get_room_streams to see what's broadcasting without opening a browser.
- Easy auditing. Use get_usage_stats to pull video and audio duration for your monthly reports.
- Quick health checks. Use get_online_count to see your total reach across all active rooms.

## How It Works

The bottom line is you get a voice-controlled dashboard for your live streaming infrastructure.

1. Subscribe to the ZEGO MCP on Vinkius.
2. Input your ZEGO AppID and ServerSecret in your AI client.
3. Ask your agent to list rooms or check user status in plain English.

## Frequently Asked Questions

**Can I use the ZEGO MCP to kick people from a live stream?**
Yes, you can ask your agent to remove specific users from a room immediately. This helps you enforce safety policies without leaving your chat interface.

**How do I get usage stats for my video calls using ZEGO?**
You can ask your agent to pull the audio and video duration for any specific time range. It will give you the total minutes consumed for that period.

**Can it show me who is in a specific room?**
Yes, your agent can list all members of a specific room on demand. This is great for monitoring room activity in real time.

**Does the ZEGO MCP support live stream monitoring?**
It allows your agent to see all active media streams in a room. You can use this to monitor broadcasts or identify problematic streams.

**How do I check if my users are online?**
You can ask your agent to check the status of multiple users at once. It will tell you who is online and which room they are in.

**How do I find my ZEGO AppID and ServerSecret?**
Log in to the [ZEGO Admin Console](https://console.zego.im/), create or select a project, and you will find your AppID and ServerSecret in the project configuration or basic information section.

**What is the SignatureNonce used for?**
The SignatureNonce is a random string used to prevent replay attacks. This server automatically generates a fresh nonce for every request to ensure high security for your RTC management.

**Can I kick a user from a specific room?**
Yes! Use the `kick_room_user` tool with the target RoomId and UserId. You can also provide a custom message that the user will see when they are disconnected.