paprika3d (three.js games and 3D pages end to end, for coding agents)

io.github.Keeno-Corp由 GitHub 帳號 Keeno-Corp 發布v0.4.2更新於 Nov 6, 2026

Three.js MCP server: build three.js games and 3D pages end to end, from references to a live link

發布方自己的服務:GAMES.GG

概覽

AI 產生的概覽

在本機執行的 three.js MCP 伺服器,讓程式設計助理從頭到尾製作、試玩、量測並發布 3D 遊戲與網頁。

可以做什麼
  • 在無頭 Chrome 中開啟並檢查 three.js、React Three Fiber 或 WebGL 頁面:查看畫面上的內容、從未出現的物件、載入失敗的檔案,以及光照與 z-fighting 缺陷
  • 試玩頁面:在暫停且固定種子的時鐘的精確影格上按鍵、點擊、觸控與捲動,把一次試玩存成可重複執行的測試,並量測命中或拾取在畫面上的呈現
  • 對 scene、camera 與 renderer 執行任意 JavaScript,並讀取網格的三角形、邊界、體積與虧格
  • 依桌機、行動裝置、Quest 或網站預算量測影格時間,只保留不改變畫面的加速
  • 將頁面與參考圖比對,並依區域列出差異
  • 尋找、生成、審查與壓縮 3D 模型、貼圖與 HDRI,並寫入幾何與特效輔助檔案
適用情境
適合助理正在製作或修正 three.js 遊戲、產品檢視器、配置器、捲動網站或著色器示範,需要真正看到、試玩並量測結果而不是憑猜測的情況。也適合需要確認匯入的 glTF 模型尺寸正確或找出閃爍面的助理。
執行需求
透過 npx 以本機程序執行(需 Node 20.11 或更新版本),並需要安裝 Google Chrome。完整引導流程需要 Claude Code 2.1.118 或更新版本;無人值守迴圈還需要 PATH 中有 claude 與 git。可選的圖像與模型生成使用你自己的供應商金鑰,例如 FAL_KEY;發布需要候補名單邀請碼 PAPRIKA3D_PUBLISH_INVITE。
安裝前請注意
圖像與模型生成會計費到你自己的供應商金鑰(fal、OpenAI、Gemini、Meshy、Tripo),且只在你要求時執行。無人值守迴圈每輪啟動兩個 Claude Code 工作階段,依工作階段計費。搜尋與選取會傳送到外部素材庫,參考搜尋會把請求中的詞傳給 Wikimedia Commons、Openverse 以及網頁與 YouTube 搜尋,發布會上傳建置好的專案。意見回饋與安裝遙測可用 DO_NOT_TRACK=1 或 PAPRIKA3D_TELEMETRY=0 關閉。每次開啟會刪除較舊執行資料夾中的圖片與影片片段。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 paprika3d (three.js games and 3D pages end to end, for coding agents),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

paprika3d

paprika3d turns your coding agent into a game studio.

Three.js MCP server and Claude Code plugin: build three.js games and 3D pages end to end, from references and a design doc to playtesting, models and a published link.

[npm] [works with Claude Code, Codex, Gemini CLI, Cursor and VS Code] [MCP server] [docs] [license: Apache 2.0] [paprika3d MCP server: quality and maintenance score on Glama]

[An 8-second loop from the paprika3d intro reel: a flower burst over a harbour, a yellow-walled Backrooms corridor, a stone figure with a skull at a computer keyboard, a low-poly lighthouse and cottage, a lighthouse on a green sea cliff with two people, and an illustrated PAPRIKA poster. It links to the full 46-second video.]

It takes a three.js game from references on the web to a look and character sheets, a design doc with the creative calls left to you, the build, then loops that keep improving it, all in one lean package of tools. Along the way your agent plays the game, measures every frame and finds or builds the models. That is how the game gets good: it finds the invisible model, the file that never loaded and the flickering faces, and fixes them before it tells you it is done.

In Claude Code the whole flow is two commands, /paprika3d:paprika-make <request> and /paprika3d:paprika-loop <request> for <time>. Codex, Gemini CLI, Cursor and other MCP clients get the same tools, and the skills with npx skills add paprika3d/paprika3d.

The main result: with paprika3d, Sonnet 5.5 made 86% of its 3D objects pass every check, against 66% without it: +20 points (95% interval +11 to +29), over 150 runs in each arm. The checks are no flickering, see-through or inside-out faces, code that runs, and a budget. The checks come from 3JSBench by General Context Labs. All results, each with its run count.

Install

Needs Google Chrome and Node 20.11 or later; the Claude Code plugin needs Claude Code 2.1.118 or later.

AgentInstall
Claude Codeclaude plugin marketplace add paprika3d/paprika3d
claude plugin install paprika3d@paprika3d
Codex CLIcodex mcp add paprika -- npx -y paprika3d serve
Gemini CLIgemini mcp add paprika npx -y paprika3d serve
Cursor, VS Code, Windsurfnpx -y paprika3d serve as an MCP server in the client's settings (JSON below)
Skill only (any agent)npx skills add paprika3d/paprika3d (one skill: --skill threejs-screenshot)

Then, in Claude Code, type /paprika3d:paprika-make <request> to make a game or 3D page from one request. In any agent, ask it to use paprika3d to playtest a page you already have.

Other MCP clients

Cursor (.cursor/mcp.json), Windsurf and any other MCP client take this entry; VS Code's .vscode/mcp.json takes the same entry under servers instead of mcpServers:

json
{  "mcpServers": {    "paprika": {      "command": "npx",      "args": ["-y", "paprika3d", "serve"]    }  }}

How it works

/paprika3d:paprika-make <request> works in this order, with a few rounds of questions for the calls that are yours. The first three stages each write a file you can read and change; how it works has each stage's files, questions and keys.

StageWhat happensTools and files
1. ReferencesYour pictures, or a subagent's picks from Wikimedia Commons and Openverse with each licence and source, numbered on one picture for you to keep or drop. If you say yes, a search of the web, YouTube included, for study references and free models; these stay in refs/study/ and are never publishedrefs/, reference
2. Look and charactersA style sheet (LOOK.md: palette, light, materials, camera and the checks the build is held to) and character sheets (CHARACTERS.md), written from the tagged references. A free look board of your references and their colours every time; with your own fal, OpenAI or Gemini key, an image model's look board and front, side and back views of up to four characterssheet (preview), refs/sheets/
3. Design docFor a game, DESIGN.md: core loop, controls, progression, win and lose, levels, feel, audio and UI. The calls that change what the game is (tone, the progression, the win condition) are asked of you; the rest are logged as the builder's, with the options not taken, so you can change one. Your own design doc is read and added to, never overwritten. BRIEF.md lists what the build is checked againstDESIGN.md, BRIEF.md
4. BuildWhere each key model comes from: the library, a free CC0 or CC BY model from the web, a model generated with your own fal, Meshy or Tripo key, or code. Then the whole page in one pass, opened, played, measured and fixed against the brief, with a critic listing what still looks wrongasset_search (preview), model_run and model_look (preview), model_audit, geo.js, fx.js, and the tools below
5. Loops/paprika3d:paprika-loop <request> for <time> keeps improving it unattended until the time is up: fresh claude -p sessions, a builder then a read-only judge each round, a commit per round. Change paprika-loop/PROMPT.md while it runs to change course. publish (preview, invite-only) puts the game on https://<name>.paprika3d.app when you askpaprika-loop, publish (preview)

A one-line request takes about four rounds of questions and spends nothing on your keys unasked. sheet names which image and 3D model keys are set, never their values; set one with /plugin configure paprika3d or the provider's usual variable, such as FAL_KEY. The loop starts only when you type it; each round is two Claude Code sessions, billed as such, and it needs claude and git on PATH. To publish, join the waitlist at https://paprika3d.com/waitlist and set PAPRIKA3D_PUBLISH_INVITE to your code; what a publish uploads and records.

The full flow runs in Claude Code. In other agents the tools below work the same, and npx skills add paprika3d/paprika3d adds the skills.

How the game gets good

From the first draft on, every stage runs on these tools. Your agent opens its page in headless Chrome on a clock it controls, reads which objects are on screen and which never appear, plays inputs on exact frames and times each frame. They work on any three.js, React Three Fiber or WebGL page, WebGPURenderer included: games, product viewers and configurators, scroll sites, simulations, shader and post-processing demos. Your page needs no changes.

PartWhat your agent doesTools
See itSees what is on screen, what never appears and why (behind the camera, outside the view, too small), which files failed to load, and which lighting and surface faults showopen, look, observe
Play itPresses keys, clicks, touches and scrolls on exact frames of a paused, seeded clock, reads the state after each input, keeps a play as a check that reruns after every edit, and measures how a hit or pickup shows on screeninteract, test, feel
Ask itRuns any JavaScript against scene, camera and renderer, and reads each mesh's triangles, bounds, closed edges, volume and genuseval
Speed itTimes the frame against a desktop, mobile, Quest or site budget, finds what costs it, and keeps only the speed-ups that leave the picture unchangedperf
Match a pictureReads a picture the page should match (a crop with a pixel grid, colours at points), and puts the page beside it with the differences by regionreference
Find modelsFinds a ready-made model, PBR texture or HDRI sky in a hosted library (57,732 models, 3,545 textures, 1,430 skies), by words or by a crop of a picture; pick downloads one into the project with the code that loads it, and a CC BY model's credit line into CREDITS.mdasset_search (preview)
Build modelsBuilds a model in code, in a modelling scene kept between calls (three.js and Manifold: booleans, hull, extrude, revolve), shows it true to size from four sides, and saves a .glb the page loadsmodel_run, model_look (preview)
Check modelsChecks .glb, .gltf and USD files for size, triangles, textures and compression, with a site or Shopify verdict; shrink rewrites a .glb or .gltf smallermodel_audit

open also puts two helper files in the project, geo.js (procedural geometry) and fx.js (sound, textures, particles, a lighting setup), and the skill can add game-state, which keeps game state in typed arrays and runs Rapier physics in a worker. send_feedback sends the team a report when a reply was wrong. Every tool, with when to reach for it, the skills, the hooks and the files: what the plugin adds.

What your agent sees

Every reply is short text with the numbers that fix the problem. Part of one look reply, on a test page with a start line laid flat on a road:

text
Surfaces: "road" and "startDecal" share a face plane (y = 0.00) over 2.6 × 16 units: they flicker as the camera moves (z-fighting). Move one at least 0.00054 units off the plane (what the depth buffer can tell apart at 21 units from this camera), give the top one material.polygonOffset = true with polygonOffsetFactor -1, or remove the hidden face.On screen (4):road 44% [0, 307, 1279, 799] 500 × 18 units, along the viewgrass 17% [0, 307, 1279, 587] 600 × 400 unitsstartDecal 0.46% [366, 427, 915, 440] 16 × 2.6 units, across the viewboard4 0.075% [553, 286, 587, 307] 8 × 5 unitsNever visible: none

Results

3JSBench by General Context Labs checks the 3D objects a model builds from one-line requests. In our run of its checks, more objects pass with paprika3d:

3JSBenchWithout paprika3dWith paprika3dDifference (95% interval)Runs
Sonnet 5.5: objects that pass every check66%86%+20 points (+11 to +29)150 per arm (50 objects, 3 runs each)
Opus 5.5: objects that pass every check63%78%+15 points (+4 to +26)150 per arm (50 objects, 3 runs each)
Sonnet 5.5: objects with no flickering (z-fighting) faces68%88%+20 points (+11 to +29)150 per arm (50 objects, 3 runs each)
Opus 5.5: objects with no flickering (z-fighting) faces69%89%+21 points (+11 to +31)150 per arm (50 objects, 3 runs each)

Imported models show up, at the right size. Sonnet 5.5 building three.js pages that each load a glTF model. The paprika3d runs had a one-time reminder to open the page after the first edit; the plugin's after-edit hook now says once that a page the agent wrote has not been opened.

Imported modelsWithout paprika3dWith paprika3dRuns
Model loaded and shown at the right size1 of 11 runs9 of 11 runs11 per arm, a small sample
Draco-compressed model loaded0 of 3 runs3 of 3 runs3 per arm, a small sample

On a mini golf page the agent loaded a toy car so small it never showed up, and the screenshot looked fine. look named it: Never visible: ToyCar (0.0338 units, in view).

Finding flickering faces in finished objects. An agent was shown 133 finished objects, one run each, and asked for their defects. With Sonnet 5.5, paprika3d found 75% of the flickering faces and Playwright MCP with a written QA skill and a measuring script found 44%; paprika3d passed 80% of the clean objects and Playwright 66%. With Opus 5.5 the two were close: 40% and 35% of the flickering faces found.

Heavy physics leaves the main thread free. With game-state, a scene of about 2,000 crates spent 1.3 to 2.0 ms of each frame on the main thread instead of 7 to 11 ms, and passed 18 of 18 game checks either way. Opus 5.5, 2 runs per arm, a small sample; both arms had paprika3d, the difference is game-state.

How it compares with Playwright MCP and Blender MCP

paprika3d is built for one job: an agent making a three.js game or 3D page, end to end.

paprika3dPlaywright MCPBlender MCP
Sees the three.js scene graph (named objects, sizes, what never appears)YesNoNo
Paused, seeded clock: the same inputs give the same framesYesNot built inNo
Input on an exact frame, with the game's state backYesNoNo
Frame time against a budget, and an optimizerYesNoNo
Lighting and z-fighting faults namedYesNoNo
References, a style sheet, a design doc, a build and an unattended loop in one flowYesNoNo

Making a game checkable

Any page works as it is. Add window.__game (describe, observe, act and setState) once the page has loaded, and your agent reads and sets the game's exact state: the convention.

Where runs go

paprika3d/runs/<time>/: one folder per open. Each open deletes the pictures and clips (.png, .gif, .mp4) of all but the newest 10 run folders, keeping run.json, last-test.json and every other file; a folder written to in the last hour is left whole. Saved baselines live in paprika3d/baselines/. Add paprika3d/ to the project's .gitignore.

geo.js and fx.js are written on the first open and replaced only when the plugin's copy changes; leave them in place.

What leaves your machine

  • look and interact, when the project has no matching three.js installed, have Chrome fetch that three.js version from cdn.jsdelivr.net.
  • asset_search sends your agent's searches (the words, or the crop of a picture it searches by) and what it picks to the asset library at assets.keeno.dev.
  • send_feedback, only when the agent calls it, sends its text, the last tool call's name, option names and error, the plugin version, OS and Node version, a random install id (kept in ~/.paprika3d/telemetry/id) and a per-run id. DO_NOT_TRACK=1 or PAPRIKA3D_TELEMETRY=0 turns it off.
  • Once per install and per update, the MCP server sends the same install id, the plugin version, OS and Node version and your MCP client's name and version, so the team can count installs; nothing about your project. The same switches turn it off.
  • /paprika3d:paprika-make's reference search sends words from your request to Wikimedia Commons and Openverse, and, after you say yes, to a web and YouTube search.
  • sheet, with your own key, when a sheet or model is asked for: the prompt and the reference pictures it is made from, to the provider you chose (fal, OpenAI or Gemini for pictures; fal, Meshy or Tripo for models), billed to your key.
  • publish, only when you ask: the built project, to host it.

What stays stable

The tool names and their inputs, the skill names, the paprika3d serve command and the environment variables in server.json change only in a minor release before 1.0, and only with a note in CHANGELOG.md, which lists each release; a patch release never changes them. The previews may change in any minor release: publish, sheet, model_run and model_look, asset_search, and open's browser: "firefox".

Requirements and limits (Chrome's location, Firefox, running with no GPU, headless Chrome): the install page.

Source, contributions and license

Each release ships the readable TypeScript it was built from, in source/. Contributions are welcome as a patch in an issue or a pull request, each commit signed off for the Developer Certificate of Origin (git commit -s); see CONTRIBUTING.md. Issues: https://github.com/paprika3d/paprika3d/issues.

Apache License 2.0 (LICENSE). The packages each build bundles keep their own licences, listed in THIRD_PARTY_NOTICES.md.

來源:README.md,提交 594f009

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.4.2最新Nov 6, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Games 整合