CityVistion MCP (CityEngine / CGA.js / NL2CGA) is an MCP server published by com.cgajs, hosted at mcp.cgajs.com. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 11 tools, including nl2cga_generate_cga, nl2cga_get_job, cgajs_compile_cga, cgajs_get_quota, cityengine_parse_cga.
NL→CGA rules, CGA→3D(GLB) compile & official-engine parse for CityEngine/CGA.js/NL2CGA. 11 tools.
2 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
用一句自然语言生成 CGA 规则源码(NL2CGA,同步等待直到完成,不渲染模型)。
| Parameter | Type | Description |
|---|---|---|
| prompt * | string | 自然语言建模描述,如「三层临街商铺,骑楼退界」。 |
| timeout_s | number | 最长等待秒数(上限 300)。 |
{
"name": "nl2cga_generate_cga",
"title": "Nl2Cga Generate Cga",
"description": "用一句自然语言生成 CGA 规则源码(NL2CGA,同步等待直到完成,不渲染模型)。",
"inputSchema": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "自然语言建模描述,如「三层临街商铺,骑楼退界」。"
},
"timeout_s": {
"type": "number",
"default": 300,
"description": "最长等待秒数(上限 300)。"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
查询 NL2CGA 生成任务状态(queued/running/succeeded/failed)与结果。
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | nl2cga_generate_cga 返回的 job_id。 |
{
"name": "nl2cga_get_job",
"title": "Nl2Cga Get Job",
"description": "查询 NL2CGA 生成任务状态(queued/running/succeeded/failed)与结果。",
"inputSchema": {
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"description": "nl2cga_generate_cga 返回的 job_id。"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}把 CGA 规则源码编译为三维模型(GLB),经 CGA.js 云端引擎。
| Parameter | Type | Description |
|---|---|---|
| engine | string | "" = js(默认,×1 配额);"python" = 服务器原生引擎(×3 配额, 对 CityEngine 方言兼容性更好)。 |
| cga_source * | string | CGA 规则源码全文(需含 @StartRule 与 Lot 规则)。 |
| output_dir | any | glb 落盘目录。 |
| download_glb | boolean | 是否把 glb 落盘(默认 True)。 |
{
"name": "cgajs_compile_cga",
"title": "Cgajs Compile Cga",
"description": "把 CGA 规则源码编译为三维模型(GLB),经 CGA.js 云端引擎。",
"inputSchema": {
"type": "object",
"required": [
"cga_source"
],
"properties": {
"engine": {
"type": "string",
"default": "",
"description": "\"\" = js(默认,×1 配额);\"python\" = 服务器原生引擎(×3 配额,\n 对 CityEngine 方言兼容性更好)。"
},
"cga_source": {
"type": "string",
"description": "CGA 规则源码全文(需含 @StartRule 与 Lot 规则)。"
},
"output_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "glb 落盘目录。"
},
"download_glb": {
"type": "boolean",
"default": true,
"description": "是否把 glb 落盘(默认 True)。"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}查询 CGA.js 当前 API key 的套餐档位与本月额度用量。
No parameters.
{
"name": "cgajs_get_quota",
"title": "Cgajs Get Quota",
"description": "查询 CGA.js 当前 API key 的套餐档位与本月额度用量。",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}用 CityEngine 官方引擎解析 CGA 规则源码,生成三维模型(GLB)。
| Parameter | Type | Description |
|---|---|---|
| seed | any | 随机种子(固定后可复现)。 |
| timeout_s | number | |
| attributes | any | CGA attr 覆盖,如 {"height": 30}(键须在规则 attr 声明内)。 |
| cga_source * | string | CGA 规则源码全文。 |
| output_dir | any | |
| download_glb | boolean | |
| initial_shape | any | 初始地块多边形 {"type":"Polygon","pts":[[x,z],...]},米制。 |
{
"name": "cityengine_parse_cga",
"title": "Cityengine Parse Cga",
"description": "用 CityEngine 官方引擎解析 CGA 规则源码,生成三维模型(GLB)。",
"inputSchema": {
"type": "object",
"required": [
"cga_source"
],
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "随机种子(固定后可复现)。"
},
"timeout_s": {
"type": "number",
"default": 300
},
"attributes": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "CGA attr 覆盖,如 {\"height\": 30}(键须在规则 attr 声明内)。"
},
"cga_source": {
"type": "string",
"description": "CGA 规则源码全文。"
},
"output_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"download_glb": {
"type": "boolean",
"default": true
},
"initial_shape": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "初始地块多边形 {\"type\":\"Polygon\",\"pts\":[[x,z],...]},米制。"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}自然语言 → CGA 规则源码(CityEngine 网关 NL2CGA 通道,不渲染)。 两种模式二选一: 1. text:自然语言描述,如「三层小楼,坡屋顶,底层商铺」。 2. base_cga + instruction:在既有 CGA 上按指令修改。
| Parameter | Type | Description |
|---|---|---|
| text | any | |
| base_cga | any | |
| instruction | any |
{
"name": "cityengine_generate_cga",
"title": "Cityengine Generate Cga",
"description": "自然语言 → CGA 规则源码(CityEngine 网关 NL2CGA 通道,不渲染)。\n\n两种模式二选一:\n 1. text:自然语言描述,如「三层小楼,坡屋顶,底层商铺」。\n 2. base_cga + instruction:在既有 CGA 上按指令修改。",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"base_cga": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}自然语言一句话 → 直接生成三维模型(NL2CGA + CityEngine 引擎一键串联)。 两种模式二选一: 1. text:自然语言描述,如「生成一栋 12 层现代玻璃幕墙办公楼」。 2. base_cga + instruction:回传既有 CGA + 修改指令,二次生成再出模型。
| Parameter | Type | Description |
|---|---|---|
| seed | any | |
| text | any | |
| base_cga | any | |
| timeout_s | number | |
| attributes | any | |
| output_dir | any | |
| instruction | any | |
| download_glb | boolean | |
| initial_shape | any |
{
"name": "cityengine_generate_model",
"title": "Cityengine Generate Model",
"description": "自然语言一句话 → 直接生成三维模型(NL2CGA + CityEngine 引擎一键串联)。\n\n两种模式二选一:\n 1. text:自然语言描述,如「生成一栋 12 层现代玻璃幕墙办公楼」。\n 2. base_cga + instruction:回传既有 CGA + 修改指令,二次生成再出模型。",
"inputSchema": {
"type": "object",
"properties": {
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"base_cga": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"timeout_s": {
"type": "number",
"default": 300
},
"attributes": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null
},
"output_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"download_glb": {
"type": "boolean",
"default": true
},
"initial_shape": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}解析 CGA 源码的可调属性(名称/类型/默认值/取值范围/枚举),免 API key。 与 cityengine.cn 网页端 /api/v1/cv/inspect 同一接口,适合在渲染前自检参数面板。
| Parameter | Type | Description |
|---|---|---|
| cga_source * | string | CGA 规则源码全文。 |
{
"name": "cityengine_inspect_cga",
"title": "Cityengine Inspect Cga",
"description": "解析 CGA 源码的可调属性(名称/类型/默认值/取值范围/枚举),免 API key。\n\n与 cityengine.cn 网页端 /api/v1/cv/inspect 同一接口,适合在渲染前自检参数面板。",
"inputSchema": {
"type": "object",
"required": [
"cga_source"
],
"properties": {
"cga_source": {
"type": "string",
"description": "CGA 规则源码全文。"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}列出 CityEngine 官方案例库(id、名称、引擎、参数个数、缩略图),免 API key。
No parameters.
{
"name": "cityengine_list_demos",
"title": "Cityengine List Demos",
"description": "列出 CityEngine 官方案例库(id、名称、引擎、参数个数、缩略图),免 API key。",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
},
"x-fastmcp-wrap-result": true
}
}查看官方案例的参数规格(属性 schema/规模/引擎指标),免 API key。
| Parameter | Type | Description |
|---|---|---|
| demo_id * | string | cityengine_list_demos 返回的 id,如 building-glass-20260928。 |
{
"name": "cityengine_get_demo",
"title": "Cityengine Get Demo",
"description": "查看官方案例的参数规格(属性 schema/规模/引擎指标),免 API key。",
"inputSchema": {
"type": "object",
"required": [
"demo_id"
],
"properties": {
"demo_id": {
"type": "string",
"description": "cityengine_list_demos 返回的 id,如 building-glass-20260928。"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}查询 CityEngine 当前 API key 的套餐、额度用量(generate/NL2CGA)与限流参数。
No parameters.
{
"name": "cityengine_get_quota",
"title": "Cityengine Get Quota",
"description": "查询 CityEngine 当前 API key 的套餐、额度用量(generate/NL2CGA)与限流参数。",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
}
}CityVistion 三维城市生成套件:NL2CGA(自然语言生成 CGA 规则)、CGA.js(CGA 编译为三维模型)、CityEngine(官方引擎解析/一键出模/官方案例库)。典型链路:nl2cga_generate_cga 生成规则 → cgajs_compile_cga 或 cityengine_parse_cga 出三维模型;也可 cityengine_generate_model 一键直达。
Names, descriptions and schemas were written by the server and are shown as data.