Cesium Mcp Dev

io.github.gaopengbin由 GitHub 帳號 gaopengbin 發布v1.139.2更新於 Oct 25, 2026

CesiumJS API docs, code generation and development tools for IDE AI assistants.

已驗證STDIO僅桌面位置與生活開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,為 IDE 中的 AI 助理提供 CesiumJS API 文件查詢、程式碼片段產生與 Entity 設定建構能力。

可以做什麼
  • 依類別名稱、方法或屬性查詢 Cesium API 文件,涵蓋 Viewer、Entity、Camera、Cesium3DTileset 等 12 個類別。
  • 依自然語言描述產生 Cesium 程式碼,內建飛航定位、加入標記、載入 GeoJSON、繪製折線與多邊形、載入 3D Tiles、熱力圖等 11 種情境。
  • 建構 8 種 Entity 設定(點、看板、標籤、折線、多邊形、模型、橢圓、方塊),包含材質、樣式與貼地設定。
適用情境
適合在 VS Code Copilot、Cursor 或 Claude Desktop 等 IDE 助理中撰寫 CesiumJS 三維地球或地理空間程式碼時使用,可直接取得 API 參考與可用程式碼片段,不必猜測介面。
執行需求
以本機 stdio 程序執行,通常透過 npx 啟動,因此需要 Node.js 以及下載套件所需的網路存取。未宣告任何驗證、環境變數或標頭。
安裝前請注意
預設會蒐集使用統計;可用 CESIUM_TELEMETRY_DISABLED=1、DO_NOT_TRACK=1 或 --no-telemetry 參數關閉。README 說明其對應 Cesium ~1.145.0,其他版本下文件可能不準確。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cesium Mcp Dev,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

cesium-mcp-dev

Usage statistics are on by default, with a startup notice on stderr. Set CESIUM_TELEMETRY_DISABLED=1, DO_NOT_TRACK=1, or pass --no-telemetry to disable. Collected fields and privacy.

English | 中文

MCP Server for IDE AI assistants -- Cesium API documentation, code generation, and Entity builder.

[npm version] [license]

What is this?

cesium-mcp-dev helps AI coding assistants (GitHub Copilot, Cursor, Claude Code, etc.) write better CesiumJS code by providing API documentation lookup, code snippet generation, and Entity configuration building -- all through the MCP protocol.

The stable stdio server uses MCP SDK v2 and negotiates both MCP 2025-11-25 and 2026-07-28 clients.

IDE AI Assistant <--MCP stdio--> cesium-mcp-dev --> API docs, code snippets, Entity configs

Install & Run

bash
npx -y cesium-mcp-dev

IDE Configuration

VS Code (Copilot)

In .vscode/mcp.json:

json
{  "servers": {    "cesium-dev": {      "command": "npx",      "args": ["cesium-mcp-dev"]    }  }}

Cursor

In .cursor/mcp.json:

json
{  "mcpServers": {    "cesium-dev": {      "command": "npx",      "args": ["cesium-mcp-dev"]    }  }}

Claude Desktop

json
{  "mcpServers": {    "cesium-dev": {      "command": "npx",      "args": ["cesium-mcp-dev"]    }  }}

MCP Tools (3)

cesium_api_lookup

Query Cesium API documentation by class name, method, or property.

Input: "Viewer"Output: Constructor signature, properties, methods, and usage examples

Covered classes: Viewer, Entity, Camera, Cartesian3, Color, GeoJsonDataSource, ImageryLayer, Cesium3DTileset, Material, ScreenSpaceEventHandler, flyTo, setView (12 classes)

cesium_code_gen

Generate Cesium code from natural language descriptions.

Input: "Add a red point marker at Tiananmen Square"Output: Complete TypeScript code snippet ready to use

Built-in snippets: fly to location, add marker, load GeoJSON, draw polyline, draw polygon, load 3D Tiles, switch basemap, click handler, screenshot, heatmap, trajectory animation (11 scenarios)

cesium_entity_builder

Build Entity configurations interactively by specifying type and properties.

Input: type: "polygon", position: {lon: 116.4, lat: 39.9}, color: "#ff6600"Output: Complete Entity definition with material, style, and ground clamping

Supported types: point, billboard, label, polyline, polygon, model, ellipse, box (8 types)

Example Interactions

AI assistant asks: "How do I load a 3D Tiles model from Cesium Ion?"

The assistant calls cesium_api_lookup with "Cesium3DTileset", gets the API reference, then calls cesium_code_gen with the user's specific requirements to generate ready-to-use code.

AI assistant asks: "Create an Entity for a semi-transparent blue polygon"

The assistant calls cesium_entity_builder with type: "polygon", color: "#0066ff", opacity: 0.5 and gets complete code output.

Compatibility

cesium-mcp-devCesium
1.145.x~1.145.0

License

MIT

來源:packages/cesium-mcp-dev/README.md,提交 d2483cd

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.139.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分