
Text-to-3D city buildings: natural language to CGA rules to rendered glTF models.
Public tool metadata for what this MCP can expose to an agent.
generate_cgaNatural language → CGA rule source (sync, no rendering); supports base_cga + instruction refinementNatural language → CGA rule source (sync, no rendering); supports base_cga + instruction refinement
No parameter schema in public metadata yet.
parse_cgaCGA source + attributes → engine parse → 3D model stats + glb download (sha256 verified)CGA source + attributes → engine parse → 3D model stats + glb download (sha256 verified)
No parameter schema in public metadata yet.
generate_modelNatural language → ready 3D model (NL2CGA + parse chained), returns cga_source tooNatural language → ready 3D model (NL2CGA + parse chained), returns cga_source too
No parameter schema in public metadata yet.
list_demosList showcase demos on the official site (id/name/engine/attribute count)List showcase demos on the official site (id/name/engine/attribute count)
No parameter schema in public metadata yet.
get_demoInspect a demo's attribute panel, node/material counts, engine timingInspect a demo's attribute panel, node/material counts, engine timing
No parameter schema in public metadata yet.
get_quotaCurrent key's plan and quota usageCurrent key's plan and quota usage
No parameter schema in public metadata yet.
Sponsors
CITYENGINE_API_KEY*secretAPI key for CityEngine Cloud (get one at https://www.cityengine.cn/plugins.html)
CITYENGINE_GATEWAY_BASEOverride gateway base URL (default https://api.cityengine.cn)
Text-to-3D city buildings in one sentence: natural language → CGA rules → cloud engine → glTF/glb — plus demo browsing and quota lookup. Read-only compute endpoints only.
This repository contains two complementary packages:
| Package | What it is | Use it with |
|---|---|---|
cityengine-mcp (repo root) | MCP server (stdio, FastMCP) | kimi code, Codex CLI, Claude Desktop, any MCP client |
cityengine-tools/ | OpenAI-compatible function-calling toolkit (schemas + client) | DeepSeek, Qwen, GLM, GPT and any OpenAI-style tool-calling API |
Live demos and self-service API keys: https://www.cityengine.cn/plugins.html · API contract: https://api.cityengine.cn
ghcr.io/cgajs/cityengine-mcp:0.1.0