Kaltura MCP Server
Servidor de protocolo de contexto de modelo (MCP) de Kaltura
El servidor MCP de Kaltura es una implementación del Protocolo de contexto de modelo (MCP) que proporciona a los modelos de IA acceso a las capacidades de gestión de medios de Kaltura.
Descripción general
Este servidor permite que los modelos de IA:
Subir medios a Kaltura
Recuperar metadatos de medios
Búsqueda de medios
Administrar categorías
Administrar usuarios y permisos
Al implementar el Protocolo de Contexto de Modelo, este servidor permite que los modelos de IA interactúen con la API de Kaltura de manera estandarizada, lo que facilita la integración de las capacidades de Kaltura en los flujos de trabajo de IA.
Related MCP server: Pure Agentic MCP Server
Requisitos
Python : 3.10 o superior (3.10, 3.11, 3.12 son oficialmente compatibles)
Sistemas operativos : Linux, macOS, Windows
Dependencias : consulte
pyproject.tomlpara obtener una lista completa
Estructura del repositorio
El repositorio kaltura-mcp-public contiene la implementación completa e independiente del servidor Kaltura MCP, que incluye:
Todo el código necesario
Documentación completa
Compatibilidad con Docker
Script de configuración
Clientes de ejemplo
Scripts de prueba
Instalación
Usando Docker
Opción 1: Usar una imagen de Docker preconstruida
La forma más sencilla de comenzar es con nuestra imagen Docker multiarquitectura prediseñada (compatible con x86_64/amd64 y 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:latestOpción 2: Construir localmente con Docker Compose
Alternativamente, puedes construir la imagen localmente:
# Clone the repository
git clone https://github.com/zoharbabin/kaltura-mcp.git
cd kaltura-mcp
# Build and run with Docker Compose
docker-compose upInstalación manual
# 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.serverConfiguración
El servidor Kaltura MCP admite un sistema de configuración unificado compatible con los formatos YAML y JSON. Para empezar:
Copie
config.yaml.exampleenconfig.yamly edítelo con sus credenciales de API de Kaltura:
kaltura:
partner_id: YOUR_PARTNER_ID
admin_secret: YOUR_ADMIN_SECRET
user_id: YOUR_USER_ID
service_url: https://www.kaltura.com/api_v3También puede utilizar variables de entorno para la configuración:
export KALTURA_PARTNER_ID=YOUR_PARTNER_ID
export KALTURA_ADMIN_SECRET=YOUR_ADMIN_SECRET
export KALTURA_USER_ID=YOUR_USER_IDPara obtener opciones de configuración más detalladas, consulte la Guía de configuración .
Uso
Con Claude
Para utilizar el servidor Kaltura MCP con Claude, consulte la guía Uso con Claude .
Con la CLI de MCP
Para utilizar el servidor Kaltura MCP con la CLI de MCP, consulte la guía Uso con la CLI de MCP .
Programáticamente
Para utilizar Kaltura MCP Server mediante programación, consulte el directorio de ejemplos .
Herramientas disponibles
El servidor Kaltura MCP proporciona las siguientes herramientas:
media_upload: Subir archivos multimedia a Kalturamedia_get: Recuperar metadatos multimediamedia_update: Actualizar metadatos de los mediosmedia_delete: Eliminar medioscategory_list: Lista de categoríascategory_get: Recuperar metadatos de la categoríacategory_add: Agregar una nueva categoríacategory_update: Actualizar metadatos de la categoríacategory_delete: Eliminar una categoríauser_list: Lista de usuariosuser_get: Recuperar metadatos del usuariouser_add: Agregar un nuevo usuariouser_update: Actualizar metadatos del usuariouser_delete: Eliminar un usuario
Recursos disponibles
El servidor Kaltura MCP proporciona los siguientes recursos:
media://{entry_id}: metadatos de la entrada de medioscategory://{category_id}: Metadatos de la categoríauser://{user_id}: Metadatos del usuario
Contribuyendo
Consulte CONTRIBUTING.md para obtener detalles sobre cómo contribuir a este proyecto.
Licencia
Este proyecto está licenciado bajo la licencia AGPLv3: consulte el archivo de LICENCIA para obtener más detalles.
Available Tools
16 toolsget_analyticsA
Get detailed analytics in TABLE format for reporting. USE WHEN: Creating reports, comparing metrics, ranking content, analyzing performance, exporting data. RETURNS: Structured data with headers/rows. EXAMPLES: 'Show top 10 videos by views', 'Compare user engagement by category', 'Export monthly performance report'. Use list_analytics_capabilities to see all 60+ report types. For charts/graphs, use get_analytics_timeseries instead.
Inputs: from_date (required), to_date (required), report_type, entry_id, +4 more.
get_analytics_timeseriesA
Get time-series analytics data optimized for charts and visualizations. Use this when creating graphs, dashboards, or tracking trends over time.
Inputs: from_date (required), to_date (required), report_type, metrics, +2 more.
get_attachment_contentA
Download or read ATTACHED FILES from videos. USE WHEN: Accessing supplementary materials, downloading PDFs, getting presentation slides, reading attached documents. RETURNS: File content (if text) or download URL. EXAMPLE: 'Download the PDF slides', 'Read the attached notes'. Use after list_attachment_assets to get specific attachment ID.
Inputs: attachment_asset_id (required).
get_caption_contentA
Get actual CAPTION TEXT or download captions file. USE WHEN: Reading video transcript, downloading subtitles, analyzing spoken content, creating accessible content. RETURNS: Full caption text and download URL. EXAMPLE: 'Get English subtitles for video', 'Read transcript to find mentions of topic'. Use after list_caption_assets to get specific caption ID.
Inputs: caption_asset_id (required).
get_download_urlA
Get direct DOWNLOAD link for video files. USE WHEN: User needs to download/save video locally, export for editing, backup content, share downloadable link. RETURNS: Time-limited secure URL for downloading. EXAMPLE: 'Download video 1_abc123', 'Get mp4 file for editing'. Different from streaming - this is for saving files.
Inputs: entry_id (required), flavor_id.
get_geographic_breakdownA
Analyze viewer LOCATIONS and regional performance. USE WHEN: Understanding global reach, planning regional strategies, checking market penetration, optimizing CDN, compliance checks. RETURNS: Views/viewers by country/region/city with percentages. EXAMPLES: 'Which countries watch our content?', 'Show US state breakdown', 'Find top 10 cities for viewership'. Includes map-ready data.
Inputs: from_date (required), to_date (required), granularity, region_filter, +1 more.
get_media_entryA
Get complete metadata for a single video/media file. USE WHEN: You have a specific entry_id and need full details (title, description, duration, tags, thumbnail, status). RETURNS: Complete media metadata including URLs, dimensions, creation date. EXAMPLE: After search finds entry_id='1_abc123', use this to get full video details.
Inputs: entry_id (required).
get_quality_metricsA
Analyze streaming QUALITY and viewer experience. USE WHEN: Troubleshooting playback issues, monitoring streaming performance, optimizing delivery, investigating viewer complaints. RETURNS: Buffer rates, bitrate averages, error rates, startup times, quality scores. EXAMPLES: 'Why are users complaining about buffering?', 'Check streaming quality by device type', 'Find videos with poor performance'. Helps ensure smooth playback.
Inputs: from_date (required), to_date (required), metric_type, entry_id, +1 more.
get_realtime_metricsA
Get LIVE analytics updating every 30 seconds. USE WHEN: Monitoring live events/streams, building real-time dashboards, tracking immediate campaign impact, detecting issues as they happen. RETURNS: Current active viewers, plays per minute, bandwidth usage. EXAMPLES: 'How many people watching right now?', 'Monitor live event performance', 'Track viral video in real-time'. Different from historical analytics - this is NOW.
Inputs: report_type, entry_id.
get_thumbnail_urlA
Get video THUMBNAIL/POSTER image. USE WHEN: Displaying video previews, creating galleries, showing video cards, generating custom thumbnails. RETURNS: Image URL with your specified size. EXAMPLES: 'Get thumbnail for video 1_abc123', 'Create 400x300 preview image', 'Get frame from 30 seconds in'. Can capture any frame from video.
Inputs: entry_id (required), width, height, second.
get_video_retentionA
Analyze WHERE viewers stop watching in a video. USE WHEN: Optimizing video content, finding boring sections, identifying engaging moments, improving completion rates. RETURNS: 101 data points (0-100%) showing viewer count at each percent of video. EXAMPLES: 'Where do viewers drop off in video 1_abc123?', 'What parts get replayed?', 'Compare retention for anonymous vs logged-in users'. Shows exact percentages where audience is lost.
Inputs: entry_id (required), from_date, to_date, user_filter, +1 more.
list_analytics_capabilitiesA
Discover ALL analytics capabilities of this system. USE WHEN: User asks 'what analytics can you do?', exploring available reports, understanding metrics options, learning about analytics features. RETURNS: Complete list of 7 analytics functions with descriptions, 60+ report types, available dimensions, time intervals. EXAMPLE: Always run this when user first asks about analytics. No parameters needed - just call it!
Inputs: no named parameters.
list_attachment_assetsA
Find FILES ATTACHED to videos. USE WHEN: Looking for supplementary materials, PDFs, slides, documents linked to video. RETURNS: List of attached files with names, types, sizes, IDs. EXAMPLES: 'What documents are attached to training video?', 'Find PDF slides for presentation'. Attachments are additional files uploaded with videos.
Inputs: entry_id (required).
list_caption_assetsA
Find all CAPTIONS/SUBTITLES for a video. USE WHEN: Checking if video has captions, finding available languages, preparing for accessibility, getting transcript. RETURNS: List of caption files with languages, formats (SRT/VTT), IDs. EXAMPLE: 'Does video 1_abc123 have captions?', 'List subtitle languages available'. First step before getting caption content.
Inputs: entry_id (required).
list_categoriesA
Browse content organization hierarchy. USE WHEN: Exploring content structure, finding category IDs for filtering, understanding content taxonomy. Categories organize videos into folders/topics. RETURNS: Tree structure with category names, IDs, parent-child relationships. EXAMPLE: Find all videos in 'Training' category by first getting category ID.
Inputs: search_text, limit.
search_entriesA
SEARCH for videos or LIST all content. USE WHEN: Finding videos by keyword, listing newest content, discovering what's available, filtering by date/category. POWERFUL SEARCH across titles, descriptions, tags, captions. EXAMPLES: 'Find videos about python', 'Show newest 10 videos' (use query='*' sort_field='created_at'), 'Search in transcripts for keyword', 'List videos from last week'. This is your primary discovery tool!
Inputs: query (required), search_type, match_type, specific_field, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool has a clearly distinct purpose with no significant overlap. The descriptions explicitly differentiate tools like get_analytics vs get_analytics_timeseries, get_download_url vs get_thumbnail_url, and list_* vs get_* functions. The USE WHEN sections help agents understand exactly when to use each specific tool.
All tools follow a consistent verb_noun pattern with perfect uniformity. Every tool name uses snake_case with clear action prefixes: 'get_' for retrieving specific data, 'list_' for discovering available resources, and 'search_' for finding content. This creates a predictable and intuitive naming convention throughout the entire set.
With 16 tools, this server provides comprehensive coverage of video platform functionality without being overwhelming. The tools cover analytics, media management, content discovery, and supplementary materials - all appropriate for a Kaltura video platform server. Each tool serves a distinct purpose that justifies its inclusion.
The tool set provides complete coverage for video platform operations including content discovery (search_entries, list_categories), metadata retrieval (get_media_entry), analytics (multiple get_analytics variants), media access (get_download_url, get_thumbnail_url), and supplementary materials (captions, attachments). The surface covers the entire lifecycle from discovery to detailed analysis.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for Studex tools, notifications, and profile integrations
Intelligent context infrastructure for AI teams: knowledge graph, sessions, tasks, documents.
Related MCP Servers
- FlicenseBqualityDmaintenanceImplements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.1153-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol implementation with a modular architecture that exposes capabilities through specialized agents, enabling seamless integration with Claude Desktop and web applications.2-
- AlicenseNot gradedqualityDmaintenanceEnables AI models to upload, retrieve, search, and manage media in Kaltura, including categories and users, via the Model Context Protocol.1MIT
- AlicenseBqualityCmaintenanceProvides AI-powered media generation tools including image, speech, video, OCR, and voice conversion via the Model Context Protocol.6MIT