zpup — Claude Code MCP server: 3D scene rendering to SVG
zpup is a Claude Code MCP server that turns JSON-defined 3D scenes into flat SVG graphics and PNG previews. The agent validates structure upfront and corrects geometry without full resubmissions.
MIT ★ 25 updated 2026-11-24
claude mcp add zpup -- npx -y @zpup/mcpWhat zpup does
The server converts three-dimensional scene definitions formatted as JSON into projected SVG vectors alongside raster PNG images. Its check_scene tool flags coordinate discrepancies or unknown keys with exact paths and fixes before any graphics are drawn.
The process stores the latest valid scene in memory, allowing targeted patches via changes operations like set, remove, insert, or copy using element selectors. Beyond static views, it outputs looping SVGs without JavaScript and transparent sprite sheets for game engines.
Node 20 or newer is required to execute the package. The server operates offline over standard input and output, clearing stored scene states whenever the process terminates.
What it helps with
- 3D scene rendering to SVG
- validate JSON scene syntax with actionable error paths
- generate looping rotating SVGs without JavaScript
- export transparent sprite sheets for game engines
Example prompts for the agent
- Render the current 3D scene from a 45-degree angle and save it to ./output.png
- Validate this scene object with check_scene before drawing it
- Create a looping rotating SVG animation of the remembered scene
How to install zpup
Platform CLI
claude mcp add zpup -- npx -y @zpup/mcpPlatform CLI
codex mcp add mcp -- npx -y @zpup/mcpConfig file
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@zpup/mcp"
]
}
}
}Config file
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zpup/mcp"
]
}
}
}Platform CLI
gemini mcp add mcp npx -y @zpup/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about zpup
How to install zpup in Claude Code?
Run claude mcp add zpup -- npx -y @zpup/mcp in your terminal.
What does zpup do?
It translates 3D scene models written in JSON into flat SVG code, returns PNG previews for visual inspection, and validates object geometry.
What is required to run zpup?
It requires Node 20 or later. It runs locally via standard I/O without external network dependencies.