sceneview-mcp 3.4.13 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/sceneview-mcp?color=6c35aa)](https://www.npmjs.com/package/sceneview-mcp)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/sceneview-mcp?color=blue)](https://www.npmjs.com/package/sceneview-mcp)
7
- [![Tests](https://img.shields.io/badge/tests-612%20passing-brightgreen)](#quality)
7
+ [![Tests](https://img.shields.io/badge/tests-858%20passing-brightgreen)](#quality)
8
8
  [![MCP](https://img.shields.io/badge/MCP-v1.12-blue)](https://modelcontextprotocol.io/)
9
9
  [![Registry](https://img.shields.io/badge/MCP%20Registry-listed-blueviolet)](https://registry.modelcontextprotocol.io)
10
10
  [![License](https://img.shields.io/badge/License-MIT-green)](./LICENSE)
@@ -12,12 +12,24 @@
12
12
 
13
13
  The official [Model Context Protocol](https://modelcontextprotocol.io/) server for **[SceneView](https://sceneview.github.io)** -- the cross-platform 3D & AR SDK for Android (Jetpack Compose + Filament), iOS/macOS/visionOS (SwiftUI + RealityKit), and Web (Filament.js + WebXR).
14
14
 
15
- Connect it to Claude, Cursor, Windsurf, or any MCP client. The assistant gets 14 specialized tools, 33 compilable code samples, a full API reference, and a code validator -- so it writes correct, working 3D/AR code on the first try.
15
+ Connect it to Claude, Cursor, Windsurf, or any MCP client. The assistant gets 22 specialized tools, 33 compilable code samples, a full API reference, and a code validator -- so it writes correct, working 3D/AR code on the first try.
16
16
 
17
17
  > **Disclaimer:** Generated code is provided "as is" without warranty. Always review before production use. See [TERMS.md](./TERMS.md) and [PRIVACY.md](./PRIVACY.md).
18
18
 
19
19
  ---
20
20
 
21
+ ## 🚀 Pro Products
22
+
23
+ | Product | Price | Description |
24
+ |---------|-------|-------------|
25
+ | [MCP Creator Kit](https://buy.polar.sh/polar_cl_tb87ROB9Xn0c5aohdn3NvkTINDF1xjW5zpkg70UwmcF) | €29 | Everything to create your own MCP server — template, CLI, docs, examples |
26
+ | [SceneView Pro Starter Kit](https://buy.polar.sh/polar_cl_tb87ROB9Xn0c5aohdn3NvkTINDF1xjW5zpkg70UwmcF) | €49 | Complete Android 3D + AR app template — 4 screens, ready to customize |
27
+ | [SceneView MCP Pro](https://buy.polar.sh/polar_cl_tb87ROB9Xn0c5aohdn3NvkTINDF1xjW5zpkg70UwmcF) | €9.99/mo | Premium MCP tools and priority support |
28
+
29
+ ⭐ [Sponsor on GitHub](https://github.com/sponsors/sceneview) — Help us build the future of 3D/AR development
30
+
31
+ ---
32
+
21
33
  ## Quick start
22
34
 
23
35
  **One command -- no install required:**
@@ -72,7 +84,7 @@ Same JSON config as above. The server communicates via **stdio** using the stand
72
84
 
73
85
  ## What you get
74
86
 
75
- ### 14 tools
87
+ ### 22 tools
76
88
 
77
89
  | Tool | What it does |
78
90
  |---|---|
@@ -80,7 +92,7 @@ Same JSON config as above. The server communicates via **stdio** using the stand
80
92
  | `list_samples` | Browse all samples, filter by tag (`ar`, `3d`, `ios`, `animation`, `geometry`, ...) |
81
93
  | `validate_code` | Checks generated code against 15+ rules before presenting it to the user |
82
94
  | `get_node_reference` | Full API reference for any of 26+ node types -- exact signatures, defaults, examples |
83
- | `list_node_types` | List every composable node type available in SceneView |
95
+ | `list_platforms` | List all supported platforms with their status, renderer, and framework |
84
96
  | `get_setup` | Gradle + manifest setup for Android 3D or AR projects |
85
97
  | `get_ios_setup` | SPM dependency, Info.plist, and SwiftUI integration for iOS/macOS/visionOS |
86
98
  | `get_web_setup` | Kotlin/JS + Filament.js (WASM) setup for browser-based 3D |
@@ -91,6 +103,13 @@ Same JSON config as above. The server communicates via **stdio** using the stand
91
103
  | `get_platform_roadmap` | Multi-platform status and timeline (Android, iOS, KMP, Web, Desktop) |
92
104
  | `render_3d_preview` | Generates an interactive 3D preview link the user can open in their browser |
93
105
  | `create_3d_artifact` | Generates self-contained HTML artifacts (model viewer, 3D charts, product 360) |
106
+ | `get_platform_setup` | Unified setup guide for any platform (Android, iOS, Web, Flutter, React Native, Desktop, TV) |
107
+ | `migrate_code` | Automatically migrates SceneView 2.x code to 3.x with detailed changelog |
108
+ | `debug_issue` | Targeted debugging guide by category or auto-detected from problem description |
109
+ | `generate_scene` | Generates a complete composable from natural language (e.g., "a room with a table and two chairs") |
110
+ | `get_animation_guide` | Guide for model animations, Spring physics, Compose property animations, SmoothTransform |
111
+ | `get_gesture_guide` | Guide for gestures: isEditable, onTouchEvent, tap-to-place, drag-to-rotate, pinch-to-scale |
112
+ | `get_performance_tips` | Performance optimization: LOD, texture compression, instancing, profiling with Systrace/AGI |
94
113
 
95
114
  ### 2 resources
96
115
 
@@ -147,7 +166,7 @@ The assistant calls `render_3d_preview` and returns an interactive link to a bro
147
166
 
148
167
  ## Quality
149
168
 
150
- The MCP server is tested with **612 unit tests** across 14 test suites covering:
169
+ The MCP server is tested with **858 unit tests** across 22 test suites covering:
151
170
 
152
171
  - Every tool response (correct output, error handling, edge cases)
153
172
  - All 33 code samples (compilable structure, correct imports, no deprecated APIs)
@@ -156,9 +175,9 @@ The MCP server is tested with **612 unit tests** across 14 test suites covering:
156
175
  - Resource responses (API reference, GitHub issues integration)
157
176
 
158
177
  ```
159
- Test Files 14 passed (14)
160
- Tests 612 passed (612)
161
- Duration 491ms
178
+ Test Files 22 passed (22)
179
+ Tests 858 passed (858)
180
+ Duration 624ms
162
181
  ```
163
182
 
164
183
  All tools work **fully offline** except `sceneview://known-issues` (GitHub API, cached 10 min).
@@ -209,7 +228,7 @@ The only network call is to the GitHub API (for known issues). All other tools w
209
228
  cd mcp
210
229
  npm install
211
230
  npm run prepare # Copy llms.txt + build TypeScript
212
- npm test # 612 tests
231
+ npm test # 858 tests
213
232
  npm run dev # Start with tsx (hot reload)
214
233
  ```
215
234
 
@@ -218,7 +237,7 @@ npm run dev # Start with tsx (hot reload)
218
237
  ```
219
238
  mcp/
220
239
  src/
221
- index.ts # MCP server entry point (14 tools, 2 resources)
240
+ index.ts # MCP server entry point (22 tools, 2 resources)
222
241
  samples.ts # 33 compilable code samples (Kotlin + Swift)
223
242
  validator.ts # Code validator (15+ rules, Kotlin + Swift)
224
243
  node-reference.ts # Node type parser (extracts from llms.txt)
@@ -235,7 +254,7 @@ mcp/
235
254
  1. Fork the repository
236
255
  2. Create a feature branch
237
256
  3. Add tests for new tools or rules
238
- 4. Run `npm test` -- all 612+ tests must pass
257
+ 4. Run `npm test` -- all 858+ tests must pass
239
258
  5. Submit a pull request
240
259
 
241
260
  See [CONTRIBUTING.md](../CONTRIBUTING.md) for the full guide.