cesium-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CESIUM_TOOLSETS | No | Comma-separated list of toolset groups to enable (e.g. camera,bindbindentity,bindlayer). Use 'all' for all 43 tools. | all |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| flyToB | 飞行到指定经纬度位置(带动画过渡) |
| addGeoJsonLayerC | 添加 GeoJSON 图层到地图(支持 Point/Line/Polygon,可配置颜色/分级/分类渲染) |
| addLabelC | 为 GeoJSON 要素添加文本标注(显示属性值) |
| removeLayerC | 从地图上移除指定图层(按图层ID) |
| setBasemapC | 切换底图风格(暗色/卫星影像/标准) |
| screenshotB | 截取当前地图视图(返回 base64 PNG) |
| highlightC | 高亮指定图层的要素 |
| setViewB | 瞬间切换到指定经纬度视角(无动画) |
| getViewB | 获取当前相机视角信息(经纬度、高度、角度) |
| zoomToExtentC | 缩放到指定地理范围 |
| addMarkerB | 在指定经纬度添加标注点,返回 layerId 供后续操作 |
| addPolylineC | 在地图上添加折线(路径、线段),返回 entityId |
| addPolygonC | 在地图上添加多边形区域(面积、边界),返回 entityId |
| addModelB | 在指定经纬度放置 3D 模型(glTF/GLB),返回 entityId |
| updateEntityC | 更新已有实体的属性(位置、颜色、标签、缩放、可见性) |
| removeEntityC | 移除单个实体(通过 entityId) |
| setLayerVisibilityC | 设置图层可见性 |
| listLayersB | 获取当前所有图层列表(含 ID、名称、类型、可见性) |
| updateLayerStyleC | 修改已有图层的样式(颜色、透明度、标注样式等) |
| list_toolsetsA | List all available tool groups and their enabled status. Call this to discover additional capabilities before asking the user to configure anything. |
| enable_toolsetA | Enable a tool group to make its tools available. Call list_toolsets first to see available groups. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| camera | 当前相机状态(经纬度、高度、角度) |
| layers | 当前已加载的图层列表(ID、名称、类型、可见性) |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gaopengbin/cesium-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server