Use SceneView with your AI coding agent¶
Give your coding agent the SceneView 4.x Compose API, rules, and MCP tools so it writes compilable 3D and AR code on the first try. Every option below uses the same sceneview-mcp server (npx -y sceneview-mcp) and the same 4.x API contract (https://sceneview.github.io/llms.txt).
SceneView targets Android (Jetpack Compose), the web and Compose Multiplatform desktop. On iOS, use Apple's RealityKit (or AR Quick Look to show a .usdz in AR) — SceneView has no maintained iOS SDK. For one codebase across platforms, use SceneView for the web (sceneview-web) or Compose Multiplatform (sceneview-compose, viewer only).
Claude Code¶
Install the SceneView plugin from the marketplace (the Android and web skills; the plugin starts no server):
Then add the MCP server for live tools such as validate_code and the samples:
Add -s user to enable it across all projects (~/.claude.json), or -s project to write a shared .mcp.json at your repository root.
Codex¶
Add sceneview-mcp to ~/.codex/config.toml (shared by the Codex CLI, IDE extension, and app):
Or add the same entry from the CLI:
To also install the bundled Codex plugin (skills + MCP server) from a local clone of sceneview/sceneview:
Pass an absolute path ("$PWD"): a relative path does not resolve. Inside a checkout of sceneview/sceneview, Codex also picks up the skills automatically via .agents/skills/.
Cursor¶
-
Install the MCP server — click to open the pre-filled install dialog in Cursor:
Or add it manually to
.cursor/mcp.json(one project) or~/.cursor/mcp.json(all projects): -
Add the SceneView rule to your project — copy
agents/cursor/sceneview.mdcinto.cursor/rules/:mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/sceneview/sceneview/main/agents/cursor/sceneview.mdc -o .cursor/rules/sceneview.mdcThe rule scopes to
**/*.kt, **/*.ktswithalwaysApply: falseso Cursor loads it when working on Kotlin files.
Gemini CLI¶
Install the repository as a Gemini CLI extension (registers sceneview-mcp and loads agents/AGENTS-snippet.md via gemini-extension.json):
Prefer not to clone the repository? Add sceneview-mcp directly to ~/.gemini/settings.json:
Any AGENTS.md tool (Junie, Cline, GitHub Copilot, Windsurf, …)¶
Paste agents/AGENTS-snippet.md into your project's AGENTS.md (or CLAUDE.md, GEMINI.md, or .github/copilot-instructions.md).
For tool access (API lookup, samples, validate_code), connect npx -y sceneview-mcp in your client — see AI-Assisted Development for per-client JSON paths. For assistants without MCP support, point them at:
- Complete API reference:
https://sceneview.github.io/llms.txt - Compact overview (~15 kB):
https://sceneview.github.io/llms-full.txt