# JSON2Video

Connect an agent to JSON2Video to render videos from movie JSON or templates and receive a video URL. Useful when you want to prepare video projects through an AI coding client.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: JSON2Video
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/JSON2Video/json2video-mcp
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/json2video

## What it does

The server lets an agent inspect movie JSON before rendering, browse account templates, fill template variables, and submit a render. It can also save reusable templates, manage media files, and retrieve account credit details. Rendered videos come back as URLs.

It runs locally through `npx -y @json2video/cli` and sends requests to the JSON2Video API. You need Node.js 20 or later and a `JSON2VIDEO_API_KEY`; renders spend credits from your account, so projects cannot be submitted without a key. In Claude Code, the setup command registers the server over stdio.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `JSON2VIDEO_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp -e JSON2VIDEO_API_KEY=<JSON2VIDEO_API_KEY> -- npx -y @json2video/cli
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add json2video --env JSON2VIDEO_API_KEY=<JSON2VIDEO_API_KEY> -- npx -y @json2video/cli
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "json2video": {
            "command": "npx",
            "args": [
                "-y",
                "@json2video/cli"
            ],
            "env": {
                "JSON2VIDEO_API_KEY": "<JSON2VIDEO_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "json2video": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@json2video/cli"
            ],
            "env": {
                "JSON2VIDEO_API_KEY": "<JSON2VIDEO_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e JSON2VIDEO_API_KEY=<JSON2VIDEO_API_KEY> json2video npx -y @json2video/cli
```
Replace <…> with your own values

## When to use it
- render a video from movie JSON and retrieve its URL
- fill a template with project-specific variables
- validate movie JSON before rendering
- upload media to the account library
- check remaining account credits

## Example prompts
- Create a video from this brief and return the finished video's URL.
- Show my templates and render the selected one with these variables.
- Validate this movie JSON and check the account's remaining credits.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74569
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
