CityEngine Cloud
v0.1.0Text-to-3D city buildings: natural language to CGA rules to rendered glTF models.
Values you need
| Variable | What it is | |
|---|---|---|
CITYENGINE_API_KEY | required secret | API key for CityEngine Cloud (get one at https://www.cityengine.cn/plugins.html) |
CITYENGINE_GATEWAY_BASE | optional | Override gateway base URL (default https://api.cityengine.cn) |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add cityengine-mcp -e 'CITYENGINE_API_KEY=<CITYENGINE_API_KEY>' -- docker run -i --rm -e CITYENGINE_API_KEY ghcr.io/cgajs/cityengine-mcp:0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"cityengine-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"CITYENGINE_API_KEY",
"ghcr.io/cgajs/cityengine-mcp:0.1.0"
],
"command": "docker",
"env": {
"CITYENGINE_API_KEY": "<CITYENGINE_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"cityengine-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"CITYENGINE_API_KEY",
"ghcr.io/cgajs/cityengine-mcp:0.1.0"
],
"command": "docker",
"env": {
"CITYENGINE_API_KEY": "<CITYENGINE_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CITYENGINE_API_KEY",
"id": "cityengine-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"cityengine-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"CITYENGINE_API_KEY",
"ghcr.io/cgajs/cityengine-mcp:0.1.0"
],
"command": "docker",
"env": {
"CITYENGINE_API_KEY": "${input:cityengine-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.cityengine-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "CITYENGINE_API_KEY", "ghcr.io/cgajs/cityengine-mcp:0.1.0"]
env = { "CITYENGINE_API_KEY" = "<CITYENGINE_API_KEY>" }For AI agents
- Ask the user for: CITYENGINE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: parse_cga, generate_cga, generate_model, list_demos, get_demo, get_quota.
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json