# 67js

> A WebGL2 3D engine with real-time and path-traced rendering plus an MCP server that lets AI agents build and render scenes.

67js is a WebGL2 3D engine from CodePawl that renders scenes described as plain data and exposes an MCP server so AI agents can create, edit and render them. It is distributed on npm as `@codepawlhq/67js` and is released under the MIT license. The homepage lists 24 MCP tools, the Glaze real-time renderer and the Cook path tracer.

## What It Is

67js is a browser 3D engine and toolkit. A scene is an array of parts, each with a geometry, a column-major matrix and a PBR material. You create a `Renderer67` (or `Glaze`) from a canvas and parts, then call `render` with a camera frame. Updating matrices and materials is done with `updateParts`, and adding parts requires a new renderer. The docs state it is not API-compatible with three.js and has no Blender-style modeling editor; scenes are built in code or by an agent.

## How agents drive it

The package includes an MCP server started with `npx 67js-mcp`, with a GPU or CPU backend and a local Chrome requirement. An agent authors JSON recipes, sets lights and fog, imports GLB assets and adds motion. It receives PNG previews, can compare up to four views in a review grid, and can run render jobs for stills and MP4 video. Edits return a revision and a diff, and the agent can restore earlier revisions, use checkpoints or try changes on a branch. The server accepts no arbitrary code and no remote asset URLs.

## Rendering and addons

Core rendering covers PBR materials, texture maps, shadows, HDR with bloom, MSAA, point lights, volume fog and HDRI image-based lighting. Separate addon imports add terrain, vegetation, characters and glTF import, liquid, vehicles, physics, procedural modeling, sculpting, path-traced stills, baked lightmaps, spatial audio and live game systems, so pages load only what they use.

## Setup path

Install with `npm install 67js@npm:@codepawlhq/67js`, which aliases the package to `67js`. The tools need Node.js 20.19 or later, and rendering needs a WebGL2 browser. A Claude Code plugin and a copy-paste agent install prompt are also documented. The package is plain JavaScript without TypeScript types.

## Features
- WebGL2 real-time renderer (Glaze) with PBR materials, shadows, HDR, bloom and MSAA
- Offline path tracer (Cook) for stills
- 24 MCP tools to create, edit, blend and render scenes
- Scene revisions, checkpoints, branches and diffs for agent edits
- Visual review grid comparing up to four views
- GLB/glTF import and export
- HDRI image-based lighting
- Point lights and volume fog
- Terrain, vegetation, liquid, vehicle and physics addons
- Procedural modeling (lathe, extrude, tube, curve)
- PNG and MP4 render export through headless Chrome
- Modular addon imports

## Integrations
Model Context Protocol, Claude Code, Codex, Cursor, Gemini CLI, OpenCode, glTF/GLB, Poly Haven HDRI, Rapier, Jolt Physics, npm, Vite

## Platforms
WINDOWS, WEB, API, DEVELOPER_SDK, CLI

## Pricing
Open Source

## Version
0.18.0

## Links
- Website: https://67js.codepawl.com
- Documentation: https://67js.codepawl.com/docs.html
- Repository: https://github.com/codepawl/67.js
- EveryDev.ai: https://www.everydev.ai/tools/67js
