Skip to content
VS Code

CityEngine Cloud for VS Code

io.github.cgajs/cityengine-mcp

Text-to-3D city buildings: natural language to CGA rules to rendered glTF models.

client:VS Code transport:stdio runtime:oci

Install CityEngine Cloud in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cityengine-api-key",
      "description": "CITYENGINE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cityengine-gateway-base",
      "description": "CITYENGINE_GATEWAY_BASE",
      "password": true
    }
  ],
  "servers": {
    "cityengine-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/cgajs/cityengine-mcp:0.1.0"
      ],
      "env": {
        "CITYENGINE_API_KEY": "${input:cityengine-api-key}",
        "CITYENGINE_GATEWAY_BASE": "${input:cityengine-gateway-base}"
      }
    }
  }
}

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

CityEngine Cloud in other clients