# Pascal 3D Editor

Let an AI agent edit building scenes in Pascal 3D Editor through MCP. Use it to add rooms and objects, then save scenes to local storage.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 25085
- Author: pascalorg
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pascalorg/editor/tree/HEAD/packages/mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/pascal-3d-editor

## What it does

The server connects an AI agent to Pascal’s scene editor. It can create rooms and walls, add doors, place objects, and set zones. Load a scene from a file or save scene data to a local SQLite database. When the editor and server use the same data directory, the editor can receive the server’s changes.

Run it with Node.js 22.13 or newer, or Bun. It works without a browser or an external database service. Before writing changes, the server checks the saved scene version; if another process has saved a newer version, reload the scene before continuing. Bun installs also need `@pascal-app/core` as a peer dependency.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://editor.pascal.app/api/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http editor https://editor.pascal.app/api/mcp
```

2. **Platform CLI**
```bash
claude mcp add mcp -- npx -y @pascal-app/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add mcp --url https://editor.pascal.app/api/mcp
```

2. **Platform CLI**
```bash
codex mcp add mcp -- npx -y @pascal-app/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "url": "https://editor.pascal.app/api/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@pascal-app/mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "http",
            "url": "https://editor.pascal.app/api/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@pascal-app/mcp"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http mcp https://editor.pascal.app/api/mcp
```

2. **Platform CLI**
```bash
gemini mcp add mcp npx -y @pascal-app/mcp
```

## When to use it
- add rooms and walls to a building scene
- place furniture and objects in a room
- load a scene file for editing
- save scene changes to a local database

## Example prompts
- Create a room in the loaded scene and add a door.
- Place objects in the room and save the scene.
- Load `./my-scene.json` and add a wall.

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