Skip to main content
Glama

play_video

Stream and play videos directly from a provided link using the MCP server VideoDB Director. Ideal for quick access to video content based on user input.

Instructions

Play the video of the given stream link

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stream_linkYes

Implementation Reference

  • The asynchronous handler function that implements the core logic of the 'play_video' tool. It takes a stream_link parameter, opens the VideoDB player in the default web browser, and returns a success message.
    async def play_video(stream_link: str) -> dict[str, Any]: webbrowser.open(f"https://console.videodb.io/player?url={stream_link}") return {"message": "Opening VideoDB in browser"}
  • The @mcp.tool decorator registers the 'play_video' function as an MCP tool, specifying its name and description. This integrates it into the FastMCP server.
    @mcp.tool( name="play_video", description="Play the video of the given stream link", )

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/video-db/agent-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server