# Qencode MCP for AI Agents AI Agent Connect

> Qencode lets you automate video transcoding and live streaming through your AI agent. Manage encoding tasks, handle live broadcasts with RTMP or WebRTC, and coordinate simulcasts to platforms like YouTube or Twitch without leaving your workspace. It handles the heavy lifting of cloud encoding so you can focus on creating content.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_qPyb1Wq9gRwG0zcmcopAccU1hLBZXdg94MjCypBl/ai-agent-connect
- **Tags:** video-transcoding, live-streaming, simulcast, video-api, cloud-encoding

## Description

Qencode gives your AI agent the ability to handle high-performance video processing and live broadcasting through natural conversation. Instead of jumping between browser tabs to monitor encoding progress or manually configuring RTMP targets, you can just tell your agent what needs to happen. You can start transcoding jobs with specific source formats, set up new live streams, or add restreaming targets on the fly. It handles the infrastructure side like managing CDN domains and DVR settings while you stay focused on the content. Getting this set up is easy because Vinkius handles the connection, so you just need your Qencode API key to get started. It turns a complex backend operation into a simple conversation, making it way faster to move assets from production to delivery.

## Tools

### add_simulcast_target
Connects a new platform like Twitch to your active live feed. This lets you reach more viewers at once.

### create_domain
Sets up a new custom CDN domain for your video content. Use this to manage your delivery infrastructure.

### create_live_stream
Sets up a new live stream entry using a live access token. This prepares your broadcast configuration.

### create_task
Initializes a new video transcoding job in the queue. This helps you manage large batches of video files.

### get_access_token
Fetches a session token required for starting transcoding jobs. You need this before you can begin encoding.

### get_live_access_token
Retrieves the necessary token to begin a live broadcast. This is the first step for going live.

### get_task_status
Shows the current progress of one or more transcoding jobs. You can see exactly where your files are in the queue.

### start_encode
Triggers a transcoding job with your specific parameters. This starts the actual processing of your video.

### start_live_stream
Begins the live broadcast for a configured stream. Use this to go live instantly.

### stop_live_stream
Ends a running live broadcast immediately. This is useful for closing a stream exactly when you want to.

### update_live_stream
Changes the configuration of an existing live stream. This lets you adjust settings on the fly.

## Prompt Examples

**Prompt:** 
```
Get me a session token for transcoding.
```

**Response:** 
```
I've grabbed your session-based access token. You're all set to start creating transcoding tasks now.
```

**Prompt:** 
```
Check the progress of task 12345.
```

**Response:** 
```
Task 12345 is currently encoding. It's about 60% finished and should be ready for saving in about 4 minutes.
```

**Prompt:** 
```
Set up a new live stream called 'GameNight'.
```

**Response:** 
```
I've created the 'GameNight' live stream for you. The Stream ID is st_5521. You can start it whenever you're ready.
```

## Capabilities

### Start video transcoding
Tell your agent to begin an encoding job with your specific source and output settings.

### Launch live streams
Create and go live using RTMP, WebRTC, or SRT protocols instantly.

### Add simulcast targets
Send your live feed to multiple platforms like YouTube or Twitch at once.

### Monitor task progress
Check exactly where your videos are in the downloading, encoding, or saving phase.

### Manage CDN domains
Create and update your custom domains for video delivery through your agent.

## Use Cases

### Bulk Transcoding
A video editor needs to convert 50 files. They ask the agent to create a transcoding task for each with a specific profile.

### Multi-Platform Stream
A streamer wants to go live on three platforms. They ask the agent to add a simulcast target for each one.

### Status Tracking
A dev wants to know if a video is ready. They ask the agent to check the status of a specific task.

### Domain Setup
A platform owner needs a new CDN link. They ask the agent to create a custom domain for a new marketing campaign.

## Benefits

- Stop manual task entry. Use your agent to queue up your video assets without clicking through a web UI.
- Manage multiple feeds. Send your live feed to different platforms like YouTube and Twitch simultaneously.
- Real-time monitoring. Check exactly how far along an encode is while you work on other things.
- Faster setup. Create and start your live stream in seconds without manual configuration.
- Automated infrastructure. Manage your CDN setup directly through your agent.
- Effortless simulcasting. Add restreaming targets on the fly to reach a wider audience.

## How It Works

The bottom line is you get a voice-controlled dashboard for your entire video infrastructure.

1. Subscribe to the Qencode MCP and grab your API key.
2. Paste your API key into your AI client's configuration settings.
3. Give your agent commands to start encodes, check statuses, or manage live feeds.

## Frequently Asked Questions

**Can I use Qencode to stream to multiple sites?**
Yes, you can use the simulcast tools to send your live feed to places like YouTube and Twitch at the same time.

**Does this support different streaming protocols?**
It supports RTMP, WebRTC, and SRT, so you can choose the one that fits your setup best.

**How do I know if my video is done encoding?**
You can ask your agent to check the status of any task, and it will tell you the current progress and completion status.

**Can I manage my CDN domains through the agent?**
Yes, you can create new custom CDN domains directly through your agent to manage your video delivery.

**Is this good for high-volume video processing?**
It's built for that. You can automate the creation of transcoding tasks to handle large batches of video assets.

**What happens if I need to change my stream settings?**
You can change your settings like DVR configurations or other stream details without restarting the live broadcast.

**How can I check if my video is finished encoding?**
Use the `get_task_status` tool with your task tokens. It returns the current state such as 'downloading', 'encoding', 'saving', or 'completed' for one or more tasks.

**Can I stream to multiple platforms like YouTube and Twitch at once?**
Yes! First create a stream with `create_live_stream`, then use `add_simulcast_target` to add external destinations to your live feed.

**Do I need to get an access token before every transcoding task?**
Yes, you must call `get_access_token` to receive a session-based token required by the `create_task` tool. For live streaming, use `get_live_access_token` instead.