• TERMINATED
  • CONFIRMED
  • LOGGED
  • HUMAN

How to stop live stream broadcasts with your AI

Connect ZegoCloud to your AI client to manage active broadcasts. Once connected, you can end specific streams just by naming their IDs.

Ask AI about this page

Short answer

How do I stop a live stream using my AI?

Provide your AI with the target stream ID. It will use ZegoCloud to kill the broadcast. You'll see a confirmation once the stream is off.

The outcomes.

Where the broadcast ends.

The AI handles the technical termination so you don't have to log into a dashboard.

TERMINATED

Stream stops immediately

The AI sends the stop command to ZegoCloud. The live feed ends for all viewers right away.

CONFIRMED

Status is reported

Your AI client tells you when the command succeeds. You'll know the stream is no longer active.

LOGGED

Action is recorded

The termination is processed through the ZegoCloud connection. This ensures the backend state is updated.

HUMAN

Manual check required

If the stream ID is wrong or the connection fails, the AI will alert you. You'll need to verify the ID yourself.

The workflow

What your AI does when the command arrives.

The AI acts as the bridge between your chat and the ZegoCloud engine.

  1. Identify the stream

    The AI parses your message to find the specific stream ID you want to end.

    stop_publish
  2. Kill the broadcast

    The AI uses the provided ID to trigger the termination via ZegoCloud.

    stop_publish
  3. Verify termination

    The AI checks that the service successfully processed the stop request.

    stop_publish
  4. Notify the user

    Your AI client sends a plain text message confirming the stream is dead.

    stop_publish

Try it

Copy these to start.

Use these prompts to trigger the stop command.

Starting points

Swap out the bracketed text for your actual stream IDs.

ZegoCloud Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_aHG6b1W7K3KQMI23eWD2Zy3nI8QD6Qa3zfjCnnr6/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — ZegoCloud capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "zegocloud-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_aHG6b1W7K3KQMI23eWD2Zy3nI8QD6Qa3zfjCnnr6/mcp"
    }
  }
}
Copy into chat04
  • Stop the live stream with ID 98765 now.

  • Kill the broadcast for stream_id_abc123.

  • End the current stream with ID 55443.

  • Terminate the live feed for stream ID 10293.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect ZegoCloud once, then ask.

One click connects this MCP to your AI client. Your credentials stay encrypted and the connection stays ready for any command.

Connect ZegoCloud to your AI

FAQ

How this task behaves

  • 01

    Can the AI start a new stream?

    No. This task is only for stopping existing broadcasts.

  • 02

    Do I need to find the stream ID first?

    Yes. The AI needs the specific stream ID to know which broadcast to terminate.

  • 03

    Will the AI delete my stream history?

    No. The AI only stops the active broadcast. It cannot delete recordings or historical data.

  • 04

    Can the AI change stream settings?

    No. The AI can only trigger the stop command; it cannot modify bitrates or resolution.

  • 05

    What happens if I give the wrong ID?

    The AI will tell you it couldn't find that stream ID and the broadcast will continue running.

  • More questions about ZegoCloud? The Connector page answers them. See everything the ZegoCloud Connector can do

Connect ZegoCloud to Claude, Cursor, ChatGPT & more