CityEngine Cloud MCP Server
Text-to-3D city buildings: natural language to CGA rules to rendered glTF models.
CityEngine Cloud scores 66 (Good), licensed MIT and written in Python. It installs as a local process. It declares 6 tools. Filed under AI and memory. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cgajs-cityengine-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/cgajs/cityengine-mcp:0.1.0" ], "env": { "CITYENGINE_API_KEY": "YOUR_CITYENGINE_API_KEY", "CITYENGINE_GATEWAY_BASE": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CITYENGINE_API_KEYSecret | Required | 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) |
Tools6Tool docs quality grade C
All capabilitiesgenerate_cgatoolNatural language → CGA rule source (sync, no rendering); supports basecga + instruction refinement
generate_modeltoolNatural language → ready 3D model (NL2CGA + parse chained), returns cgasource too
get_demotoolInspect a demo's attribute panel, node/material counts, engine timing
get_quotatoolCurrent key's plan and quota usage
list_demostoolList showcase demos on the official site (id/name/engine/attribute count)
parse_cgatoolCGA source + attributes → engine parse → 3D model stats + glb download (sha256 verified)
About
CityEngine Cloud MCP Server & Tools
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
Tools (6)
| Tool | Description | Quota |
|---|---|---|
generate_cga | Natural language → CGA rule source (sync, no rendering); supports base_cga + instruction refinement | NL quota |
parse_cga | CGA source + attributes → engine parse → 3D model stats + glb download (sha256 verified) | generate quota |
generate_model | Natural language → ready 3D model (NL2CGA + parse chained), returns cga_source too | NL + generate |
list_demos | List showcase demos on the official site (id/name/engine/attribute count) | free |
get_demo | Inspect a demo's attribute panel, node/material counts, engine timing | free |
get_quota | Current key's plan and quota usage | free |
All endpoints are read-only compute calls — nothing writes to your account or the site.
Install (MCP server)
pip install cityengine-mcp # or: pip install . from this repo
# provides the `cityengine-mcp` console script; or run: python -m cityengine_mcp.server
Requirements: Python ≥ 3.10, mcp 1.x, httpx.
Get an API key
Keys use the cvk_ prefix. Two self-service ways:
- Website: register/log in at https://www.cityengine.cn → User Center → "插件 Key" → issue (shown once, save it).
- CLI:
curl -X POST https://api.cityengine.cn/v1/register \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com","password":"strong-password","nickname":"optional"}'
# the response api_key is your plugin key (shown in full only once)
Free tier: 5 NL generations/month, 100 model generations/day. Paid members: unlimited NL.
Configure your MCP client
Environment variables:
| Variable | Required | Default | Purpose |
|---|---|---|---|
CITYENGINE_API_KEY | yes | — | plugin API key (cvk_…) |
CITYENGINE_GATEWAY_BASE | no | https://api.cityengine.cn | gateway base URL |
CITYENGINE_DEMOS_BASE | no | https://www.cityengine.cn | demo listing site |
CITYENGINE_OUTPUT_DIR | no | ./cityengine_mcp_output | where glb files land |
CITYENGINE_MAX_POLL_S | no | 300 | render job poll cap (seconds) |
Generic MCP client config:
{
"mcpServers": {
"cityengine": {
"command": "python",
"args": ["-m", "cityengine_mcp.server"],
"env": { "CITYENGINE_API_KEY": "cvk_xxx" }
}
}
}
Ready-made snippets for kimi code, Codex CLI and Claude Desktop live in config-examples/.
OpenAI-compatible function calling (cityengine-tools/)
pip install ./cityengine-tools
from cityengine_tools import CityEngineTools
tools = CityEngineTools(api_key="cvk_xxx")
# pass tools.schemas() as the `tools` parameter of any OpenAI-compatible chat call;
# feed tool_calls back into tools.dispatch(...) to execute them.
JSON schemas for all six tools are in cityengine-tools/schemas/.
Links
- Website & demos: https://www.cityengine.cn · plugin page: https://www.cityengine.cn/plugins.html
- API: https://api.cityengine.cn (OpenAPI contract
openapi-v1.yaml)
License
MIT (see LICENSE). The packages are client SDKs; generated models and CGA output are governed by your cityengine.cn plan terms.
Frequently asked questions
What is CityEngine Cloud MCP Server?
Text-to-3D city buildings: natural language to CGA rules to rendered glTF models.
How do I install CityEngine Cloud MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. CityEngine Cloud MCP Server runs locally from the Docker image ghcr.io/cgajs/cityengine-mcp:0.1.0 with the command docker run -i --rm ghcr.io/cgajs/cityengine-mcp:0.1.0.
Is CityEngine Cloud MCP Server free and open source?
Yes. CityEngine Cloud MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does CityEngine Cloud MCP Server support remote (HTTP) connections?
No remote endpoint is listed for CityEngine Cloud MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does CityEngine Cloud MCP Server provide?
CityEngine Cloud MCP Server provides 6 tools, including generate_cga, generate_model, get_demo, and get_quota. See the full tool list for descriptions and parameters.
How is CityEngine Cloud MCP Server's trust score calculated?
CityEngine Cloud MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.