Skip to main content

Kaltura MCP Server for LLM integration

Project description

Kaltura Model Context Protocol (MCP) Server

The Kaltura MCP Server is an implementation of the Model Context Protocol (MCP) that provides AI models with access to Kaltura's media management capabilities.

Overview

This server enables AI models to:

  • Upload media to Kaltura
  • Retrieve media metadata
  • Search for media
  • Manage categories
  • Manage users and permissions

By implementing the Model Context Protocol, this server allows AI models to interact with Kaltura's API in a standardized way, making it easier to integrate Kaltura's capabilities into AI workflows.

Requirements

  • Python: 3.10 or higher (3.10, 3.11, 3.12 are officially supported)
  • Operating Systems: Linux, macOS, Windows
  • Dependencies: See pyproject.toml for a complete list

Repository Structure

The kaltura-mcp-public repository contains the complete, self-contained Kaltura MCP server implementation, including:

  • All necessary code
  • Comprehensive documentation
  • Docker support
  • Setup script
  • Example clients
  • Test scripts

Installation

Using Docker

Option 1: Using Pre-built Docker Image

The easiest way to get started is with our pre-built multi-architecture Docker image (supports both x86_64/amd64 and ARM64/Apple Silicon):

# Pull the latest image
docker pull ghcr.io/zoharbabin/kaltura-mcp:latest

# Create a config file
cp config.yaml.example config.yaml
# Edit config.yaml with your Kaltura API credentials

# Run the container
docker run -p 8000:8000 -v $(pwd)/config.yaml:/app/config.yaml ghcr.io/zoharbabin/kaltura-mcp:latest

Option 2: Building Locally with Docker Compose

Alternatively, you can build the image locally:

# Clone the repository
git clone https://github.com/zoharbabin/kaltura-mcp.git
cd kaltura-mcp

# Build and run with Docker Compose
docker-compose up

Manual Installation

# Clone the repository
git clone https://github.com/zoharbabin/kaltura-mcp.git
cd kaltura-mcp

# Create a virtual environment (Python 3.10 or higher required)
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -e .

# Configure the server
cp config.yaml.example config.yaml
# Edit config.yaml with your Kaltura API credentials

# Run the server
python -m kaltura_mcp.server

Configuration

The Kaltura MCP Server supports a unified configuration system that works with both YAML and JSON formats. To get started:

  1. Copy config.yaml.example to config.yaml and edit it with your Kaltura API credentials:
kaltura:
  partner_id: YOUR_PARTNER_ID
  admin_secret: YOUR_ADMIN_SECRET
  user_id: YOUR_USER_ID
  service_url: https://www.kaltura.com/api_v3
  1. You can also use environment variables for configuration:
export KALTURA_PARTNER_ID=YOUR_PARTNER_ID
export KALTURA_ADMIN_SECRET=YOUR_ADMIN_SECRET
export KALTURA_USER_ID=YOUR_USER_ID

For more detailed configuration options, see the Configuration Guide.

Usage

With Claude

To use the Kaltura MCP Server with Claude, see the Using with Claude guide.

With the MCP CLI

To use the Kaltura MCP Server with the MCP CLI, see the Using with MCP CLI guide.

Programmatically

To use the Kaltura MCP Server programmatically, see the examples directory.

Available Tools

The Kaltura MCP Server provides the following tools:

  • media_upload: Upload media files to Kaltura
  • media_get: Retrieve media metadata
  • media_update: Update media metadata
  • media_delete: Delete media
  • category_list: List categories
  • category_get: Retrieve category metadata
  • category_add: Add a new category
  • category_update: Update category metadata
  • category_delete: Delete a category
  • user_list: List users
  • user_get: Retrieve user metadata
  • user_add: Add a new user
  • user_update: Update user metadata
  • user_delete: Delete a user

Available Resources

The Kaltura MCP Server provides the following resources:

  • media://{entry_id}: Media entry metadata
  • category://{category_id}: Category metadata
  • user://{user_id}: User metadata

Contributing

See CONTRIBUTING.md for details on how to contribute to this project.

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_kaltura_mcp-0.1.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_kaltura_mcp-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file mseep_kaltura_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: mseep_kaltura_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_kaltura_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 33931bb055d07d9dfc373f6bdab84567509df7b8a9bd62700c91cef6c0c10e6d
MD5 2edcd74b42a542b05143f8710ac304bd
BLAKE2b-256 7e2f1e0d062452f5b240ae7fadb6512a86161c90302ee0f001da606e87cd763c

See more details on using hashes here.

File details

Details for the file mseep_kaltura_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_kaltura_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 088a29bdb5f5a93428d71141ddc68589bd28af1bf516be02dbdc01a8123314f2
MD5 76f3341862ae747955c308df154a7c18
BLAKE2b-256 e52355a2a7049ea55065b19a6c55c88ce46dc5b6c3010f9823be712c513a3c72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page