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
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| flyToB | Fly to a specific longitude/latitude position (with animation transition) |
| addGeoJsonLayerA | Add GeoJSON layer to map (supports Point/Line/Polygon, configurable color/choropleth/category rendering). data and url are mutually exclusive |
| addLabelC | Add text labels to GeoJSON features (display attribute values) |
| removeLayerB | Remove a layer from map by layer ID |
| clearAllA | Clear all layers, entities, animations, and trajectories from the map (reset scene) |
| setBasemapA | Switch basemap style (dark/satellite/standard/osm/arcgis/light/tianditu/amap) |
| screenshotA | Capture current map view (returns base64 PNG) |
| highlightB | Highlight features in a layer |
| measureB | Measure distance or area (coordinate-based calculation, optionally displayed on map) |
| setViewA | Instantly switch to specified longitude/latitude view (no animation) |
| getViewA | Get current camera view info (longitude, latitude, height, angles) |
| zoomToExtentC | Zoom to specified geographic extent |
| addMarkerA | Add a marker point at specified coordinates, returns layerId for later operations |
| addPolylineB | Add a polyline on the map (path/line segment), returns entityId |
| addPolygonB | Add a polygon area on the map (area/boundary), returns entityId |
| addModelA | Place a 3D model (glTF/GLB) at specified coordinates, returns entityId |
| updateEntityA | Update properties of an existing entity (position, color, label, scale, visibility) |
| removeEntityB | Remove a single entity by entityId |
| batchAddEntitiesA | Batch add multiple entities (create multiple markers/polylines/polygons/models in one call), returns all entityIds |
| queryEntitiesA | Query existing entities — filter by name, type, spatial extent, returns entityId/name/type/position list |
| getEntityPropertiesA | Get detailed properties of a specific entity — type, position, custom properties, and graphic properties |
| saveViewpointA | Save current view as bookmark (name → view state), restore via loadViewpoint |
| loadViewpointA | Restore a saved viewpoint bookmark (with fly animation), returns saved view state |
| listViewpointsA | List all saved viewpoint bookmarks |
| exportSceneA | Export current scene snapshot — includes camera view, layer list, entity list, and timestamp |
| setLayerVisibilityC | Set layer visibility |
| listLayersA | Get current layer list (with ID, name, type, visibility) |
| getLayerSchemaA | Get layer field schema — returns field names, types, sample values. Works with GeoJSON/CZML/KML/3D Tiles layers |
| updateLayerStyleB | Update layer style (color, opacity, label style, 3D Tiles style, etc.) |
| 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. |
| listSessionsA | List all connected browser sessions (ID and connection state) for multi-browser routing |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| cesium-quickstart | Quick reference for using Cesium MCP tools |
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