Skip to content
VS Code

BrickScape for VS Code

io.github.xanzure/brickscape

Design LEGO builds that can really be built: checked connections, Studio files, instructions.

client:VS Code transport:stdio runtime:pypi

Install BrickScape in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "brickscape-out",
      "description": "BRICKSCAPE_OUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brickscape-source",
      "description": "BRICKSCAPE_SOURCE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ldraw-library-path",
      "description": "LDRAW_LIBRARY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ldraw-mcp-blender",
      "description": "LDRAW_MCP_BLENDER",
      "password": true
    }
  ],
  "servers": {
    "brickscape": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "brickscape"
      ],
      "env": {
        "BRICKSCAPE_OUT": "${input:brickscape-out}",
        "BRICKSCAPE_SOURCE": "${input:brickscape-source}",
        "LDRAW_LIBRARY_PATH": "${input:ldraw-library-path}",
        "LDRAW_MCP_BLENDER": "${input:ldraw-mcp-blender}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

BrickScape in other clients