pnpm monorepo containing Cesium MCP Apps for AI assistants.
| Package | Description | Port |
|---|---|---|
@cesium-mcp-apps/codegen |
Cesium views code generation | 3001 |
MCP App for generating Cesium views.
| Tool | Description |
|---|---|
codegen |
Generate Views from provided description |
mcp-apps/
├── codegen/ # @cesium-mcp/codegen
├── package.json # pnpm workspace root
└── pnpm-workspace.yaml
# From this directory
pnpm install
# Build all packages in dependency order
pnpm run buildpnpm run build # Build everything
pnpm run build:codegen # @cesium-mcp-apps/codegen only
pnpm run clean # Remove all build artifactspnpm run start:codegen # Codegen server on port 3001The codegen server works with MCP clients that support MCP Apps like Claude Desktop.
MCP App can be tested using Basic Host. Set HOST_URL value in SERVERS environment variable to connect Basic Host to MCP Server.
sequenceDiagram
AI Assistant ->>+ MCP Server: Tool request
MCP Server -->>- AI Assistant: UI resource uri
AI Assistant ->>+ MCP Server: Resource request
MCP Server -->>- AI Assistant: iframe contents
AI Assistant ->> iframe: Show iframe
iframe ->>+ MCP Server: Tool request
MCP Server -->>- iframe: Tool response
iframe ->>+ External resources: request
External resources -->>- iframe: response
- AI assistant calls MCP tool.
- MCP tool returns associated UI component resource in
_meta.ui.resourceUri. - AI assistant downloads associated resource.
- AI assistant shows resource contents as a webpage in iframe.
- iframe script calls MCP tool.
- MCP tool returns result to iframe
- iframe renders, external requests can optionally be made.
See the root CONTRIBUTING.md for guidelines.
Apache-2.0 — see LICENSE.