# Install paprika3d
https://paprika3d.com/docs/install

Two commands in Claude Code, one line in any other MCP client. In Claude Code, start with `/paprika3d:paprika-make <request>`: it takes a game or 3D page from references and a design doc to the build, and [How it works](https://paprika3d.com/docs/how-it-works) walks through each stage. In every client your agent sees, plays and measures every three.js page it writes.

## Requirements

- Google Chrome. The harness runs the page in a headless instance of it, found at its usual install path on macOS, Linux or Windows, on PATH, or in Playwright's or Puppeteer's cache; on Windows, Edge is tried last. Anywhere else, set `PAPRIKA3D_CHROME` to its path. On Windows a test run has shown Chrome with `open`, `observe`, `eval`, `interact`, `look`, `model_run` and `model_look`. Edge and Firefox have not been run there, a dev-server `command` needs `sh`, and the hooks cannot yet read a Windows run folder ([#216](https://github.com/Keeno-Corp/paprika3d/issues/216)).
- Node 20.11 or later.
- For the Claude Code plugin, Claude Code 2.1.118 or later.
- Optional: Firefox, for `open`'s `browser: "firefox"`; the one installed on the machine is used (or `PAPRIKA3D_FIREFOX`). With no Chrome, a plain open falls back to it.

## Limits

- **No GPU needed.** Without one, Chrome draws WebGL in software: every tool works, first frames take seconds, and `open` and `perf` say those frame times are no budget signal. From 0.4.3, a WebGPU page on Linux with no GPU draws on WebGPU through SwiftShader, with no flag.
- **Headless Chrome:** sizes and pixel ratios are emulated, and no sound plays (the tools report the sounds a page started).
- The after-edit hook runs on Claude Code's `PostToolBatch` event, which versions before 2.1.118 lack.

## Claude Code

```bash
claude plugin marketplace add Keeno-Corp/paprika3d
claude plugin install paprika3d@paprika3d
```

The plugin adds the [tools](https://paprika3d.com/docs/tools) (`open`, `look`, `interact` and the rest; their full names start `mcp__plugin_paprika3d_paprika__`), the skills and the hooks to Claude Code.

**Start here:** `/paprika3d:paprika-make <request>`, for example `/paprika3d:paprika-make a small three.js game about a frog on a skateboard`. It asks a few questions for a short brief, gathers references, writes the sheets and builds the page; [How it works](https://paprika3d.com/docs/how-it-works) says what each stage writes and what needs a key. Then `/paprika3d:paprika-loop <request> for <time>` keeps improving it unattended. To fix or extend a page you already have, just ask the agent: the `threejs-game` skill, which Claude loads by itself, says what each tool shows.

## Other agent products

Cursor, Codex, Gemini CLI and any other client that speaks MCP run the server from npm, where it is published as [`paprika3d`](https://www.npmjs.com/package/paprika3d) with provenance:

```bash
npx -y paprika3d serve
```

Register that command as a stdio MCP server in the client's configuration (`"command": "npx", "args": ["-y", "paprika3d", "serve"]`). For the Codex CLI: `codex mcp add paprika -- npx -y paprika3d serve`; for the Gemini CLI: `gemini mcp add paprika npx -y paprika3d serve`. The tools are the same; the hooks and slash commands are Claude Code features. To give Cursor, Codex, OpenCode and other agents the skills too, add them next to the server:

```bash
npx skills add Keeno-Corp/paprika3d
```

Among them are `threejs-game` (the method) and one skill per task: `threejs-screenshot`, `threejs-visual-regression`, `threejs-play`, `threejs-test`, `threejs-perf` and `threejs-glb-audit`. `--skill <name>` adds one alone.

Without the skill, the agent needs to be told to open and look at its page (the [tools page](https://paprika3d.com/docs/tools) and the [skill](https://paprika3d.com/docs/skill) say how).

## Guides by client

What the agent can see and do once paprika3d is in, client by client: [Claude Code](https://paprika3d.com/docs/guides/claude-code-see-the-browser), [Cursor](https://paprika3d.com/docs/guides/cursor-see-the-browser) and [Codex](https://paprika3d.com/docs/guides/codex-use-the-browser). For games: [Claude Code plugins for game development](https://paprika3d.com/docs/guides/claude-code-plugins-for-game-development) and [an MCP server for game development](https://paprika3d.com/docs/guides/mcp-server-for-game-development). Every guide is listed on the [guides page](https://paprika3d.com/docs/guides).

Updated 2026-11-25.
