
Sceneview
io.github.sceneview由 GitHub 帳號 sceneview 發布v3.4.7更新於 Oct 24, 2026
3D & AR SDK for Android, iOS, Web — API docs, samples, validation, and code generation.
概覽
讓助理取得 SceneView 3D 與 AR SDK 的參考資料、程式碼驗證與範例程式碼,適用於 Android、Apple 與網頁應用程式。
- 可以做什麼
- SceneView MCP 伺服器把這套 3D 與 AR SDK 的 API 提供給助理。最常用的工具包括 validate_code(在執行前依真實公開 API 檢查程式碼片段)、get_node_reference(提供精確的節點簽章)、list_samples 與 get_sample(38 個範例起點),以及 get_setup 和 get_ar_setup(專案接線設定)。它也提供 llms.txt、規則檔案與技能,給不支援 MCP 的助理使用。
- 適用情境
- 當你為 Jetpack Compose、SwiftUI 或網頁撰寫 SceneView 程式碼,並希望助理產出符合真實 API、而非自行編造簽章的程式碼時使用。它鎖定想在不使用遊戲引擎的情況下加入宣告式 3D 或 AR 的應用程式開發者。
- 執行需求
- 透過 stdio 在本機執行,通常以 npx -y sceneview-mcp 啟動,因此需要 Node.js 與 npx。README 說明此服務免費且不需要 API 金鑰。對於只支援 HTTP 的用戶端,另提供 HTTP 端點。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Sceneview,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
SceneView
The AI-first 3D & AR SDK for Jetpack Compose, SwiftUI and the web.
Declarative 3D and AR for app developers who want a model on screen, or in the room, without a game engine: Filament + ARCore on Android, RealityKit + ARKit on Apple, Filament.js + WebXR in the browser — with Flutter, React Native and Compose Multiplatform bridges on top. Open source, Apache 2.0.
AI-first means one thing here: an assistant that reads llms.txt or
the MCP server writes SceneView code that works on the first try. When it doesn't, the
API or the doc gets fixed.
[Android 3D] [Android AR] [iOS / macOS / visionOS] [sceneview-web] [Flutter] [React Native] [MCP Server]
[CI] [License] [GitHub Stars] [Discord] [Open Collective]
Try it
[Get it on Google Play] [Download on the App Store] [Open the Web Playground]
The demo apps are built from samples/. Any demo opens straight from a link:
https://sceneview.github.io/open?demo=<id>. Start with
Cosmos, the galaxy the catalogue opens on, or
3D Scan, a space scanned with ARCore and rebuilt in 3D.
Help test the demos
Install the Android demo, record your screen while you use a demo, and tell us what breaks or confuses you: open an issue with the recording attached, or send it from the app (any demo, Settings, then Send feedback). Your first report unlocks SceneView Labs, early access to the experimental demos, straight away.
Quick start
One minimal, working example per platform. The full reference for each is in
llms.txt.
Android
The app module needs compileSdk = 37, minSdk 24 or higher, AGP 9.4.0+, Kotlin 2.4 and JVM
target 21 for both Java and Kotlin: SceneView ships Java 21 bytecode with public inline
functions. The quickstart requirements give the Gradle
snippet and the reason for each.
models/helmet.glb lives in src/main/assets/. rememberModelInstance returns null until the
model is loaded, then recomposes. Never call modelLoader.createModel* from a background
coroutine: Filament calls must run on the main thread, and rememberModelInstance handles that.
AR (Android)
Plane detected → anchor set → Compose recomposes → the model appears. AR state is just Kotlin
state. For placement without a tap, grounded and gesture-ready, start from
AutoPlacementScene (see llms.txt).
arsceneview already declares the CAMERA permission and marks ARCore as optional. An AR
Optional app declares android.hardware.camera.ar and android.hardware.camera as
<uses-feature … android:required="false" />; an AR Required app overrides the ARCore value
with tools:replace="android:value". Both snippets are in the
AR manifest section.
iOS / macOS / visionOS (SwiftUI)
Swift Package Manager: https://github.com/sceneview/sceneview.git, from 4.63.0.
The content closure runs once unless its .contentID(_:) changes: without that line, a model
that finishes loading after the scene appears is never added.
Web
Compose Multiplatform (Android · iOS · desktop)
A viewer by design — load, orbit, light, tap; no AR. Scope and the one-time iOS setup:
sceneview-compose/.
Flutter
React Native
Flutter and React Native bridge a subset of the native API — see
flutter/ and
react-native/ for what is covered.
Your AI assistant
Then ask: "Add a 3D model viewer to my Compose screen." Every other client is in Use with AI.
Runs on
Each row is a published package plus an app or page you can open today, backed by a real capture of it.
Shipped means released and publicly reachable; the second word is the API maturity. The other platforms in the table below join this section once a capture backs them.
Platforms
Install
Use with AI
Everything an assistant needs to write SceneView code ships with the SDK:
llms.txt— the complete API reference in one file: composables, every node type, threading rules, recipes. Its Kotlin snippets are compiled in CI. Served athttps://sceneview.github.io/llms.txtfor tools without MCP support.- Rules files —
AGENTS.md(Codex, Cursor, GitHub Copilot, Gemini in Android Studio and others),CLAUDE.md(Claude Code),.github/copilot-instructions.md, and.cursorrulesfor older Cursor versions. - The MCP server — free, no API key. The tools assistants reach for most:
validate_code(checks a snippet for known pitfalls and unknown symbols before you run it; it does not check argument names),get_node_reference(the exact node signature, not an invented one),list_samples/get_sample(38 samples to start from), andget_setup/get_ar_setup(project wiring).
MCP setup
Clients that only speak HTTP (Gemini in Android Studio, ChatGPT) use the hosted endpoint
https://mcp.sceneview.dev/mcp, or run their own with npx sceneview-mcp --http. Per-client
snippets: sceneview.github.io/#ai-setup. Listed on the
MCP Registry.
ChatGPT / Codex plugin
This repository is also an OpenAI plugin: .codex-plugin/plugin.json points at the three
skills under agents/ (sceneview, sceneview-ios, sceneview-web). From a
checkout:
Codex also discovers the skills from .agents/skills/ on its own. Over HTTP the MCP server
carries an inline view_3d_model widget that renders a public GLB/glTF URL in the
conversation. Listing copy and test prompts: agents/OPENAI-PLUGIN.md.
Claude Code plugin
/plugin marketplace add sceneview/claude-marketplace, then /plugin install sceneview@sceneview,
installs the same three skills as the Codex plugin together with the MCP server. The commands used
to work on this repository are a separate plugin, sceneview-contrib@sceneview — see
sceneview/claude-marketplace.
Vertical MCP servers (Rerun AR debugging and others) are listed in the MCP README.
Android in depth
3D scene
SceneView is a composable that renders a Filament viewport. Nodes are composables inside it.
Node composables — 27 in 3D, 15 more in AR
AR scene
ARSceneView is SceneView with ARCore: the camera follows real-world tracking. See the
AR quick start above.
Capabilities
Model formats
There is no per-format API on Android: rememberModelInstance(modelLoader, path) accepts all of
them. On Apple, RealityKit reads no glTF, so .gltf / .glb are deliberately not in
ModelFormat; USD/Reality load through RealityKit and the mesh formats through MeshAsset. The format is decided by the file's bytes, not its extension, so a file shared into your
app as application/octet-stream with no name still opens. The converters are dependency-free
Kotlin in sceneview-core. Tracked next:
one ModelFormat entry point and
every format on the web. Details:
Model formats.
Apple (iOS / macOS / visionOS)
Native Swift Package built on RealityKit, with a node set mirroring the Android API. Content you
can build synchronously uses the @NodeBuilder form:
AR on iOS — tap a detected plane to place content:
Nodes — ModelNode · GeometryNode (cube/sphere/cylinder/cone/torus/capsule/plane) ·
LightNode · ImageNode · VideoNode · TextNode · ViewNode · BillboardNode · MeshNode ·
LineNode · PathNode · ShapeNode · PhysicsNode · ReflectionProbeNode · DynamicSkyNode ·
FogNode · CameraNode · AnchorNode · AugmentedImageNode · SceneReconstructionNode
(visionOS scene mesh). Plus an iOS RerunBridge with the same wire format as Android.
Full guide: SceneViewSwift/README.md.
SceneView Web
Two <script> tags and one call (see Web above). The wrapper is ~24 KB gzipped; the
engine it drives is Filament — the same renderer as Android SceneView — compiled to WebAssembly
(~2.3 MB gzipped).
JavaScript API (script tag):
SceneView.modelViewer(canvasOrId, url, options?)— all-in-one viewer with orbit + auto-rotateSceneView.create(canvasOrId, options?)— empty viewer, load a model laterviewer.loadModel(url)— load or replace a glTF/GLB modelviewer.setAutoRotate(enabled)— toggle rotationviewer.dispose()— release resources
Kotlin/JS (sceneview-web, npm only) — the power-user API: OrbitCameraController, the
geometry DSL, reactive node updates, and WebXR through ARSceneView (immersive-ar,
hit-test, anchors, light estimation), VRSceneView (immersive-vr, controllers) and the
low-level WebXRSession. The module builds a webpack bundle, so it has no Maven coordinate:
The package expects a Filament global and does not include the SceneView.modelViewer script
helpers. A Kotlin Multiplatform project that only needs the shared core (collision, math,
geometry, animation, physics — no renderer) uses
implementation("io.github.sceneview:sceneview-core-js:4.65.0").
Landing page · Playground · npm
The Compose-native successor to Sceneform
Google archived Sceneform in 2021 and ships
no first-party declarative AR renderer. SceneView descends from the maintained Sceneform
community fork: ARCore for perception, Filament for rendering, Jetpack Compose for the API, and
glTF (.glb / .gltf) instead of the deprecated .sfb format.
Coming from Sceneform? The migration guide maps it
concept by concept (ArFragment → ARSceneView { }, ModelRenderable →
rememberModelInstance, and so on).
AR debugging
- Record & Replay — capture an ARCore session once with
rememberARRecorder(), replay it 1:1 at your desk withARSceneView(playbackDataset = file). Seedocs/docs/ar-recording.mdand the Record & Playback demo. - Hosted Rerun viewer — export a scan's Rerun recording from the 3D Scan demo, host the
.rrdfile at an https address that ends in.rrd, and openhttps://sceneview.github.io/rerun/?url=<encoded-url>to scrub the session frame by frame in a browser, with no local install. The host has to allow cross-origin requests (CORS): a public GitHub repository'sraw.githubusercontent.comlink and GitHub Pages do, a GitHub release asset does not (checked 2026-10-13); an R2 or S3 bucket does with a CORS rule that allowshttps://sceneview.github.io. Architecture and the Kotlin API (RerunBridge.requestSaveAndShare) are in the AR Debug — Rerun.io section ofllms.txt.
Architecture
Each platform uses its native renderer. Shared logic lives in Kotlin Multiplatform.
Samples
Built with SceneView
- 3D AR Model Viewer — open a 3D file from any app or link (GLB, glTF, STL, OBJ, PLY, 3MF) and see it in your room at real size.
- Will It Fit — enter a piece of furniture's dimensions and see whether it fits before you buy.
Maintainer
Thomas Gorisse — Mobile SDKs and the AI agent pipeline behind them · Creator of SceneView, open-source 3D & AR
Links
Sponsors
SceneView runs in commercial products. Sponsor it or buy support.
Commercial products ship SceneView. Almost nobody contributes back, in code or in funding, while the maintainers carry every fix and every release. If SceneView is part of your product, sponsor it or buy support, now.
Sponsor. Funds the fixes, Filament upgrades and releases your product depends on. Open Source Collective issues the invoice and the receipt; your company is listed nowhere unless you ask.
Sponsor on Open Collective · or through GitHub Sponsors
Commercial support.
- Incident, $600. One reproducible problem. Within 3 business days: a minimal reproduction, the cause, and a workaround or a costed fix.
- 2.3 LTS, $1,800 for 90 days. One identified integration. Answers within 2 business days and up to 1 day of work a month; more work is quoted. The $600 of an Incident already bought is deducted.
Contracted and invoiced through Open Source Collective, the fiscal host; the money goes to the collective's budget. Payment comes before any work. Every version stays under Apache 2.0. Write to [email protected].
[Logos of the companies sponsoring SceneView on Open Collective]
[Avatars of the people backing SceneView on Open Collective]
來源:README.md,提交 828f3a1
工具
0版本歷史
1- v3.4.7最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
