# SVG to Video

SVG to Video is an MCP server that converts animated SVG files into video or GIF formats. It integrates into workflows needing animation exports for documentation or embedded assets.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 6 repo stars
- Author: GehDoc
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/GehDoc/svg-to-video
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/svg-to-video

## What it does

This tool transforms CSS- or SMIL-animated SVGs into video formats including MP4, WebM, aPNG, or GIF. It performs frame-accurate capture with full alpha-channel support, maintaining transparency for overlays or web graphics.

The server requires Node.js and FFmpeg installed on the host system. It operates in headless mode, making it suitable for CI/CD pipelines or automated scripts to generate project documentation and visual demonstrations.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `DO_NOT_TRACK`, `MCP_HOSTED`, `PUPPETEER_EXECUTABLE_PATH`, `PUPPETEER_ARGS` — 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 --env DO_NOT_TRACK=<DO_NOT_TRACK> --env MCP_HOSTED=<MCP_HOSTED> --env PUPPETEER_EXECUTABLE_PATH=<PUPPETEER_EXECUTABLE_PATH> --env PUPPETEER_ARGS=<PUPPETEER_ARGS> --transport stdio svg-to-video -- npx -y @gehdoc/svg-to-video
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add svg-to-video --env DO_NOT_TRACK=<DO_NOT_TRACK> --env MCP_HOSTED=<MCP_HOSTED> --env PUPPETEER_EXECUTABLE_PATH=<PUPPETEER_EXECUTABLE_PATH> --env PUPPETEER_ARGS=<PUPPETEER_ARGS> -- npx -y @gehdoc/svg-to-video
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "svg-to-video": {
            "command": "npx",
            "args": [
                "-y",
                "@gehdoc/svg-to-video"
            ],
            "env": {
                "DO_NOT_TRACK": "<DO_NOT_TRACK>",
                "MCP_HOSTED": "<MCP_HOSTED>",
                "PUPPETEER_EXECUTABLE_PATH": "<PUPPETEER_EXECUTABLE_PATH>",
                "PUPPETEER_ARGS": "<PUPPETEER_ARGS>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "svg-to-video": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@gehdoc/svg-to-video"
            ],
            "env": {
                "DO_NOT_TRACK": "<DO_NOT_TRACK>",
                "MCP_HOSTED": "<MCP_HOSTED>",
                "PUPPETEER_EXECUTABLE_PATH": "<PUPPETEER_EXECUTABLE_PATH>",
                "PUPPETEER_ARGS": "<PUPPETEER_ARGS>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e DO_NOT_TRACK=<DO_NOT_TRACK> -e MCP_HOSTED=<MCP_HOSTED> -e PUPPETEER_EXECUTABLE_PATH=<PUPPETEER_EXECUTABLE_PATH> -e PUPPETEER_ARGS=<PUPPETEER_ARGS> svg-to-video npx -y @gehdoc/svg-to-video
```
Replace <…> with your own values

## When to use it
- Convert animated SVG into video files
- Create transparent GIFs from animations
- Export graphics as Base64 strings
- Automate video generation in CI/CD pipelines

## Example prompts
- Convert animation.svg to an MP4 video with 1920x1080 resolution
- Create an animated PNG from logo.svg with a duration of 5 seconds

## Similar
- [manim-video](https://affpapa.org/en/nevibecode/skills/manim-video.md) — skill · 6600 installs
- [vox-video-director](https://affpapa.org/en/nevibecode/skills/vox-video-director.md) — skill · 161 installs
- [reverse-any-video](https://affpapa.org/en/nevibecode/skills/reverse-any-video.md) — skill · 180600 installs
- [promo-video](https://affpapa.org/en/nevibecode/skills/pedronauck-promo-video.md) — skill · 257 installs
- [convert-video-prompt](https://affpapa.org/en/nevibecode/prompts/convert-video-prompt.md) — prompt · ★ 361 repo stars
- [svg-animation](https://affpapa.org/en/nevibecode/skills/svg-animation.md) — skill · 4400 installs

---
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
