
CityVistion MCP (CityEngine / CGA.js / NL2CGA)
Converts natural language into CGA rules and compiles them into GLB 3D models via cloud services.
- tools
- 5
- auth
- Secret needed
- transport
- STDIO, HTTP
- env var
- 1
- last updated
- Nov 19, 2026
What it does
- Generates CGA rule source from plain English with
nl2cga_generate_cga, and compiles CGA rules online into GLB models withcgajs_compile_cga - Offers
inspect_cga,list_demos, andget_demofor parsing CGA and browsing official examples, and these need no API key - Requires separate API keys for CGA.js, NL2CGA, and CityEngine, or one shared key, and runs locally via uvx or as a hosted streamable-http endpoint
- Designed for generating procedural 3D building models from text prompts and for exploring CityEngine CGA examples
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
nl2cga_generate_cga自然语言生成 CGA 规则源码 (NL2CGA: natural language to CGA rule source code).
自然语言生成 CGA 规则源码 (NL2CGA: natural language to CGA rule source code).
No parameter schema in public metadata yet.
cgajs_compile_cgaCGA 规则在线编译为三维模型 GLB (CGA.js: compile CGA rules online into a 3D GLB model).
CGA 规则在线编译为三维模型 GLB (CGA.js: compile CGA rules online into a 3D GLB model).
No parameter schema in public metadata yet.
inspect_cga
No parameter schema in public metadata yet.
list_demos
No parameter schema in public metadata yet.
get_demo
No parameter schema in public metadata yet.
Configuration
CITYVISTION_API_KEY*secretUnified API key for CityEngine / CGA.js / NL2CGA (get one at https://www.cgajs.com/dashboard.html). Also accepts per-service keys CGAJS_API_KEY / NL2CGA_API_KEY / CITYENGINE_API_KEY.
Readme
cityvistion-mcp
mcp-name: com.cgajs/cityvistion-mcp
一套 MCP server 打通三个云端服务,让任何支持 MCP 的大模型客户端(Claude Code、codex、Gemini CLI、Kimi Code、Qwen Code、GLM Coding、Cherry Studio、Cline、Cursor、MiniMax Agent…)直接完成「一句话 → CGA 规则 → 三维模型」全链路。
- NL2CGA:自然语言生成 CGA 规则源码(
nl2cga_generate_cga) - CGA.js:CGA 规则在线编译为三维模型 GLB(
cgajs_compile_cga) - CityEngine:官方引擎解析、一句话直接出模、官方案例库查询(
cityengine_*,其中inspect_cga/list_demos/get_demo免 key)
安装
pip install cityvistion-mcp
# 或 uvx cityvistion-mcp(免安装直接跑)
API Key
| 服务 | 环境变量 | 签发地址 |
|---|---|---|
| CGA.js | CGAJS_API_KEY | https://www.cgajs.com 控制台 |
| NL2CGA | NL2CGA_API_KEY | https://www.nl2cga.com 「我的 Key」 |
| CityEngine | CITYENGINE_API_KEY | https://www.cityengine.cn 用户中心「插件 Key」 |
| 统一 key | CITYVISTION_API_KEY | 单服务未配专属 key 时回退尝试 |
客户端配置
Claude Code(.mcp.json 或 claude mcp add):
{
"mcpServers": {
"cityvistion": {
"command": "uvx",
"args": ["cityvistion-mcp"],
"env": {
"CGAJS_API_KEY": "<你的key>",
"NL2CGA_API_KEY": "<你的key>",
"CITYENGINE_API_KEY": "<你的key>"
}
}
}
}
codex CLI(~/.codex/config.toml):
Details
- Repository
- github.com/cgajs/cityvistion-mcp
- Website
- www.cgajs.com/ai-access.html
- Category
- 3D, CAD & Modeling
- Package
cityvistion-mcp- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active
More from cgajs
All 2Similar to CityVistion MCP (CityEngine / CGA.js / NL2CGA)
More 3D, CAD & Modeling
CityEngine CloudMCP servercgajsTurns natural language into 3D city buildings via cloud CityEngine rendering, with demo browsing.
RhinoMCPMCP serverjingcheng-chen1.2K starsConnects Rhino 3D and Grasshopper to AI agents for modeling, inspecting, and scripting geometry.
text-to-cad-harnessSkillreason-machines/trending-skills250 installsOpen source harness that lets AI coding agents generate, export, and preview 3D CAD models from text.
BlenderMCP serverahujasid35.3K starsConnects Blender to Claude for scene inspection, object and material edits, and live Python execution.
Three-Live 3D, CAD & Spatial XR CompilerMCP servergoogle476 starsCompiles, lints, simulates, and renders Three.js scenes to GLB, USDZ, and mobile formats.
Plateau Creative McpMCP serverpixelx-jp33 starsScene-editing and glTF export tools for PLATEAU 3D city data, with optional upstream data access.