
hrishikesh332/tl_indexing_mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
이 MCP 서버는 TwelveLabs로 영상 색인을 붙이는 2개의 공구를 제공합니다:
개요
이 MCP 서버는 TwelveLabs로 영상 색인을 붙이는 2개의 공구를 제공합니다: 검색 및 분석을위한 로컬 비디오 파일 업로드 및 인덱스. - index id (required) : TwelveLabs 인덱스의 ID는 비디오를 추가하기 위해 - video file path (required) : 로컬 비디오 파일에 절대 경로 (예 : /path/to/video.mp4) 비디오 색인 작업의 현재 상태를 확인합니다. - task id (필수): start video indexing에서 인덱스 작업의 ID - 상태 (출입, 처리, 준비, 실패) - 비디오 ID 언제 준비 - Metadata 및 오류 세부 사항 적용
개요(AI 번역)
TwelveLabs 지역 비디오에 대한 설정
파일에 navigative 후에 -
1. TypeScript와 빌드
2. 빌드 검증
사용 가능한 도구
이 MCP 서버는 TwelveLabs로 영상 색인을 붙이는 2개의 공구를 제공합니다:
##1. start_video_indexing
검색 및 분석을위한 로컬 비디오 파일 업로드 및 인덱스.
** 모수: **
index_id(필수): TwelveLabs 인덱스의 ID로 비디오를 추가합니다.video_file_path(필수): 로컬 비디오 파일에 절대 경로 (예: [T3]])
리턴스: 작업 ID 및 인덱스 상태
##2. get_indexing_task_status
비디오 색인 작업의 현재 상태를 확인합니다.
** 모수: **
task_id(필수):start_video_indexing에서 색인 작업의 ID
리턴스:
- 상태 (공개, 처리, 준비, 실패)
- 준비할 때 비디오 ID
- 적용 가능한 경우 Metadata 및 오류 정보
구성
클라이언트 측에 설정 편집 -
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
Setup for the TwelveLabs Indexing for the Local Video
After navigative to the file -
1. Build with TypeScript
npx tsc --outDir build --module NodeNext --target ES2022
2. Verify build
ls -la build/index.js
Available Tools
This MCP server provides two tools for video indexing with TwelveLabs:
1. start_video_indexing
Upload and index a local video file for search and analysis.
Parameters:
index_id(required): The ID of the TwelveLabs index to add the video tovideo_file_path(required): Absolute path to the local video file (e.g.,/path/to/video.mp4)
Returns: Task ID and indexing status
2. get_indexing_task_status
Check the current status of a video indexing task.
Parameters:
task_id(required): The ID of the indexing task fromstart_video_indexing
Returns:
- Status (pending, processing, ready, or failed)
- Video ID when ready
- Metadata and error details if applicable
Configuration
Edit the config on the client side -
{
"mcpServers": {
"twelvelabs-indexing": {
"command": "node",
"args": ["/Users/hrishikesh/Desktop/tl-index-mcp/twelvelabs-indexing/build/index.js"],
"env": {
"TWELVELABS_API_KEY": "Your TL API KEY"
}
}
}
}
설치
npx tsc --outDir build --module NodeNext --target ES2022