@cocrates/video-edit-mcp

@cocrates/video-edit-mcp

Enables video editing via YAML/JSON edit specs, with validation and rendering using Remotion.

Category
Visit Server

README

@cocrates/video-edit-mcp

YAML/JSON edit spec으로 영상을 검증·렌더하는 CLI 및 MCP 서버입니다.
계약: spec/edit-spec.md.
렌더: Remotion (@remotion/bundler + @remotion/renderer).

요구 사항

  • Node.js ≥ 20
  • 시스템 ffmpeg 별도 설치 불필요 (Remotion 4가 인코딩·프레임 추출에 쓰는 바이너리를 관리)

설치

npm install
npm run build
npm link   # 선택: video-edit 명령을 PATH에 연결

엔트리

용도 경로
MCP dist/mcp/index.js
CLI dist/cli/index.js (video-edit)
라이브러리 dist/api.js (@cocrates/video-edit-mcp)

CLI

명령 이름: video-edit

video-edit validate ./examples/cut-concat.yaml
video-edit validate ./examples/cut-concat.yaml --resolve
video-edit render ./edit.yaml
video-edit render ./edit.yaml -o ./out/final.mp4

빌드 산출물로 직접 실행:

node dist/cli/index.js validate ./examples/cut-concat.yaml
node dist/cli/index.js render ./edit.yaml

MCP

Cursor mcp.json 예시는 examples/cursor-mcp.json.

{
  "mcpServers": {
    "video-edit-mcp": {
      "command": "node",
      "args": ["/home/drajin/work/video-edit-mcp/dist/mcp/index.js"]
    }
  }
}

연결 전:

cd /home/drajin/work/video-edit-mcp && npm install && npm run build
Tool 설명
validate_spec 스펙 검증
render_video Remotion으로 영상 렌더

라이브러리

import { renderEditSpecFile } from "@cocrates/video-edit-mcp";
await renderEditSpecFile("./edit.yaml");

GitHub Release · npm 배포

패키지 이름: @cocrates/video-edit-mcp (scoped). npm에 퍼블리시하려면 해당 scope 권한이 필요합니다.

1. 버전 올리기

npm version patch   # 0.1.0 → 0.1.1
# 또는 minor / major
npm run build

2. npm 배포

npm login
npm publish --access public

files 필드에 dist, README.md, LICENSE만 포함되므로 publish 전에 반드시 npm run build 하세요. (dist/는 gitignore일 수 있습니다.)

3. GitHub Release

git push origin main --follow-tags

gh release create v0.1.1 \
  --title "v0.1.1" \
  --notes "$(cat <<'EOF'
## Changes
- …

## Install
npm install -g @cocrates/video-edit-mcp@0.1.1
EOF
)"

태그/릴리스는 npm version이 만든 git tag와 버전을 맞추면 됩니다.

권장 순서

  1. PR 머지 → main
  2. npm version + npm run build + npm publish
  3. git push --follow-tags + gh release create

CI에서 publish하려면 Node 18+, NPM_TOKEN, (선택) GITHUB_TOKEN을 시크릿으로 두면 됩니다.

라이선스

Apache License

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured