# zpup

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.

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

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add zpup -- npx -y @zpup/mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add mcp -- npx -y @zpup/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@zpup/mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@zpup/mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp npx -y @zpup/mcp
```

## When to use it
- 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
- 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

## Similar
- [canvas2d-isometric-renderer](https://affpapa.org/en/nevibecode/skills/canvas2d-isometric-renderer.md) — skill · ★ 53 repo stars
- [fal-assets](https://affpapa.org/en/nevibecode/skills/fal-assets.md) — skill · 2000 installs
- [archviz](https://affpapa.org/en/nevibecode/skills/archviz.md) — skill · 787 installs
- [blender-rendering](https://affpapa.org/en/nevibecode/skills/blender-agent-skills-blender-rendering.md) — skill · 582 installs
- [threejs-scene-composition](https://affpapa.org/en/nevibecode/skills/threejs-scene-composition.md) — skill · 183 installs
- [Lumen](https://affpapa.org/en/nevibecode/mcp/qompassai-lumen.md) — MCP server

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