Exposes two tools to Claude and other MCP clients: render_video and render_video_to_file. Both use Playwright with Chromium to load your HTML/CSS/JS, capture frame-by-frame screenshots, then pipe them through FFmpeg into MP4. You can run it locally via uvx or pip, or point directly at the hosted SSE endpoint on Hugging Face Spaces if you want zero local setup. The same engine powers a pywebview desktop app and a keyboard-driven TUI, so you're using the same renderer whether you're working through chat, command line, or GUI. Useful when you need an AI to generate animated explainers, UI demos, or data visualizations and deliver actual video files instead of static code.
Clip.A.Canvas transforms HTML/CSS/JS animations into MP4 videos — entirely local or hosted in the cloud. Powered by Chromium + FFmpeg for high-quality, browser-accurate rendering. Perfect for AI agents generating video content, demos, or visual explanations on-the-fly.
Clip.A.Canvas is a local and remote browser-motion-to-video toolkit.
It includes:
Desktop App: Paste, preview, and export animations locally with a pywebview UI.
MCP Server: Exposes HTML-to-video rendering tools to Antigravity, Gemini, Codex, Claude Code, and other AI clients.
Terminal UI (TUI): Keyboard-first command-line client for code-first rendering.
Website: https://clipacanvas.vercel.app
GitHub: https://github.com/mechreaper007x/ClipACanvas
Releases: https://github.com/mechreaper007x/ClipACanvas/releases/tag/v1.0.0
Cloud MCP (SSE): https://mechreaper007x-clip-a-canvas-mcp.hf.space/sse
Expose render_video and render_video_to_file tools to your AI assistant.
We host a public instance of the MCP server on Hugging Face Spaces using Server-Sent Events (SSE). Point your client configuration directly to our cloud endpoint:
Claude Desktop Configuration (claude_desktop_config.json):
{
"mcpServers": {
"clipacanvas": {
"url": "https://mechreaper007x-clip-a-canvas-mcp.hf.space/sse"
}
}
}
If you prefer running the server locally on your machine:
# Run locally with uvx
uvx --from clipacanvas-mcp clipmcp
# Or install via pip
pip install clipacanvas-mcp
Claude Desktop Configuration for Local Server:
{
"mcpServers": {
"clipacanvas": {
"command": "uvx",
"args": ["--from", "clipacanvas-mcp", "clipmcp"]
}
}
}
A keyboard-first CLI tool for local render pipelines.
# Using pipx (recommended)
pipx install clipacanvas-tui
# Using uv
uv tool install clipacanvas-tui
Run either command (clipacanvas-tui or clippp):
clipacanvas-tui --clipboard --preview
# or
clippp --clipboard --preview
A visual UI for editing, previewing, and rendering HTML code to MP4.
git clone https://github.com/mechreaper007x/ClipACanvas.git
cd ClipACanvas
pip install -r requirements.txt
pip install -r desktop_requirements.txt
npm install
python -m playwright install chromium
launch_desktop.bat or python desktop_app.py./launch_desktop.commandSee build_desktop.py to package binaries:
python build_desktop.py -> dist/ClipACanvas.exepython build_installer.py -> dist/ClipACanvas-Setup.exepython3 build_mac_app.py -> dist/ClipACanvas.appMIT
therealtimex/browser-use
jae-jae/fetcher-mcp
merajmehrabi/puppeteer-mcp-server
com.thenextgennexus/playwright-mcp-server
saik0s/mcp-browser-use