Skip to main content
Glama

Shaka Packager MCP Server

by coderjun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TEMP_DIRNoCustom temporary directory for file uploads
LOG_LEVELNoLogging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
VIDEO_PATHYesPath to your local video directory (used for translating paths between Docker and host)
DOCKER_PATHNoDocker container mount path/projects/video-drop
COMMAND_TIMEOUTNoTimeout in seconds for Shaka Packager commands300
SHAKA_PACKAGER_PATHYesPath to the Shaka Packager executable (highly recommended for Claude Desktop)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
mp4_to_ts_prompt Create a prompt to convert MP4 files to TS files. Args: file_path: Path to the uploaded video file.
vod_hls_dash_prompt Create a prompt to package a file for VOD (Video on Demand) in HLS and DASH formats. Args: file_path: Path to the uploaded video file.
live_hls_dash_prompt Create a prompt to package a file for live streaming in HLS and DASH formats. Args: file_path: Path to the uploaded video file.
content_encryption_prompt Create a prompt to encrypt content using Shaka Packager. Args: file_path: Path to the uploaded video file.
ad_insertion_prompt Create a prompt to prepare content for ad insertion using Shaka Packager. Args: file_path: Path to the uploaded video file.
analyze_video_prompt Create a prompt to analyze a video file using Shaka Packager. Args: file_path: Path to the uploaded video file.
what_should_i_do_prompt Create a prompt to suggest operations when the user provides a file path without specific instructions. Args: file_path: Path to the video file.
command_format_reminder Create a prompt to remind about proper Shaka Packager command format.
error_interpretation_prompt Create a prompt to help interpret common Shaka Packager errors. Args: error_message: The error message from Shaka Packager. file_path: Path to the video file that caused the error.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_video
Analyze a video file using Shaka Packager. Args: file_path: Path to the video file. Can be a local file path or a file:// URI from the filesystem MCP.
run_shaka_packager
Run a custom Shaka Packager command. Args: file_path: Path to the uploaded video file. command_args: Additional arguments to pass to the shaka-packager command.
get_shaka_documentation
Get comprehensive Shaka Packager documentation, including command structure and examples.
get_shaka_options
Get the available options and version information for Shaka Packager.

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/coderjun/shaka-packager-mcp-server'

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