# three.ws Scenes

Turn a text description into a 3D diorama, export a built world, or browse saved scenes. Use it when you want an AI agent to assemble a scene from a short prompt.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 249
- Author: nirholas
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nirholas/three.ws/tree/HEAD/packages/scene-mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/threews-scenes

## What it does

The server turns a description of a world into a diorama plan with a mood, palette, ground, and individual prompts for positioned objects. `build_world` handles the full path in one call, from planning through object generation to export. Or split the work: create a plan with `compose_scene`, then pass forged objects to `export_scene`.

Export combines the objects into a glTF 2.0 file with named nodes, ground, and lighting. Use `get_scene` to retrieve a saved world by ID, or `list_scenes` to browse recent and featured dioramas. Objects that fail to forge are skipped while the remaining scene can still be exported. The server requires Node.js >= 20 and network access to `https://three.ws`; no API key is needed.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `THREE_WS_BASE`, `THREE_WS_TIMEOUT_MS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --transport stdio scene-mcp -- npx -y @three-ws/scene-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add scene-mcp --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> -- npx -y @three-ws/scene-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "scene-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@three-ws/scene-mcp"
            ],
            "env": {
                "THREE_WS_BASE": "<THREE_WS_BASE>",
                "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "scene-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@three-ws/scene-mcp"
            ],
            "env": {
                "THREE_WS_BASE": "<THREE_WS_BASE>",
                "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e THREE_WS_BASE=<THREE_WS_BASE> -e THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> scene-mcp npx -y @three-ws/scene-mcp
```
Replace <…> with your own values

## When to use it
- turn a written scene idea into a diorama plan
- generate and export a 3D world in one call
- combine forged objects into a GLB scene
- retrieve a saved world by ID
- browse recent or featured dioramas

## Example prompts
- Create a 3D diorama of a lighthouse on a rocky shore during a storm.
- Build and export a world with a neon alley, a food cart, and streetlights.
- Find the saved scene with ID `scene-id`.

## Similar
- [Pascal 3D Editor](https://affpapa.org/en/nevibecode/mcp/pascal-3d-editor.md) — MCP server · ★ 25085
- [Unity-MCP](https://affpapa.org/en/nevibecode/mcp/unity-mcp.md) — MCP server · ★ 4523
- [mcp](https://affpapa.org/en/nevibecode/mcp/sceneview-mcp.md) — MCP server · ★ 1348
- [Gearboy MCP Server](https://affpapa.org/en/nevibecode/mcp/gearboy-mcp-server.md) — MCP server · ★ 1219
- [ChiR24-unreal_mcp_server](https://affpapa.org/en/nevibecode/mcp/chir24-unreal-mcp-server.md) — MCP server · ★ 975
- [Nova3D](https://affpapa.org/en/nevibecode/mcp/nova3d.md) — MCP server · ★ 733

From the same set: [nirholas/three.ws](https://affpapa.org/en/nevibecode/by/nirholas/three.ws.md) — 43 cards

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