cesium-mcp-dev
v1.139.2CesiumJS API docs, code generation and development tools for IDE AI assistants.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cesium_api_lookup
查询 Cesium API 文档。输入类名或关键词,返回对应的 API 描述、构造参数、常用方法和示例代码。
| Parameter | Type | Description |
|---|---|---|
query * | string | Cesium 类名或关键词,如 "Viewer"、"Entity"、"Color"、"flyTo" |
category | string | 查询类别 |
cesium_code_gen
根据自然语言描述生成 Cesium 代码片段。支持常见场景:视图控制、图层加载、Entity 创建、样式设置等。
| Parameter | Type | Description |
|---|---|---|
description * | string | 用自然语言描述需要实现的功能,如 "创建一个红色的点标记在天安门" |
language | string | 代码语言 |
cesium_entity_builder
交互式构建 Cesium Entity 配置。选择 Entity 类型(point/billboard/label/polyline/polygon/model),返回完整的 Entity JSON 配置和创建代码。
| Parameter | Type | Description |
|---|---|---|
type * | string | Entity 图形类型 |
color | string | 颜色(CSS 格式) |
name | string | Entity 名称 |
position | object | 位置(经纬度) |
size | number | 尺寸(像素或米) |