• FILE
  • LIVE
  • LIST
  • HUMAN

How to trigger media recordings with your AI

Connect LiveKit to your agent to handle real-time media egress. You can start or stop recordings of tracks, participants, or entire rooms through simple text commands.

Ask AI about this page

Short answer

How can I make my AI record LiveKit sessions?

Your AI uses LiveKit egress tools to capture video, audio, or web content. It can target a single track, a specific participant, or a full room composite. You get direct control over what gets saved and when the recording stops.

Recording outcomes

Where your media lands

What happens when your AI executes an egress command.

FILE

Media is captured

The AI triggers a recording of the requested stream. You receive a file containing the specific audio, video, or composite view you requested.

LIVE

Web pages recorded

The AI captures a specific URL as a video stream. This is useful for recording presentations or shared web views directly from the session.

LIST

Active recordings tracked

The AI checks which egress processes are currently running. You can see exactly what is being recorded in the background.

HUMAN

Manual intervention

If a recording fails or a specific track is unavailable, the AI notifies you. You must manually check the LiveKit dashboard to resolve permission or connection issues.

The workflow

What your AI does when the command arrives.

The AI translates your natural language request into specific LiveKit egress operations.

  1. Identify target

    The AI looks at the active session to find the specific participant, track, or room you want to record.

    list_egress
  2. Start recording

    The AI initiates the capture process for the selected media, whether it is a single track, a participant, or a web page.

    start_participant_egressstart_room_composite_egressstart_web_egress
  3. Capture tracks

    The AI can target specific audio or video streams for individual recording.

    start_track_egressstart_track_composite_egress
  4. End session

    Once the recording is finished or you tell the AI to stop, it shuts down the egress process.

    stop_egress

Try it

Copy these to start.

Use these prompts to trigger LiveKit actions immediately.

Starting points

These are basic commands. Replace the bracketed text with your actual room names, participant IDs, or URLs.

LiveKit Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_4uxLOatgtvJyaigQtiYOMWFntnvDipZI6XFcq5Bo/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 — LiveKit capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "livekit-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_4uxLOatgtvJyaigQtiYOMWFntnvDipZI6XFcq5Bo/mcp"
    }
  }
}
Copy into chat04
  • Start a room composite recording for the current session.

  • Record the web page at [URL] using web egress.

  • Stop the recording for participant [ID].

  • List all active egress recordings currently running.

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

Start here

Connect LiveKit once, then ask.

You only need to link your account once. Your credentials stay encrypted, and you can immediately start giving commands to your agent.

Connect LiveKit to your AI

FAQ

How the recording task behaves

  • 01

    Can the AI record a participant who has their camera turned off?

    No. The AI can only record active tracks. If a participant has no video or audio track active, there is nothing to capture.

  • 02

    Does the AI decide when to stop a recording?

    The AI only stops a recording when you explicitly tell it to or if the session ends. It does not automatically stop based on time unless you instruct it to.

  • 03

    Can the AI delete recorded files from my storage?

    No. This MCP only manages the egress process. It cannot access or delete files once they are saved to your storage provider.

  • 04

    Can the AI record a website that requires a login?

    No. The web egress tool captures a URL. It cannot navigate through authentication screens or handle user logins.

  • 05

    Can I see a list of all ongoing recordings?

    Yes. You can ask the AI to list all active egress tasks to see what is currently being captured.

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

Connect LiveKit to Claude, Cursor, ChatGPT & more