MCP server 또는 CLI를 통해 문서와 사진을 AI 기반 내레이션 영상으로 변환합니다.
다른 이름 doc2video/cli, cli
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.2.3
- 마지막 커밋
- 2026년 10월 26일
- 라이선스
- MIT
doc2video MCP란?
doc2video은(는) MCP server입니다. MCP server 또는 CLI를 통해 문서와 사진을 AI 기반 내레이션 영상으로 변환합니다.
프로젝트 README에서 생성된 요약
doc2video MCP server 정보
doc2video는 문서와 사진을 AI가 제작한 내레이션 영상으로 변환합니다. PDF, DOCX, PPTX 및 다양한 이미지 형식이 포함된 폴더를 스캔하여 스크립트를 작성하고 장면을 생성합니다. 사용자는 CLI를 통해 수동으로 프로세스를 제어하거나 Claude 또는 ChatGPT와 같은 AI agent에게 작업을 위임할 수 있습니다. 서비스는 초기 스토리보드 구성부터 최종 영상 조립까지 모든 과정을 원격 서버에서 처리합니다.
개발자는 이를 stdio를 통한 로컬 MCP server로 사용하거나 호스팅된 원격 버전에 연결할 수 있습니다. 로컬 설정에서는 AI가 컴퓨터의 파일에 접근할 수 있으며, 호스팅 버전은 텍스트, 공개 링크 또는 업로드된 파일을 제공해야 합니다. 인증은 브라우저 기반 로그인 또는 DOC2VIDEO_API_KEY 제공을 통해 이루어집니다. 시스템에는 d2v_view_storyboard와 같은 특정 도구가 포함되어 있어, 모델이 창작 과정에서 시각적 피드백을 위해 키프레임 이미지를 확인할 수 있습니다.
활용 사례
- 1문서를 활용한 자동 영상 제작텍스트 파일과 이미지가 포함된 폴더를 지정하여 내레이션 영상 제작을 자동화합니다.
- 2반복적인 장면 개선프로젝트 내 개별 장면에 대해 특정 시각적 또는 청각적 변경을 요청할 수 있습니다.
- 3AI 기반 영상 제작AI agent에게 영상 제작을 지시하고 오프닝 스크립트를 정교하게 다듬을 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
doc2video MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 doc2video MCP 설치
$ claude mcp add --env 'DOC2VIDEO_API_KEY=<YOUR_DOC2VIDEO_API_KEY>' cli -- npx -y doc2videoCursor에 doc2video MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"doc2video"
],
"env": {
"DOC2VIDEO_API_KEY": "<YOUR_DOC2VIDEO_API_KEY>"
}
}
}
}VS Code에 doc2video MCP 설치
.vscode/mcp.json
{
"servers": {
"cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"doc2video"
],
"env": {
"DOC2VIDEO_API_KEY": "<YOUR_DOC2VIDEO_API_KEY>"
}
}
}
}VS Code CLI에 doc2video MCP 설치
$ code --add-mcp '{"name":"cli","type":"stdio","command":"npx","args":["-y","doc2video"],"env":{"DOC2VIDEO_API_KEY":"<YOUR_DOC2VIDEO_API_KEY>"}}'Claude Desktop에 doc2video MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"doc2video"
],
"env": {
"DOC2VIDEO_API_KEY": "<YOUR_DOC2VIDEO_API_KEY>"
}
}
}
}Codex에 doc2video MCP 설치
$ codex mcp add cli --env 'DOC2VIDEO_API_KEY=<YOUR_DOC2VIDEO_API_KEY>' -- npx -y doc2videoCodex config.toml에 doc2video MCP 설치
~/.codex/config.toml
[mcp_servers.cli] command = "npx" args = ["-y", "doc2video"] [mcp_servers.cli.env] DOC2VIDEO_API_KEY = "<YOUR_DOC2VIDEO_API_KEY>"
Gemini CLI에 doc2video MCP 설치
$ gemini mcp add -s user -e 'DOC2VIDEO_API_KEY=<YOUR_DOC2VIDEO_API_KEY>' cli npx -- -y doc2videoGemini settings.json에 doc2video MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"doc2video"
],
"env": {
"DOC2VIDEO_API_KEY": "<YOUR_DOC2VIDEO_API_KEY>"
}
}
}
}구성
DOC2VIDEO_API_KEY비밀Optional API key from doc2video.io/dashboard/api-keys. Without one, the d2v_connect_account tool signs you in through your browser.
| 이름 | 설명 | 유형 |
|---|---|---|
| DOC2VIDEO_API_KEY | Optional API key from doc2video.io/dashboard/api-keys. Without one, the d2v_connect_account tool signs you in through your browser. | 비밀 |
자동 검사
2026년 11월 13일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능doc2video/cli is public and reachablegithub.com/doc2video/cli ↗통과
- 패키지가 이 저장소를 소스로 명시doc2video names doc2video/cli as sourcenpmjs.com/package/doc2video ↗통과
- 빌드 출처(Sigstore 증명)Sigstore attestation for doc2videonpmjs.com/package/doc2video/v/0.2.3#provenance ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-10-26github.com/doc2video/cli ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from doc2video통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음99 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답HTTPS endpoint answered 401 (sign-in required)통과
README
GitHub에서 보기d2v — doc2video CLI and MCP server
Point d2v at a folder of documents and photos and it makes a narrated, AI-produced video on
doc2video.io. Drive it yourself, or let Claude or ChatGPT (Codex) drive it
for you — either through the CLI or as an MCP server.
d2v create "Spring Open House" ./open-house --duration 1m --aspect 9:16 \
--direction "Warm and inviting, finish on the garden" --build --wait
Install
Requires Node.js 18.18+.
npm install -g doc2video # installs the `d2v` (and `doc2video`) command
Or run it without installing: npx doc2video <command>.
Log in
d2v login
Your browser opens doc2video. Sign in (or sign up), check the code matches your terminal, click
Approve — done. The key is saved to ~/.doc2video/config.json and shows up on the dashboard's
API page, where you can revoke it. No browser on this machine? d2v login --no-browser prints the
link to open anywhere.
Agents use two steps so they can show you the link: d2v login --start --json (returns the link
and code), then d2v login --wait after you approve. Over MCP, the d2v_connect_account tool does
the same.
You can also paste a key created on the API page (d2v login --key d2v_…) or set
DOC2VIDEO_API_KEY. To target another server (e.g. local dev) use --url http://localhost:3000
or DOC2VIDEO_URL.
What goes in the folder
| Kind | Formats | How it's used |
|---|---|---|
| Documents | PDF, DOCX, PPTX, Markdown, TXT, CSV, JSON | The story: the script is written from them |
| Photos | JPG, PNG, WebP, HEIC (iPhone) | Shown to the scriptwriter and featured in scenes |
Folders are scanned recursively (hidden files skipped). Legacy .doc/.ppt/Keynote/Pages files
are skipped with a hint to convert them. A photos-only folder works too — the story is built from
the photos and your creative direction. With no files at all, use --draft "description".
Photos are used as-is by default — cropped to the video's shape, and free as still or Ken
Burns scenes (you only pay for AI work, e.g. an AI video clip made from the photo). Use
--photos restyle to have AI polish them into cinematic keyframes while keeping the real subject,
or set it per scene with d2v scene <p> <n> --photo-treatment restyle.
Workflow
d2v create "Name" ./folder [settings] --build --wait # storyboard: script → keyframes → narration → preview
d2v show <project> # scenes, narration, preview URL, next steps
d2v pull <project> # keyframes + storyboard.md to a local folder
# steer, scene by scene
d2v keyframe <p> 3 "warmer light, show the sign" # edit the image
d2v keyframe <p> 3 --fresh # brand-new image
d2v narration <p> 3 --prompt "shorter and punchier" # AI rewrite + new voice-over
d2v narration <p> 3 --text "Exact words." # exact text + new voice-over
d2v scene <p> 3 --engine veo3 # still | kenburns | runway | veo3
d2v scene <p> 3 --photo IMG_2041.jpg # feature a photo (or --photo none)
d2v run <p> preview --wait # refresh the preview video
# finish (costs money — you pay in the browser)
d2v estimate <p>
d2v buy <p> --open # or: d2v buy <p> --credits, or: d2v redeem <p> CODE
d2v produce <p> --wait # AI clips → final assembly
d2v download <p>
Free storyboards and credits
Each day you get 2 free storyboards and 20 scene redos on unpaid projects. After that, a
storyboard costs $0.50 from prepaid credits — pass --use-credits to create --build, build
or run to confirm (without it the command stops and tells you the price). Credits also unlock
finished videos: d2v buy <p> --credits.
d2v credits # balance, free storyboards left today, recent activity
d2v credits add 10 --open # top up $5, $10 or $25 in the browser
Projects can be named by id, 8-character id prefix, or exact name. d2v help <command> shows
every option; d2v guide prints the full workflow guide.
Settings (on create and set): --duration auto|30s|1m|2m|5m|10m, --aspect 9:16|16:9,
--direction, --voice (see d2v voices), --stability, --photos original|restyle,
--consistency/--no-consistency, --client, --email, --phone, --website.
Long-running steps
Everything runs on doc2video's servers; a storyboard takes several minutes and final production
longer. --wait blocks with progress on stderr, and Ctrl+C only stops the waiting — the work
continues. Pick it back up with d2v wait <project>. Steps can be chained on the server, so a
build keeps going even if your terminal closes.
Scripting and agents
Add --json to any command for machine-readable output on stdout (progress stays on stderr).
Exit codes: 0 ok, 1 error, 2 usage error, 3 payment required, 4 --wait timed out,
5 rate limit or daily free limit reached.
Use it from Claude or ChatGPT
Hosted MCP server (nothing to install)
doc2video also runs the MCP server for you at https://doc2video.io/mcp. Add it as a custom
connector and sign in with your doc2video account when asked (OAuth — no keys to copy):
- Claude (claude.ai, Desktop, mobile): Settings → Connectors → Add custom connector, URL
https://doc2video.io/mcp. - Claude Code:
claude mcp add --transport http doc2video https://doc2video.io/mcp, then run/mcpto sign in. - ChatGPT: add a connector with the server URL
https://doc2video.io/mcp(developer mode) and OAuth sign-in. - Cursor, VS Code and other clients: a remote server entry such as
{ "doc2video": { "url": "https://doc2video.io/mcp" } }(VS Code:"type": "http").
The hosted server has the same tools, but it can't see your computer's files: give it text, public
links (PDFs, Word and PowerPoint files, photos, web pages), or add files on the project page it
links to. To work from local folders, use the CLI or d2v mcp below. Connected apps are listed,
and can be disconnected, on your dashboard's API page.
Claude Code / Codex CLI (shell)
Both can simply run d2v. Open a terminal agent in the folder with your files and ask, e.g.
"Make a 60-second vertical video from this folder with doc2video, show me the storyboard, and
punch up the opening." For better results, install the agent instructions:
- Claude Code: copy
agents/SKILL.mdto~/.claude/skills/doc2video-cli/SKILL.md - Codex CLI: append
agents/AGENTS.mdto~/.codex/AGENTS.md(or the folder'sAGENTS.md)
Both files ship with the package — find them under $(npm root -g)/doc2video/agents/.
MCP (Claude Desktop, Claude Code, Codex, any MCP client)
d2v mcp runs an MCP server over stdio with tools for the whole workflow — including
d2v_view_storyboard, which returns the keyframe images so the model can actually see the
storyboard and give visual feedback. It's listed in the official
MCP Registry as io.github.doc2video/d2v.
The API key below is optional: without one, the d2v_connect_account tool gives you a link to
sign in (or sign up) in your browser, and remembers the key.
Cursor / VS Code — use the buttons at the top of this page.
Claude Code
claude mcp add doc2video -- npx -y doc2video mcp
# or with a key from doc2video.io/dashboard/api-keys:
claude mcp add doc2video -e DOC2VIDEO_API_KEY=d2v_xxx -- npx -y doc2video mcp
Claude Desktop — claude_desktop_config.json:
{
"mcpServers": {
"doc2video": {
"command": "npx",
"args": ["-y", "doc2video", "mcp"],
"env": { "DOC2VIDEO_API_KEY": "d2v_xxx" }
}
}
}
Codex CLI — ~/.codex/config.toml:
[mcp_servers.doc2video]
command = "npx"
args = ["-y", "doc2video", "mcp"]
env = { DOC2VIDEO_API_KEY = "d2v_xxx" }
With a global install you can use "command": "d2v", "args": ["mcp"] instead of npx.
ChatGPT (web/desktop): ChatGPT connects only to remote MCP servers, so use the hosted server above. Use Codex CLI for local folders.
REST API
The CLI is a thin client over the doc2video REST API — see API.md to call it directly.
Development
npm install
npm run build # compile to dist/
npm test # build + end-to-end tests against a mock API (no network)
npm link # use your local build as `d2v`
Releases are published from GitHub Actions when a v* tag is pushed: to npm (with provenance)
and to the MCP Registry. Issues and pull requests are welcome at
github.com/doc2video/cli.
License
The CLI and MCP server are MIT licensed. They're a client for the hosted doc2video service at doc2video.io, which has its own terms.
doc2video MCP 질문
doc2video MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --env 'DOC2VIDEO_API_KEY=<YOUR_DOC2VIDEO_API_KEY>' cli -- npx -y doc2video를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
doc2video MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
doc2video에 어떻게 로그인하나요?
터미널에서 d2v login 명령어를 실행하십시오. 브라우저가 열리면 로그인하여 연결을 승인할 수 있습니다.
무료 플랜이 있나요?
네, 유료 프로젝트가 아닌 경우 하루에 2개의 무료 스토리보드와 20회의 장면 재작성(redo) 기회를 제공합니다.