# CityVistion MCP (CityEngine / CGA.js / NL2CGA) (pypi · cityvistion-mcp)

NL→CGA rules, CGA→3D(GLB) compile & official-engine parse for CityEngine/CGA.js/NL2CGA. 11 tools.

- Trust score: 68/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-21

## Components

- remote · `mcp.cgajs.com`: 63/100, [markdown](https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/mcp.md), [page](https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/mcp)
- pypi · `cityvistion-mcp`: 68/100 (this document), [markdown](https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/cityvistion-mcp.md), [page](https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/cityvistion-mcp)

## Channel facts

- Registry: `pypi`
- Package: `cityvistion-mcp`
- Version: `0.1.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-21.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - 1 of 22 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 1 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 70/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1034 tokens (~94/item across 11 items; 11 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 85/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 46% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 11 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 12 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the CityVistion MCP (CityEngine / CGA.js / NL2CGA) server?

CityVistion MCP (CityEngine / CGA.js / NL2CGA) runs locally as a PyPI package, launched with uvx cityvistion-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add com-cgajs-cityvistion-mcp -- uvx cityvistion-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "com-cgajs-cityvistion-mcp": {
      "command": "uvx",
      "args": [
        "cityvistion-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "com-cgajs-cityvistion-mcp": {
      "command": "uvx",
      "args": [
        "cityvistion-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add com-cgajs-cityvistion-mcp -- uvx cityvistion-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-cgajs-cityvistion-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "cityvistion-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-cgajs-cityvistion-mcp --command uvx --arg cityvistion-mcp
```

### Hermes

```yaml
mcp_servers:
  com-cgajs-cityvistion-mcp:
    command: "uvx"
    args: ["cityvistion-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "com-cgajs-cityvistion-mcp": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "cityvistion-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add com-cgajs-cityvistion-mcp -t stdio -c uvx -a cityvistion-mcp
```

### Other

```json
{
  "mcpServers": {
    "com-cgajs-cityvistion-mcp": {
      "command": "uvx",
      "args": [
        "cityvistion-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-20 (score 68, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-19 (score 53)

First indexed and scored.

## MCP tools (11)

### `nl2cga_generate_cga` (~84 tokens)

Nl2Cga Generate Cga

用一句自然语言生成 CGA 规则源码（NL2CGA，同步等待直到完成，不渲染模型）。

Input parameters:

- `prompt` (string, required): 自然语言建模描述，如「三层临街商铺，骑楼退界」。
- `timeout_s` (number): 最长等待秒数（上限 300）。

### `nl2cga_get_job` (~52 tokens)

Nl2Cga Get Job

查询 NL2CGA 生成任务状态（queued/running/succeeded/failed）与结果。

Input parameters:

- `job_id` (string, required): nl2cga_generate_cga 返回的 job_id。

### `cgajs_compile_cga` (~140 tokens)

Cgajs Compile Cga

把 CGA 规则源码编译为三维模型（GLB），经 CGA.js 云端引擎。

Input parameters:

- `cga_source` (string, required): CGA 规则源码全文（需含 @StartRule 与 Lot 规则）。
- `download_glb` (boolean): 是否把 glb 落盘（默认 True）。
- `engine` (string): "" = js（默认，×1 配额）；"python" = 服务器原生引擎（×3 配额，     对 CityEngine 方言兼容性更好）。
- `output_dir`: glb 落盘目录。

### `cgajs_get_quota` (~29 tokens)

Cgajs Get Quota

查询 CGA.js 当前 API key 的套餐档位与本月额度用量。

### `cityengine_parse_cga` (~144 tokens)

Cityengine Parse Cga

用 CityEngine 官方引擎解析 CGA 规则源码，生成三维模型（GLB）。

Input parameters:

- `attributes`: CGA attr 覆盖，如 {"height": 30}（键须在规则 attr 声明内）。
- `cga_source` (string, required): CGA 规则源码全文。
- `download_glb` (boolean)
- `initial_shape`: 初始地块多边形 {"type":"Polygon","pts":[[x,z],...]}，米制。
- `output_dir`
- `seed`: 随机种子（固定后可复现）。
- `timeout_s` (number)

### `cityengine_generate_cga` (~107 tokens)

Cityengine Generate Cga

自然语言 → CGA 规则源码（CityEngine 网关 NL2CGA 通道，不渲染）。

两种模式二选一：
  1\. text：自然语言描述，如「三层小楼，坡屋顶，底层商铺」。
  2\. base_cga + instruction：在既有 CGA 上按指令修改。

Input parameters:

- `base_cga`
- `instruction`
- `text`

### `cityengine_generate_model` (~156 tokens)

Cityengine Generate Model

自然语言一句话 → 直接生成三维模型（NL2CGA + CityEngine 引擎一键串联）。

两种模式二选一：
  1\. text：自然语言描述，如「生成一栋 12 层现代玻璃幕墙办公楼」。
  2\. base_cga + instruction：回传既有 CGA + 修改指令，二次生成再出模型。

Input parameters:

- `attributes`
- `base_cga`
- `download_glb` (boolean)
- `initial_shape`
- `instruction`
- `output_dir`
- `seed`
- `text`
- `timeout_s` (number)

### `cityengine_inspect_cga` (~89 tokens)

Cityengine Inspect Cga

解析 CGA 源码的可调属性（名称/类型/默认值/取值范围/枚举），免 API key。

与 cityengine.cn 网页端 /api/v1/cv/inspect 同一接口，适合在渲染前自检参数面板。

Input parameters:

- `cga_source` (string, required): CGA 规则源码全文。

### `cityengine_list_demos` (~41 tokens)

Cityengine List Demos

列出 CityEngine 官方案例库（id、名称、引擎、参数个数、缩略图），免 API key。

Output parameters:

- `result` (array)

### `cityengine_get_demo` (~55 tokens)

Cityengine Get Demo

查看官方案例的参数规格（属性 schema/规模/引擎指标），免 API key。

Input parameters:

- `demo_id` (string, required): cityengine_list_demos 返回的 id，如 building-glass-20260928。

### `cityengine_get_quota` (~36 tokens)

Cityengine Get Quota

查询 CityEngine 当前 API key 的套餐、额度用量（generate/NL2CGA）与限流参数。

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/cityvistion-mcp#diagnostics

## Score history

- 2026-11-21: 68
- 2026-11-20: 68
- 2026-11-19: 53

## Common questions

### What is the CityVistion MCP (CityEngine / CGA.js / NL2CGA) server?

CityVistion MCP (CityEngine / CGA.js / NL2CGA) is listed in the public MCP registry as com.cgajs/cityvistion-mcp. NL→CGA rules, CGA→3D(GLB) compile & official-engine parse for CityEngine/CGA.js/NL2CGA. 11 tools. This page covers its PyPI package (cityvistion-mcp).

### Is the CityVistion MCP (CityEngine / CGA.js / NL2CGA) server safe to use?

CityVistion MCP (CityEngine / CGA.js / NL2CGA) scores 68 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 November 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the CityVistion MCP (CityEngine / CGA.js / NL2CGA) server expose?

CityVistion MCP (CityEngine / CGA.js / NL2CGA) exposes 11 tools: nl2cga_generate_cga, nl2cga_get_job, cgajs_compile_cga, cgajs_get_quota, cityengine_parse_cga, and 6 more. Their descriptions and schemas cost roughly 933 tokens of context every time the server is loaded.

### Is the CityVistion MCP (CityEngine / CGA.js / NL2CGA) server still maintained?

CityVistion MCP (CityEngine / CGA.js / NL2CGA) is still listed as active in the MCP registry. We last reached this channel on 21 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the CityVistion MCP (CityEngine / CGA.js / NL2CGA) server under?

CityVistion MCP (CityEngine / CGA.js / NL2CGA) declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the CityVistion MCP (CityEngine / CGA.js / NL2CGA) server?

VerifyMCP ran 15 checks on CityVistion MCP (CityEngine / CGA.js / NL2CGA), covering Malware scan, Known CVEs, Install scripts, Dependency health and 11 more. One item could not be completed, a gap on our side rather than a finding about CityVistion MCP (CityEngine / CGA.js / NL2CGA): Stability. One category scores 0 for that reason, because we only credit what we can confirm. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- PyPI project: https://pypi.org/project/cityvistion-mcp/
- Socket report: https://socket.dev/pypi/package/cityvistion-mcp
- Repository: https://github.com/cgajs/cityvistion-mcp
- Website: https://www.cgajs.com/ai-access.html
- Changelog RSS feed: https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/cityvistion-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/cityvistion-mcp/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/cityvistion-mcp.json
- HTML version of this page: https://verifymcp.io/servers/com-cgajs-cityvistion-mcp/cityvistion-mcp
