跳到正文
FunCoding

cesium-mcp-dev

官方 MCP Registry 已收录

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

Star
154
版本
v1.139.2
许可证
MIT
最近提交
2026年12月1日

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

npx -y cesium-mcp-dev

IDE Configuration

VS Code (Copilot)

In .vscode/mcp.json:

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

Cursor

In .cursor/mcp.json:

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

Claude Desktop

{
  "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

同类 MCP Server

官方

Git

Read, search and manipulate Git repositories: status, diff, log, commit, branch and more

MOmodelcontextprotocol/servers92k近 7 天新增 166 个 star

精选

headroom

压缩工具输出、日志和文件,减少 20%-95% token,答案不变。

HEheadroomlabs-ai/headroom81k近 7 天新增 431 个 star

精选

Codebase Memory

把代码库索引成知识图谱,查询代码结构时少读文件、省 token。

DEDeusData/codebase-memory-mcp49k近 7 天新增 261 个 star

精选

GitHub

管理仓库、Issue、Pull Request 和 Actions。

GIgithub/github-mcp-server35k近 7 天新增 148 个 star

精选

serena

基于语言服务器的语义检索与编辑,按符号查找和修改代码。

ORoraios/serena32k近 7 天新增 180 个 star

Compiler Explorer

Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links

COcompiler-explorer/compiler-explorer19k近 7 天新增 5 个 star