Kaltura MCP Server

MIT License
1
  • Linux
  • Apple

Integrations

  • Provides Docker support for running the Kaltura MCP server through pre-built multi-architecture Docker images or building locally with Docker Compose.

  • Hosts the Kaltura MCP server repository and provides the container registry for the pre-built Docker images.

  • Officially supports running the Kaltura MCP server on Linux operating systems.

Kaltura 模型上下文协议 (MCP) 服务器

Kaltura MCP 服务器是模型上下文协议 (MCP)的一个实现,它为 AI 模型提供对 Kaltura 媒体管理功能的访问。

概述

该服务器使 AI 模型能够:

  • 将媒体上传到 Kaltura
  • 检索媒体元数据
  • 搜索媒体
  • 管理类别
  • 管理用户和权限

通过实现模型上下文协议,该服务器允许 AI 模型以标准化方式与 Kaltura 的 API 交互,从而更容易将 Kaltura 的功能集成到 AI 工作流程中。

要求

  • Python :3.10 或更高版本(官方支持 3.10、3.11、3.12)
  • 操作系统:Linux、macOS、Windows
  • 依赖项:查看pyproject.toml的完整列表

存储库结构

kaltura-mcp-public存储库包含完整、独立的 Kaltura MCP 服务器实现,包括:

  • 所有必要的代码
  • 全面的文档
  • Docker 支持
  • 安装脚本
  • 示例客户端
  • 测试脚本

安装

使用 Docker

选项 1:使用预构建的 Docker 镜像

最简单的入门方法是使用我们预先构建的多架构 Docker 映像(支持 x86_64/amd64 和 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

选项 2:使用 Docker Compose 进行本地构建

或者,您可以在本地构建图像:

# Clone the repository git clone https://github.com/zoharbabin/kaltura-mcp.git cd kaltura-mcp # Build and run with Docker Compose docker-compose up

手动安装

# 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

配置

Kaltura MCP 服务器支持统一的配置系统,支持 YAML 和 JSON 格式。开始使用:

  1. config.yaml.example复制到config.yaml并使用您的 Kaltura API 凭据对其进行编辑:
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. 您还可以使用环境变量进行配置:
export KALTURA_PARTNER_ID=YOUR_PARTNER_ID export KALTURA_ADMIN_SECRET=YOUR_ADMIN_SECRET export KALTURA_USER_ID=YOUR_USER_ID

有关更详细的配置选项,请参阅配置指南

用法

与克劳德

要将 Kaltura MCP 服务器与 Claude 一起使用,请参阅与 Claude 一起使用指南。

使用 MCP CLI

要将 Kaltura MCP 服务器与 MCP CLI 一起使用,请参阅使用 MCP CLI指南。

以编程方式

要以编程方式使用 Kaltura MCP 服务器,请参阅示例目录。

可用工具

Kaltura MCP 服务器提供以下工具:

  • media_upload :将媒体文件上传到 Kaltura
  • media_get :检索媒体元数据
  • media_update :更新媒体元数据
  • media_delete :删除媒体
  • category_list :列出类别
  • category_get :检索类别元数据
  • category_add :添加新类别
  • category_update :更新类别元数据
  • category_delete :删除类别
  • user_list :列出用户
  • user_get :检索用户元数据
  • user_add :添加新用户
  • user_update :更新用户元数据
  • user_delete :删除用户

可用资源

Kaltura MCP 服务器提供以下资源:

  • media://{entry_id} :媒体条目元数据
  • category://{category_id} :类别元数据
  • user://{user_id} :用户元数据

贡献

有关如何为该项目做出贡献的详细信息,请参阅CONTRIBUTING.md

执照

该项目根据 AGPLv3 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

模型上下文协议的实现,为 AI 模型提供对 Kaltura 媒体管理功能的标准化访问,包括上传、检索元数据、搜索以及管理类别和权限。

  1. Overview
    1. Requirements
      1. Repository Structure
        1. Installation
          1. Using Docker
          2. Manual Installation
        2. Configuration
          1. Usage
            1. With Claude
            2. With the MCP CLI
            3. Programmatically
          2. Available Tools
            1. Available Resources
              1. Contributing
                1. License
                  ID: lly4cshldx