cesium-mcp
by gaopengbin·★ 103·综合分 48
AI驱动的CesiumJS 3D地球控制,通过MCP提供49个工具用于相机、实体、图层、动画和空间分析。
概述
Cesium MCP在AI系统和CesiumJS 3D地球可视化之间提供了全面的桥梁。它通过12个类别共58个工具,实现了对3D GIS操作的自然语言控制,包括相机移动、实体操作、图层管理、动画和空间分析。项目提供三种入口点:浏览器代理(零后端实现)、函数调用集成(用于Web应用)和MCP运行时(用于Claude Desktop/Cursor/Dify集成)。其架构围绕协议无关的分发器构建,支持多种AI驱动程序,同时保持一致的工具接口。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要对 CesiumJS 3D 地球进行 AI 驱动的自然语言控制时,特别是对于 GIS 应用、数据可视化或将 AI 助手与地理系统集成时,选择 Cesium MCP。
什么时候不要选它
不适用于需要大规模地理数据高性能渲染的项目或需要对 CesiumJS 内部状态进行写入操作的项目,因为此服务器专注于为 AI 交互提供工具,而非原始 API 访问。
此 server 暴露的工具
从 README 抽取出 12 个工具flyToMoves the camera to a specific location or entity
addMarkerAdds a marker entity at specified coordinates
addModelLoads and displays a 3D model at specified location
addPolygonCreates a polygon entity with specified coordinates
setBasemapChanges the base map imagery of the globe
screenshotCaptures and saves the current view as an image
measureMeasures distances or areas on the globe
createAnimationCreates an animation along a specified path
load3dTilesLoads and displays 3D tilesets
addGeoJsonLayerAdds a layer from GeoJSON data
geocodeConverts location names to geographic coordinates
setViewSets the camera view with specific options
可对比工具
安装
安装
选项1:浏览器代理(快速开始推荐)
- 访问[在线演示](https://cesium-browser-agent.pages.dev/)
- Fork [examples/browser-agent](https://github.com/gaopengbin/cesium-mcp/tree/main/examples/browser-agent)文件夹部署自己的版本
选项2:Web应用中的函数调用
npm install cesium-mcp-bridge选项3:MCP运行时
# stdio模式(Claude Desktop, VS Code, Cursor)
npx cesium-mcp-runtime
# HTTP模式(Dify, 远程/云MCP客户端)
npx cesium-mcp-runtime --transport http --port 3000Claude Desktop配置
{
"mcpServers": {
"cesium": {
"command": "npx",
"args": ["-y", "cesium-mcp-runtime"]
}
}
}FAQ
- cesium-mcp-bridge和cesium-mcp-runtime有什么区别?
- cesium-mcp-bridge是核心的协议无关命令分发器,包含60多个工具。cesium-mcp-runtime是MCP服务器实现,通过stdio或HTTP传输暴露bridge接口,供Claude Desktop/Cursor/Dify集成。
- 除了Claude Desktop/Cursor外,我还可以与其他AI系统一起使用吗?
- 是的,browser-agent示例可与任何OpenAI兼容API一起使用。cesium-mcp-bridge可集成到任何支持函数/工具调用的Web应用中,无论AI提供商是谁。
cesium-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。