MCP cover image
See in Github
2025-04-05

Twelvelabs MCP服务器代码

1

Github Watches

0

Github Forks

0

Github Stars

TwelveLabs MCP 서버

TwelveLabs API를 활용한 Model Context Protocol(MCP) 서버입니다.

기능

  • 인덱스 생성 및 관리
  • 비디오 업로드 및 분석
  • 텍스트 기반 비디오 검색
  • 비디오로부터 텍스트 생성 (트랜스크립트, 요약 등)

사전 요구사항

  • TwelveLabs API 키
  • Docker 및 Docker Compose (선택사항, 컨테이너화된 실행을 위해)
  • Node.js (로컬 실행 시)

로컬에서 실행하기

  1. 필요한 환경 변수 설정:
export TWELVELABS_API_KEY="your_api_key_here"
  1. 종속성 설치:
npm install
  1. 서버 실행:
npm start

Docker를 사용하여 실행하기

방법 1: Docker Compose 사용

  1. 필요한 폴더 생성:
mkdir -p data
  1. 환경 변수 설정:
export TWELVELABS_API_KEY="your_api_key_here"
  1. Docker Compose로 실행:
docker-compose up -d

방법 2: Docker 명령어 직접 사용

docker build -t twelvelabs-mcp .
docker run -e TWELVELABS_API_KEY="your_api_key_here" twelvelabs-mcp

Portainer에서 실행 시 주의사항

Portainer에서 볼륨 문제가 발생할 경우, 다음과 같이 수동으로 볼륨을 생성하고 서비스에 연결해 보세요:

  1. 볼륨 생성:
docker volume create \
  --driver local \
  --opt type=none \
  --opt device=/path/to/host/directory \
  --opt o=bind \
  twelvelabs-mcp-data
  1. 서비스 업데이트 (N8N 환경에서):
docker service update \
  --mount-add type=volume,source=twelvelabs-mcp-data,target=/app/data \
  your_service_name

트러블슈팅

모듈을 찾을 수 없는 오류

이 오류는 보통 볼륨 마운트가 올바르게 설정되지 않았을 때 발생합니다. 위의 "Portainer에서 실행 시 주의사항"을 참고하세요.

API 키 인증 오류

환경 변수 TWELVELABS_API_KEY가 올바르게 설정되었는지 확인하세요.

라이선스

MIT

相关推荐

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

    Reviews

    3 (1)
    Avatar
    user_MrXXc2hv
    2025-04-16

    I've been using twelvelabs-mcp-server by anchor-airballoon and it has been a game-changer. The seamless integration and robust features have significantly streamlined my workflow. It's incredibly reliable and the community support is fantastic. Highly recommend checking it out on GitHub!