# Livepeer MCP for AI Agents AI Agent Connect

> Livepeer (Decentralized Video) lets you manage your entire decentralized video pipeline through an AI agent. Upload assets from URLs, launch live streams, generate clips from live content, and track real-time viewership metrics without switching tabs. It handles the heavy lifting of decentralized infrastructure so you can focus on the content.

## Overview
- **Category:** cloud-infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_fjDOPbIpbS2r18Rlnx6oGwNsUVinBeLE4ljCAckN/ai-agent-connect
- **Tags:** video-streaming, decentralized-video, live-streaming, video-api, web3-video

## Description

Managing decentralized video infrastructure usually means jumping between complex dashboards, juggling API keys, and constantly refreshing pages to see if a stream is actually live. This Connector changes that by letting you handle the entire lifecycle of your video content through a natural conversation with your AI agent. You can tell your agent to grab a video from a decentralized link, set up a broadcast for multiple platforms at once, or pull down a specific clip from a broadcast you just finished. It turns a multi-tab workflow into a single chat interface. When you connect this via Vinkius, you get a direct line to your video pipeline, making it easy to manage assets, monitor viewership, and handle transcoding without ever leaving your workspace.

## Tools

### delete_multistream_target
Delete a multistream target. Remove broadcasting targets you no longer need.

### delete_stream
Delete a stream. This shuts down and removes a stream from your account.

### delete_webhook
Delete a webhook. Remove old event listeners from your account.

### get_asset
Retrieve details of a specific asset. Use this to see the metadata for a specific video file.

### get_multistream_target
Retrieve a multistream target. See the details of your current broadcasting targets.

### get_playback_info
Retrieve metadata and URLs for playing back assets or streams. This gives you the links needed to view content.

### get_realtime_viewership
Query real-time viewership metrics. Check how many people are watching your stream right now.

### get_session_clips
Retrieve clips associated with a specific session. See all the highlights saved from a past broadcast.

### get_session
Retrieve details of a specific broadcast session. View the history and stats of a past live event.

### get_stream
Retrieve details of a specific stream. Check the status and metadata of your current live broadcast.

### get_task
Retrieve a specific task. Use this to check the progress of an upload or a transcoding job.

### get_usage_metrics
Query usage metrics. See your total minutes transcoded and delivered to understand your costs.

### get_viewership_metrics
Query viewership metrics. Get a breakdown of your audience by device, browser, and location.

### get_webhook
Retrieve a specific webhook. This lets you see the configuration for your event listeners.

### create_clip
Create a short video clip from a live stream. You can use this to save highlights without manual editing.

### create_multistream_target
Create a multistream target. Use this to set up broadcasting for platforms like Twitch or YouTube.

### create_room
Create a real-time WebRTC multi-participant video room. This builds a space for live group interaction.

### create_room_user
Create a user for a specific room. Use this to manage who can join your video session.

### create_stream
Create a new live stream. Use this to launch your broadcast and get your stream keys.

### create_transcode_job
Create an on-demand video transcode job. This kicks off a process to convert your video into different formats.

### create_webhook
Create a webhook to subscribe to real-time events. This lets you get notified about stream status changes.

### delete_asset
Delete an asset. Use this to remove old video files from your storage.

### list_assets
Retrieve all assets. See a full list of every video file in your account.

### list_sessions
Retrieve all broadcast sessions. See a history of all your past live events.

### list_streams
Retrieve all streams. View a list of all active and past streams in your account.

### list_tasks
Retrieve all tasks. Monitor all current upload and transcoding jobs in one list.

### request_asset_upload
Request a direct upload URL for a new asset. Use this to get a link for uploading large files.

### start_room_egress
Broadcast a room session to a Livepeer Stream. Use this to push WebRTC content to an RTMP egress.

### terminate_stream
Terminate an active stream. Shut down your live broadcast immediately to save on costs.

### update_asset
Update an existing asset. Modify the metadata or details of a video file in your storage.

### update_multistream_target
Update a multistream target. Change the settings for your different broadcast destinations.

### update_stream
Update an existing stream. Modify the settings of a live broadcast while it is active.

### update_webhook
Update a webhook. Edit the configuration of your existing event listeners.

### upload_asset_via_url
Upload an asset using an external URL. Pull content from HTTP, IPFS, or Arweave links.

## Prompt Examples

**Prompt:** 
```
Can you check how many people are watching the current stream?
```

**Response:** 
```
### Current Viewership

I've pulled the real-time data for your active stream:

*   **Live Viewers:** 1,240
*   **Avg. Watch Time:** 12 minutes
*   **Top Location:** United States
*   **Primary Device:** Desktop

Would you like a full breakdown by browser or location?
```

**Prompt:** 
```
I need to grab a clip from the last 10 minutes of the live broadcast.
```

**Response:** 
```
### Clip Created

I've generated a highlight clip from your recent broadcast:

*   **Clip Name:** Highlight_01
*   **Timestamp:** 02:15:00 - 02:25:00
*   **Status:** Processing

I'll let you know as soon as it's ready for playback.
```

**Prompt:** 
```
Show me my usage stats for this month.
```

**Response:** 
```
### Monthly Usage Summary

Here is your usage for the current billing cycle:

| Metric | Total |
| :--- | :--- |
| **Minutes Transcoded** | 4,520 min |
| **Data Delivered** | 1.2 TB |
| **Storage Used** | 85 GB |

Your usage is currently 15% below your monthly average.
```

## Capabilities

### Upload videos from URLs
Pull video content from external links like IPFS or Arweave directly into your storage.

### Launch live streams
Create and manage live broadcasts with custom stream keys and RTMP ingest URLs.

### Create clips from live content
Generate short video highlights from active streams using specific timestamps.

### Track viewership and usage
Monitor real-time audience numbers and check your total transcoded minutes.

### Broadcast to multiple platforms
Configure targets to send your content to Twitch, YouTube, and other sites simultaneously.

### Manage WebRTC rooms
Create multi-participant video rooms and manage user access for real-time interaction.

## Use Cases

### Quickly grabbing highlights
A creator wants to save a 30-second highlight from a live stream that just ended. They ask their agent to create_clip using specific timestamps.

### Setting up a community launch
A developer needs to host a decentralized video room for a group launch. They use create_room and create_room_user to manage the space.

### Automating a decentralized pipeline
A video engineer wants to pull content from Arweave automatically. They use request_asset_upload and list_tasks to monitor the progress.

### Multi-platform broadcasting
A marketing lead wants to hit Twitch, YouTube, and Kick at the same time. They use create_multistream_target to sync everything.

## Benefits

- Stop clicking through dashboards to check stream health by using get_stream to see status instantly.
- Automate your content distribution by setting up a create_multistream_target for multiple platforms at once.
- Grab highlights instantly with create_clip so you don't have to open a video editor for every short.
- Monitor your reach in real-time with get_realtime_viewership to see who is watching as it happens.
- Simplify your content pipeline by using upload_asset_via_url to pull videos from decentralized storage.
- Manage your budget easily by checking get_usage_metrics to see your total transcoded minutes.

## How It Works

The bottom line is you get a conversational interface for your entire decentralized video infrastructure.

1. Subscribe to this Connector in the Vinkius catalog.
2. Enter your Livepeer API Key in the configuration settings.
3. Ask your agent to create streams, check viewership, or manage your video assets.

## Frequently Asked Questions

**How can I use Livepeer with my AI agent?**
You can connect this Connector to your AI client to manage your entire video pipeline. This allows you to start streams, upload assets, and check your metrics using just plain English commands.

**Can Livepeer help me stream to multiple sites?**
Yes, the Connector can configure multistream targets for you. You can tell your agent to broadcast your content to Twitch, YouTube, and other platforms simultaneously.

**How do I create video clips from a live stream?**
You can ask your agent to create a clip from an active stream by providing a timestamp. It will handle the generation of that short highlight for you automatically.

**Can I upload videos from IPFS using Livepeer?**
Yes, this Connector supports uploading assets from external links, including decentralized storage like IPFS and Arweave, directly into your Livepeer account.

**How do I see my real-time viewer numbers?**
Your agent can pull real-time viewership metrics instantly. You'll see current viewer counts, device types, and location data without leaving your chat.

**Can I set up a video room for a group call?**
Yes, you can use the Connector to create WebRTC multi-participant rooms. Your agent can also help you manage users and permissions for those rooms.

**How do I monitor my transcoding usage?**
You can ask your agent to show your usage metrics at any time. It will retrieve your total transcoded minutes and data delivery stats to help you manage your costs.

**Can I upload videos directly from IPFS or Arweave?**
Yes! Use the `upload_asset_via_url` tool and provide the decentralized storage URL. Livepeer will ingest the asset and make it available for playback.

**How do I create a highlight clip from a running stream?**
Use the `create_clip` action by providing the `streamId` and the specific `startTime` and `endTime`. The agent will trigger the clipping process on the Livepeer network.

**Can I monitor how many viewers are currently watching my stream?**
Absolutely. Use the `get_realtime_viewership` tool with your playback ID to fetch current audience metrics directly from the Livepeer analytics engine.