Shaka Packager MCP Server

Shaka Packager MCP Server

shaka-packager-mcp-server•bycoderjun

An MCP server that integrates Shaka Packager with Claude AI applications for video transcoding, packaging, and analysis.

License: MIT License•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Exposes tools to analyze video files and retrieve detailed stream information with intelligent error handling.
  • •Executes Shaka Packager commands with custom arguments and proper path handling.
  • •Packages and converts videos for HLS and DASH streaming, with support for DRM encryption and ad insertion markers.
  • •Provides command options, version information, and documentation through dedicated tools.

BEST FOR

  • •Analyzing video files to extract codec, bitrate, and stream details within Claude Desktop.
  • •Packaging videos for HLS and DASH streaming, including VOD and live scenarios.
  • •Applying DRM encryption and ad insertion preparation during media packaging.

ABOUT SHAKA-PACKAGER-MCP-SERVER

Shaka Packager MCP Server is cataloged as an MCP server attributed to coderjun. An MCP server that integrates Shaka Packager with Claude AI applications for video transcoding, packaging, and analysis. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Shaka Packager MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tools does the server provide?

It provides analyze_video, run_shaka_packager, get_shaka_options, and get_shaka_documentation tools.

What are the known limitations?

Packaging and conversion are under active development, Docker-to-host path translation may need manual configuration, and interfaces may change between releases.

Upstream README

View this exact version on GitHub

README.md · efbee6adbd02 · Fetched 2026-11-13 10:35:16 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Shaka Packager MCP Server

License: MIT Python Version Status: Alpha

Status: alpha. Analysis is the most exercised path. Treat this as a working prototype rather than a production dependency.

Known limitations:

  • Packaging and conversion are still under active development
  • Path translation between Docker and host environments may need manual configuration
  • Interfaces may change between releases

Issue reports are welcome and genuinely useful.

Shaka Packager Server MCP server

MseeP.ai Security Assessment Badge Verified on MseeP

An MCP (Model Context Protocol) server that integrates Shaka Packager with Claude AI applications for video transcoding, packaging, and analysis.

This server works with the Filesystem MCP Server to enable Claude Desktop to access and process video files on your computer, turning Claude into a powerful assistant for media processing tasks.

Features

  • Video Analysis: Analyze video files to extract detailed stream information, codecs, bitrates, and more
  • Media Packaging: Convert videos for streaming in HLS and DASH formats with support for VOD and live streaming
  • Advanced Options:
    • Apply DRM encryption (Widevine, PlayReady, FairPlay)
    • Configure ad insertion markers
    • Convert between formats (MP4, TS, etc.)
  • Intelligent Path Handling: Automatically translates paths between Docker and host environments
  • Robust Error Management: Provides meaningful error analysis with suggestions for resolution
  • Command Assistance: Helps correctly format Shaka Packager commands for optimal results
  • Interactive Documentation: Built-in help and examples to guide users through complex operations
  • Detailed Outputs: Comprehensive summaries and execution details for all operations

Prerequisites

  • Python 3.10 or higher
  • Shaka Packager installed and available in your PATH
  • An MCP-compatible client (like Claude Desktop)

Installation

From source

The package is not published to PyPI yet, so install from a clone.

git clone https://github.com/coderjun/shaka-packager-mcp-server.git
cd shaka-packager-mcp-server
pip install -e .

Or with uv:

git clone https://github.com/coderjun/shaka-packager-mcp-server.git
cd shaka-packager-mcp-server
uv pip install -e .

Claude Desktop Integration

Since Claude Desktop doesn't directly support uploading video files, we'll use a two-server approach:

  1. A simplified filesystem MCP server to access video files on your computer
  2. The Shaka Packager MCP server to analyze and process those videos

Step 1: Set Up the MCP Filesystem Server

Use the official MCP filesystem server to allow Claude to access your video files:

  1. Install the official filesystem server with Docker:

    docker pull mcp/filesystem
    
  2. Alternatively, you can build it from source following the instructions in the Filesystem MCP Server repository

Step 2: Find the Configuration File

Locate your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

If the file doesn't exist, create it.

Step 3: Add Both Servers to the Configuration

Add the following configuration, making sure to use absolute paths:

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/PATH/TO/VIDEOS/DIRECTORY,dst=/projects/video-drop",
        "mcp/filesystem",
        "/projects"
      ]
    },
    "shaka-packager": {
      "command": "/ABSOLUTE/PATH/TO/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "/ABSOLUTE/PATH/TO/shaka_packager_mcp.py"
      ],
      "env": {
        "VIDEO_PATH": "/PATH/TO/VIDEOS/DIRECTORY",
        "SHAKA_PACKAGER_PATH": "/PATH/TO/PACKAGER"
      }
    }
  }
}

Replace:

  • /PATH/TO/VIDEOS/DIRECTORY with the path to the directory containing your video files
  • /ABSOLUTE/PATH/TO/uv with the full path to your uv executable
  • /ABSOLUTE/PATH/TO/shaka_packager_mcp.py with the full path to the script file
  • /PATH/TO/PACKAGER with the full path to your Shaka Packager executable

For example:

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/Users/username/Videos,dst=/projects/video-drop",
        "mcp/filesystem",
        "/projects"
      ]
    },
    "shaka-packager": {
      "command": "/Users/username/.local/bin/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "/Users/username/Development/shaka-packager-mcp-server/shaka_packager_mcp.py"
      ],
      "env": {
        "VIDEO_PATH": "/Users/username/Videos",
        "SHAKA_PACKAGER_PATH": "/Users/username/.shaka/packager"
      }
    }
  }
}

Step 4: Restart Claude Desktop

After editing the configuration file, restart Claude Desktop to apply the changes.

How to Use the Two-Server Approach

  1. First, browse your video files using the simplified filesystem server:

    • Ask Claude to "List the files in my video directory"
    • Navigate to the video file you want to analyze or process
  2. Once you've found your video file, use its path with the Shaka Packager tools:

    • For analysis: "Please analyze this video: /Users/username/Videos/example.mp4"
    • For processing: "Please package this video for HLS: /Users/username/Videos/example.mp4"

Troubleshooting

If you encounter any issues:

  1. Make sure both servers are properly configured with absolute paths
  2. Verify that Shaka Packager is installed and accessible
  3. Ensure the directory specified for the filesystem server exists and contains videos
  4. Check Claude Desktop logs for errors at:
    • macOS: ~/Library/Logs/Claude/mcp*.log
    • Windows: %APPDATA%\Claude\logs\mcp*.log

Usage

Once both the Filesystem MCP server and the Shaka Packager MCP server are running in Claude Desktop:

  1. Access your video files:

    Please show me the files in my Videos directory
    
  2. Navigate to your video file:

    Please show me the files in the Movies subdirectory
    
  3. Copy the file:// URI path of the video you want to process

  4. Use the Shaka Packager tools with the file path:

    Please analyze this video: file:///Users/username/Videos/my_video.mp4
    

    or

    Please package this video for HLS and DASH streaming: file:///Users/username/Videos/my_video.mp4
    
  5. The server will execute the appropriate Shaka Packager command and provide a detailed summary of the results

You can also use direct file paths if you know the exact location of your video files:

Please analyze this video: /Users/username/Videos/my_video.mp4

Tools

The server provides these tools:

  1. analyze_video: Examines a video file and provides detailed stream information with intelligent error handling
  2. run_shaka_packager: Executes any Shaka Packager command with custom arguments and proper path handling
  3. get_shaka_options: Retrieves available command options and version information
  4. get_shaka_documentation: Provides comprehensive documentation and examples for using Shaka Packager

Prompts

The server includes these prompt templates:

  • MP4 to TS conversion
  • VOD packaging in HLS and DASH
  • Live streaming packaging
  • Content encryption
  • Ad insertion preparation
  • Video analysis
  • Command format reminder
  • Error interpretation guidance

Configuration

The server can be configured using environment variables:

  • SHAKA_PACKAGER_PATH: Path to the Shaka Packager executable (highly recommended for Claude Desktop)
  • VIDEO_PATH: Path to your local video directory (used for translating paths between Docker and host)
  • DOCKER_PATH: Docker container mount path (default: "/projects/video-drop")
  • TEMP_DIR: Custom temporary directory for file uploads
  • LOG_LEVEL: Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
  • COMMAND_TIMEOUT: Timeout in seconds for Shaka Packager commands (default: 300)

You can set these in:

  1. Your Claude Desktop configuration file (preferred for SHAKA_PACKAGER_PATH and VIDEO_PATH)
  2. Your environment variables
  3. A .env file in the same directory as the script

Example .env file:

SHAKA_PACKAGER_PATH=/usr/local/bin/packager
VIDEO_PATH=/Users/yourusername/Videos
LOG_LEVEL=DEBUG

Development

Setting up a development environment

# Clone the repository
git clone https://github.com/coderjun/shaka-packager-mcp-server.git
cd shaka-packager-mcp-server

# Install development dependencies with pip
pip install -e ".[dev]"

# Or with uv
uv pip install -e ".[dev]"

Running tests

pytest

Code formatting

black .
isort .

Understanding the Code Structure

The main components of the Shaka Packager MCP server are:

  • shaka_packager_mcp.py: Main server implementation with MCP tools and prompts
  • tests/: Test suite for verifying functionality

This server is designed to work with the official MCP filesystem server for accessing video files.

Key Features in the Implementation

  • Robust path handling: Automatically translates paths between Docker and host environments
  • Smart error handling: Provides meaningful error messages and suggestions
  • Command syntax assistance: Helps correctly format Shaka Packager commands
  • Documentation integration: Provides comprehensive documentation and examples

License

This project is licensed under the MIT License - see the LICENSE file for details.

Getting Help

Feel free to use an AI code copilot, the author does.

If you encounter any issues or have questions:

  1. Check the troubleshooting section in this README
  2. Review the Shaka Packager documentation
  3. Use the get_shaka_documentation tool for interactive help within Claude
  4. Open an issue on GitHub

Acknowledgements

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Shaka Packager MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/shaka-packager-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design